OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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.
 
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

◆ stag_create_and_add_grid()

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.

Member Function Documentation

◆ operator()()

template<unsigned int dim, typename st_grid , typename St >
template<typename T >
void stag_create_and_add_grid< dim, st_grid, St >::operator() ( T &  t)
inline

It call the copy function for each property.

Definition at line 765 of file staggered_dist_grid_util.hpp.

◆ out_normal()

template<unsigned int dim, typename st_grid , typename St >
template<unsigned int p_val>
void stag_create_and_add_grid< dim, st_grid, St >::out_normal ( )
inline

Definition at line 681 of file staggered_dist_grid_util.hpp.

◆ out_staggered()

template<unsigned int dim, typename st_grid , typename St >
template<unsigned int p_val>
void stag_create_and_add_grid< dim, st_grid, St >::out_staggered ( )
inline

Definition at line 723 of file staggered_dist_grid_util.hpp.

Field Documentation

◆ p_id

template<unsigned int dim, typename st_grid , typename St >
size_t stag_create_and_add_grid< dim, st_grid, St >::p_id
private

Definition at line 664 of file staggered_dist_grid_util.hpp.

◆ st_g

template<unsigned int dim, typename st_grid , typename St >
st_grid& stag_create_and_add_grid< dim, st_grid, St >::st_g
private

Definition at line 667 of file staggered_dist_grid_util.hpp.


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