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

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

Detailed Description

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

#include <VTKWriter_dist_graph.hpp>

Public Member Functions

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

Data Fields

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

Constructor & Destructor Documentation

◆ dist_prop_out_edge()

template<typename Graph >
dist_prop_out_edge< Graph >::dist_prop_out_edge ( std::string &  e_out,
const Graph &  g 
)
inline

constructor

Parameters
e_outstring to fill with the edge properties
ggraph to write

Definition at line 871 of file VTKWriter_dist_graph.hpp.

Member Function Documentation

◆ operator()()

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

It produce an output for each property.

Parameters
tindex property

Definition at line 881 of file VTKWriter_dist_graph.hpp.

Field Documentation

◆ e_out

template<typename Graph >
std::string& dist_prop_out_edge< Graph >::e_out

property output string

Definition at line 860 of file VTKWriter_dist_graph.hpp.

◆ g

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

Graph that we are processing.

Definition at line 863 of file VTKWriter_dist_graph.hpp.


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