this class is a functor for "for_each" algorithm More...
this class is a functor for "for_each" algorithm
This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to produce at output for each property
| ele_g | element that store the grid and its attributes |
| St | type of space where the grid live |
Definition at line 58 of file VTKWriter_grids.hpp.
#include <VTKWriter_grids.hpp>
Public Member Functions | |
| prop_out_g (std::string &v_out, const openfpm::vector_std< ele_g > &vg, const openfpm::vector< std::string > &prop_names, file_type ft) | |
| constructor | |
| template<typename T > | |
| void | operator() (T &t) const |
| void | lastProp () |
| Write the last property. | |
Data Fields | |
| std::string & | v_out |
| property output string | |
| const openfpm::vector_std< ele_g > & | vg |
| grid that we are processing | |
| file_type | ft |
| File type. | |
| const openfpm::vector< std::string > & | prop_names |
| list of names for the properties | |
|
inline |
constructor
| v_out | string to fill with the vertex properties |
| vg | vector of elements to write |
| prop_names | properties name |
| ft | file type |
Definition at line 80 of file VTKWriter_grids.hpp.
|
inline |
|
inline |
It produce an output for each propert
| t | prop-id |
Definition at line 90 of file VTKWriter_grids.hpp.
| file_type prop_out_g< ele_g, St >::ft |
File type.
Definition at line 67 of file VTKWriter_grids.hpp.
| const openfpm::vector<std::string>& prop_out_g< ele_g, St >::prop_names |
list of names for the properties
Definition at line 70 of file VTKWriter_grids.hpp.
| std::string& prop_out_g< ele_g, St >::v_out |
property output string
Definition at line 61 of file VTKWriter_grids.hpp.
| const openfpm::vector_std< ele_g >& prop_out_g< ele_g, St >::vg |
grid that we are processing
Definition at line 64 of file VTKWriter_grids.hpp.