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

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

Detailed Description

template<typename Graph>
struct dist_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 799 of file VTKWriter_dist_graph.hpp.

#include <VTKWriter_dist_graph.hpp>

Public Member Functions

 dist_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

◆ dist_prop_out_vertex()

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

constructor

Parameters
v_outstring to fill with the vertex properties
ggraph to process

Definition at line 813 of file VTKWriter_dist_graph.hpp.

Member Function Documentation

◆ operator()()

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

It produce an output for each property.

Parameters
tproperty id

Definition at line 824 of file VTKWriter_dist_graph.hpp.

Field Documentation

◆ g

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

Graph that we are processing.

Definition at line 805 of file VTKWriter_dist_graph.hpp.

◆ v_out

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

property output string

Definition at line 802 of file VTKWriter_dist_graph.hpp.


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