OpenFPM_io  0.2.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Functions Variables Typedefs
prop_out_g< ele_g, St > Struct Template Reference

this class is a functor for "for_each" algorithm More...

#include <VTKWriter_grids.hpp>

Public Member Functions

 prop_out_g (std::string &v_out, const openfpm::vector_std< ele_g > &vg)
 constructor More...
 
template<typename T >
void operator() (T &t) const
 It produce an output for each property.
 
void lastProp ()
 

Data Fields

std::string & v_out
 
const openfpm::vector_std
< ele_g > & 
vg
 

Detailed Description

template<typename ele_g, typename St>
struct prop_out_g< ele_g, St >

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

Template Parameters
ele_gelement that store the grid and its attributes
Parameters
Sttype of space where the grid live

Definition at line 57 of file VTKWriter_grids.hpp.

Constructor & Destructor Documentation

template<typename ele_g, typename St>
prop_out_g< ele_g, St >::prop_out_g ( std::string &  v_out,
const openfpm::vector_std< ele_g > &  vg 
)
inline

constructor

Parameters
v_outstring to fill with the vertex properties

Definition at line 70 of file VTKWriter_grids.hpp.

Member Function Documentation

template<typename ele_g, typename St>
void prop_out_g< ele_g, St >::lastProp ( )
inline

Get a vertex iterator

Definition at line 83 of file VTKWriter_grids.hpp.


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