OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
vtk_dist_edge_node< G > Struct Template Reference

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

Detailed Description

template<typename G>
struct vtk_dist_edge_node< G >

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 create a string containing all the edge properties

Definition at line 202 of file VTKWriter_dist_graph.hpp.

#include <VTKWriter_dist_graph.hpp>

Public Member Functions

 vtk_dist_edge_node (std::string &e_node, typename G::E_container &n_obj)
 Constructor. More...
 
void new_node (size_t vc, size_t s, size_t d)
 Create an edge. More...
 

Data Fields

G::E_container & vo
 Vertex object container.
 
std::string & e_node
 edge node string
 

Constructor & Destructor Documentation

template<typename G >
vtk_dist_edge_node< G >::vtk_dist_edge_node ( std::string &  e_node,
typename G::E_container &  n_obj 
)
inline

Constructor.

Create an edge node

Parameters
e_nodestd::string that is filled with the graph properties in the GraphML format
n_objobject container to access the object properties for example encapc<...>

Definition at line 218 of file VTKWriter_dist_graph.hpp.

Member Function Documentation

template<typename G >
void vtk_dist_edge_node< G >::new_node ( size_t  vc,
size_t  s,
size_t  d 
)
inline

Create an edge.

Parameters
vcnode id
ssource node
ddestination node

Definition at line 230 of file VTKWriter_dist_graph.hpp.


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