OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
ele_g_st< Grid, St > Class Template Reference

convert a staggered element into a string for vtk write More...

Detailed Description

template<typename Grid, typename St>
class ele_g_st< Grid, St >

convert a staggered element into a string for vtk write

Template Parameters
Gridtype of the grid
Stspace type

Definition at line 101 of file VTKWriter_grids_st.hpp.

#include <VTKWriter_grids_st.hpp>

Public Types

typedef Grid value_type
 grid type
 

Public Member Functions

 ele_g_st ()
 constructor
 
 ele_g_st (const Point< Grid::dims, St > &offset, const Point< Grid::dims, St > &spacing, const Box< Grid::dims, St > &dom)
 convert a staggered grid property into a string
 
 ele_g_st (const ele_g_st &ele)
 Copy constructor.
 
 ele_g_st (ele_g_st &&ele)
 Copy constructor.
 
ele_g_st< Grid, St > & operator= (const ele_g_st &ele)
 Copy the object.
 
ele_g_st< Grid, St > & operator= (ele_g_st &&ele)
 Copy the object.
 

Data Fields

std::string dataset
 output string
 
openfpm::vector< cell_grid< Grid > > g
 fused grids
 
Point< Grid::dims, St > offset
 offset where it start the grid
 
Point< Grid::dims, St > spacing
 spacing of the grid
 
Box< Grid::dims, size_t > dom
 Part of the grid that is real domain.
 

Member Typedef Documentation

◆ value_type

template<typename Grid , typename St >
typedef Grid ele_g_st< Grid, St >::value_type

grid type

Definition at line 106 of file VTKWriter_grids_st.hpp.

Constructor & Destructor Documentation

◆ ele_g_st() [1/4]

template<typename Grid , typename St >
ele_g_st< Grid, St >::ele_g_st ( )
inline

constructor

Definition at line 109 of file VTKWriter_grids_st.hpp.

◆ ele_g_st() [2/4]

template<typename Grid , typename St >
ele_g_st< Grid, St >::ele_g_st ( const Point< Grid::dims, St > &  offset,
const Point< Grid::dims, St > &  spacing,
const Box< Grid::dims, St > &  dom 
)
inline

convert a staggered grid property into a string

Parameters
offsetshift of the staggered element
spacingof the grid
domPart of the grid that is real domain

Definition at line 118 of file VTKWriter_grids_st.hpp.

◆ ele_g_st() [3/4]

template<typename Grid , typename St >
ele_g_st< Grid, St >::ele_g_st ( const ele_g_st< Grid, St > &  ele)
inline

Copy constructor.

Parameters
eleelement to copy

Definition at line 140 of file VTKWriter_grids_st.hpp.

◆ ele_g_st() [4/4]

template<typename Grid , typename St >
ele_g_st< Grid, St >::ele_g_st ( ele_g_st< Grid, St > &&  ele)
inline

Copy constructor.

Parameters
eleelement to copy

Definition at line 150 of file VTKWriter_grids_st.hpp.

Member Function Documentation

◆ operator=() [1/2]

template<typename Grid , typename St >
ele_g_st< Grid, St > & ele_g_st< Grid, St >::operator= ( const ele_g_st< Grid, St > &  ele)
inline

Copy the object.

Parameters
eleele_g_st to copy
Returns
itself

Definition at line 162 of file VTKWriter_grids_st.hpp.

◆ operator=() [2/2]

template<typename Grid , typename St >
ele_g_st< Grid, St > & ele_g_st< Grid, St >::operator= ( ele_g_st< Grid, St > &&  ele)
inline

Copy the object.

Parameters
eleele_g_st to copy
Returns
itself

Definition at line 180 of file VTKWriter_grids_st.hpp.

Field Documentation

◆ dataset

template<typename Grid , typename St >
std::string ele_g_st< Grid, St >::dataset

output string

Definition at line 125 of file VTKWriter_grids_st.hpp.

◆ dom

template<typename Grid , typename St >
Box<Grid::dims,size_t> ele_g_st< Grid, St >::dom

Part of the grid that is real domain.

Definition at line 133 of file VTKWriter_grids_st.hpp.

◆ g

template<typename Grid , typename St >
openfpm::vector<cell_grid<Grid> > ele_g_st< Grid, St >::g

fused grids

Definition at line 127 of file VTKWriter_grids_st.hpp.

◆ offset

template<typename Grid , typename St >
Point<Grid::dims,St> ele_g_st< Grid, St >::offset

offset where it start the grid

Definition at line 129 of file VTKWriter_grids_st.hpp.

◆ spacing

template<typename Grid , typename St >
Point<Grid::dims,St> ele_g_st< Grid, St >::spacing

spacing of the grid

Definition at line 131 of file VTKWriter_grids_st.hpp.


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