OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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
 
 cell_grid (const cell_grid< Grid > &cg)
 copy contructor
 
 cell_grid (cell_grid< Grid > &&cg)
 copy constructor
 
cell_grid< Grid > & operator= (const cell_grid< Grid > &cg)
 Copy the cell grid.
 
cell_grid< Grid > & operator= (cell_grid< Grid > &&cg)
 Copy the cell grid.
 

Data Fields

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

Constructor & Destructor Documentation

◆ cell_grid() [1/4]

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

Definition at line 32 of file VTKWriter_grids_st.hpp.

◆ cell_grid() [2/4]

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.

◆ cell_grid() [3/4]

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.

◆ cell_grid() [4/4]

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

◆ operator=() [1/2]

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.

◆ operator=() [2/2]

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.

Field Documentation

◆ cmb

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.

◆ grids

template<typename Grid >
openfpm::vector<const Grid *> cell_grid< Grid >::grids

vector of fused grids

Definition at line 26 of file VTKWriter_grids_st.hpp.


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