OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
cell_grid< Grid > Struct Template Reference

for each combination in the cell grid you can have different grids More...

Detailed Description

template<typename Grid>
struct cell_grid< Grid >

for each combination in the cell grid you can have different grids

Template Parameters
Gridtype of grid

Definition at line 23 of file VTKWriter_grids_st.hpp.

#include <VTKWriter_grids_st.hpp>

Public Member Functions

 cell_grid (const comb< Grid::dims > &cmb)
 construct a cell grid More...
 
 cell_grid (const cell_grid< Grid > &cg)
 copy contructor More...
 
 cell_grid (cell_grid< Grid > &&cg)
 copy constructor More...
 
cell_grid< Grid > & operator= (const cell_grid< Grid > &cg)
 Copy the cell grid. More...
 
cell_grid< Grid > & operator= (cell_grid< Grid > &&cg)
 Copy the cell grid. More...
 

Data Fields

openfpm::vector< const Grid * > grids
 vector of fused grids
 
comb< Grid::dims > cmb
 

Constructor & Destructor Documentation

template<typename Grid>
cell_grid< Grid >::cell_grid ( const comb< Grid::dims > &  cmb)
inline

construct a cell grid

Parameters
cmbin which position this grid live

Definition at line 39 of file VTKWriter_grids_st.hpp.

template<typename Grid>
cell_grid< Grid >::cell_grid ( const cell_grid< Grid > &  cg)
inline

copy contructor

Parameters
cgelement to copy

Definition at line 48 of file VTKWriter_grids_st.hpp.

template<typename Grid>
cell_grid< Grid >::cell_grid ( cell_grid< Grid > &&  cg)
inline

copy constructor

Parameters
cgelement to copy

Definition at line 58 of file VTKWriter_grids_st.hpp.

Member Function Documentation

template<typename Grid>
cell_grid<Grid>& cell_grid< Grid >::operator= ( const cell_grid< Grid > &  cg)
inline

Copy the cell grid.

Parameters
cgcell_grid to copy
Returns
itself

Definition at line 70 of file VTKWriter_grids_st.hpp.

template<typename Grid>
cell_grid<Grid>& cell_grid< Grid >::operator= ( cell_grid< Grid > &&  cg)
inline

Copy the cell grid.

Parameters
cgcell_grid to copy
Returns
itself

Definition at line 85 of file VTKWriter_grids_st.hpp.

Field Documentation

template<typename Grid>
comb<Grid::dims> cell_grid< Grid >::cmb

combination (used to calculate the grid shift from the starting point of the cell)

Definition at line 30 of file VTKWriter_grids_st.hpp.


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