OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
prop_out_vertex< Graph > Struct Template Reference

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

Detailed Description

template<typename Graph>
struct prop_out_vertex< Graph >

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
Graphgraph we are processing
Parameters
dimDimensionality
Stype of grid

Definition at line 806 of file VTKWriter_graph.hpp.

#include <VTKWriter_graph.hpp>

Public Member Functions

 prop_out_vertex (std::string &v_out, const Graph &g)
 constructor
 
template<typename T >
void operator() (T &t) const
 It produce an output for each property.
 

Data Fields

std::string & v_out
 property output string
 
const Graph & g
 Graph that we are processing.
 

Constructor & Destructor Documentation

◆ prop_out_vertex()

template<typename Graph >
prop_out_vertex< Graph >::prop_out_vertex ( std::string &  v_out,
const Graph &  g 
)
inline

constructor

Parameters
v_outstring to fill with the vertex properties
ggraph to output

Definition at line 820 of file VTKWriter_graph.hpp.

Member Function Documentation

◆ operator()()

template<typename Graph >
template<typename T >
void prop_out_vertex< Graph >::operator() ( T &  t) const
inline

It produce an output for each property.

Parameters
tproperty id

Definition at line 832 of file VTKWriter_graph.hpp.

Field Documentation

◆ g

template<typename Graph >
const Graph& prop_out_vertex< Graph >::g

Graph that we are processing.

Definition at line 812 of file VTKWriter_graph.hpp.

◆ v_out

template<typename Graph >
std::string& prop_out_vertex< Graph >::v_out

property output string

Definition at line 809 of file VTKWriter_graph.hpp.


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