OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
AlgoimWrapper< wrapping_field, grid_type, wrapping_field_type > Struct Template Reference

Detailed Description

template<size_t wrapping_field, typename grid_type, typename wrapping_field_type = typename boost::mpl::at<typename grid_type::value_type::type,boost::mpl::int_<wrapping_field>>::type>
struct AlgoimWrapper< wrapping_field, grid_type, wrapping_field_type >
Template Parameters
wrapping_fieldProperty id on the grid for the field to be wrapped
grid_typeType of the grid container

Definition at line 35 of file closest_point.hpp.

#include <closest_point.hpp>

Public Member Functions

 AlgoimWrapper (grid_type &ls_grid, const int pid)
 
double operator() (const blitz::TinyVector< int, dim > idx) const
 Call operator for the wrapper.
 
template<size_t extend_field_temp, int poly_order, typename coord_type , typename dx_type , typename pos_type , typename key_type >
void extend (coord_type coord, dx_type dx, pos_type pos, key_type key)
 

Data Fields

grid_typegd
 
int patch_id
 

Static Public Attributes

static const unsigned int dim = grid_type::dims
 

Constructor & Destructor Documentation

◆ AlgoimWrapper()

template<size_t wrapping_field, typename grid_type , typename wrapping_field_type = typename boost::mpl::at<typename grid_type::value_type::type,boost::mpl::int_<wrapping_field>>::type>
AlgoimWrapper< wrapping_field, grid_type, wrapping_field_type >::AlgoimWrapper ( grid_type ls_grid,
const int  pid 
)
inline

Definition at line 40 of file closest_point.hpp.

Member Function Documentation

◆ extend()

template<size_t wrapping_field, typename grid_type , typename wrapping_field_type = typename boost::mpl::at<typename grid_type::value_type::type,boost::mpl::int_<wrapping_field>>::type>
template<size_t extend_field_temp, int poly_order, typename coord_type , typename dx_type , typename pos_type , typename key_type >
void AlgoimWrapper< wrapping_field, grid_type, wrapping_field_type >::extend ( coord_type  coord,
dx_type  dx,
pos_type  pos,
key_type  key 
)
inline

Definition at line 59 of file closest_point.hpp.

◆ operator()()

template<size_t wrapping_field, typename grid_type , typename wrapping_field_type = typename boost::mpl::at<typename grid_type::value_type::type,boost::mpl::int_<wrapping_field>>::type>
double AlgoimWrapper< wrapping_field, grid_type, wrapping_field_type >::operator() ( const blitz::TinyVector< int, dim >  idx) const
inline

Call operator for the wrapper.

Definition at line 43 of file closest_point.hpp.

Field Documentation

◆ dim

template<size_t wrapping_field, typename grid_type , typename wrapping_field_type = typename boost::mpl::at<typename grid_type::value_type::type,boost::mpl::int_<wrapping_field>>::type>
const unsigned int AlgoimWrapper< wrapping_field, grid_type, wrapping_field_type >::dim = grid_type::dims
static

Definition at line 37 of file closest_point.hpp.

◆ gd

template<size_t wrapping_field, typename grid_type , typename wrapping_field_type = typename boost::mpl::at<typename grid_type::value_type::type,boost::mpl::int_<wrapping_field>>::type>
grid_type& AlgoimWrapper< wrapping_field, grid_type, wrapping_field_type >::gd

Definition at line 38 of file closest_point.hpp.

◆ patch_id

template<size_t wrapping_field, typename grid_type , typename wrapping_field_type = typename boost::mpl::at<typename grid_type::value_type::type,boost::mpl::int_<wrapping_field>>::type>
int AlgoimWrapper< wrapping_field, grid_type, wrapping_field_type >::patch_id

Definition at line 39 of file closest_point.hpp.


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