OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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.
 
void new_node (size_t vc, size_t s, size_t d)
 Create an edge.
 

Data Fields

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

Constructor & Destructor Documentation

◆ vtk_dist_edge_node()

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

◆ new_node()

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.

Field Documentation

◆ e_node

template<typename G >
std::string& vtk_dist_edge_node< G >::e_node

edge node string

Definition at line 208 of file VTKWriter_dist_graph.hpp.

◆ vo

template<typename G >
G::E_container& vtk_dist_edge_node< G >::vo

Vertex object container.

Definition at line 205 of file VTKWriter_dist_graph.hpp.


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