STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::regular_mesh_cell_neighbor< DOM, N > Struct Template Reference

Functor that computes the index of a neighboring cell and the direction in which it lies from the cell provided. More...

Public Member Functions

result_type operator() (DOM const &dom, tuple_type const &t1, size_t idx) const
 

Public Types

typedef DOM::tuple_type tuple_type
 
typedef regular_face_property< tuple_size< tuple_type >::value >::normal_type normal_type
 
typedef std::pair< tuple_type, normal_typeresult_type
 

Detailed Description

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
DOMmesh domain type.
Nmesh dimension.

Member Function Documentation

◆ operator()()

template<typename DOM , int N>
result_type stapl::regular_mesh_cell_neighbor< DOM, N >::operator() ( DOM const &  dom,
tuple_type const &  t1,
size_t  idx 
) const
Parameters
dommesh domain.
t1cell index.
idxneighbor index
Returns
pair with neighboring cell position and normal.

The documentation for this struct was generated from the following file: