OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
stag_create_and_add_grid< dim, st_grid, St > Class Template Reference

It create separated grid for each properties to write them into a file. More...

Detailed Description

template<unsigned int dim, typename st_grid, typename St>
class stag_create_and_add_grid< dim, st_grid, St >

It create separated grid for each properties to write them into a file.

Template Parameters
dimdimensionality of the grids
objtype object to print, must be in OpenFPM format

Definition at line 661 of file staggered_dist_grid_util.hpp.

#include <staggered_dist_grid_util.hpp>

Public Member Functions

 stag_create_and_add_grid (st_grid &st_g, size_t p_id)
 Constructor. More...
 
template<unsigned int p_val>
void out_normal ()
 
template<unsigned int p_val>
void out_staggered ()
 
template<typename T >
void operator() (T &t)
 It call the copy function for each property.
 

Private Attributes

size_t p_id
 
st_grid & st_g
 

Constructor & Destructor Documentation

template<unsigned int dim, typename st_grid, typename St>
stag_create_and_add_grid< dim, st_grid, St >::stag_create_and_add_grid ( st_grid &  st_g,
size_t  p_id 
)
inline

Constructor.

Parameters
st_gstaggered grid
p_idprocess id

Definition at line 677 of file staggered_dist_grid_util.hpp.


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