Functor that computes the index of a neighboring cell and the direction in which it lies from the cell provided.
More...
|
result_type | operator() (DOM const &dom, tuple_type const &t1, size_t idx) const |
|
template<typename DOM, int N>
struct stapl::regular_mesh_cell_neighbor< DOM, N >
Functor that computes the index of a neighboring cell and the direction in which it lies from the cell provided.
- Template Parameters
-
DOM | mesh domain type. |
N | mesh dimension. |
◆ operator()()
template<typename DOM , int N>
- Parameters
-
dom | mesh domain. |
t1 | cell index. |
idx | neighbor index |
- Returns
- pair with neighboring cell position and normal.
The documentation for this struct was generated from the following file:
- implicit_regular_mesh.hpp