VTK
|
#include "vtkBoostGraphAdapter.h"
#include <vtksys/stl/map>
#include <boost/graph/use_mpi.hpp>
#include <boost/graph/distributed/mpi_process_group.hpp>
#include <boost/graph/properties.hpp>
#include <boost/graph/parallel/container_traits.hpp>
#include <boost/property_map/parallel/local_property_map.hpp>
#include <boost/property_map/parallel/distributed_property_map.hpp>
#include <boost/serialization/base_object.hpp>
#include <boost/functional/hash.hpp>
#include "vtkPBGLDistributedGraphHelper.h"
#include "vtkVariantBoostSerialization.h"
Go to the source code of this file.
Namespaces | |
boost | |
Forward declaration required for Boost serialization. | |
boost::graph | |
boost::graph::parallel | |
Macros | |
#define | SUBCLASS_PROPERTY_MAP_SPECIALIZATIONS(Property) |
Typedefs | |
typedef boost::local_property_map< boost::graph::distributed::mpi_process_group, boost::vtkVertexGlobalMap, boost::vtkGraphIndexMap > | vtkGraphDistributedVertexIndexMap |
Functions | |
property_traits< vtkVertexOwnerMap >::reference | boost::get (vtkVertexOwnerMap owner_map, property_traits< vtkVertexOwnerMap >::key_type key) |
boost::SUBCLASS_PROPERTY_MAP_SPECIALIZATIONS (vertex_owner_t) | |
vtkVertexOwnerMap | boost::get (vertex_owner_t, vtkGraph *graph) |
property_traits< vtkVertexLocalMap >::reference | boost::get (vtkVertexLocalMap local_map, property_traits< vtkVertexLocalMap >::key_type key) |
boost::SUBCLASS_PROPERTY_MAP_SPECIALIZATIONS (vertex_local_t) | |
vtkVertexLocalMap | boost::get (vertex_local_t, vtkGraph *graph) |
property_traits< vtkVertexGlobalMap >::reference | boost::get (vtkVertexGlobalMap global_map, property_traits< vtkVertexGlobalMap >::key_type key) |
boost::SUBCLASS_PROPERTY_MAP_SPECIALIZATIONS (vertex_global_t) | |
vtkVertexGlobalMap | boost::get (vertex_global_t, vtkGraph *graph) |
property_traits< vtkEdgeGlobalMap >::reference | boost::get (vtkEdgeGlobalMap global_map, property_traits< vtkEdgeGlobalMap >::key_type key) |
boost::SUBCLASS_PROPERTY_MAP_SPECIALIZATIONS (edge_global_t) | |
vtkEdgeGlobalMap | boost::get (edge_global_t, vtkGraph *graph) |
boost::graph::distributed::mpi_process_group | process_group (vtkGraph *graph) |
boost::graph::distributed::mpi_process_group | process_group (vtkDirectedGraph *graph) |
boost::graph::distributed::mpi_process_group | process_group (vtkUndirectedGraph *graph) |
template<typename Archiver > | |
void | serialize (Archiver &ar, vtkEdgeBase &edge, const unsigned int) |
template<typename Archiver > | |
void | serialize (Archiver &ar, vtkOutEdgeType &edge, const unsigned int) |
template<typename Archiver > | |
void | serialize (Archiver &ar, vtkInEdgeType &edge, const unsigned int) |
template<typename Archiver > | |
void | serialize (Archiver &ar, vtkEdgeType &edge, const unsigned int) |
vtkGraphDistributedVertexIndexMap | MakeDistributedVertexIndexMap (vtkGraph *graph) |
template<typename DataArray > | |
vtkDistributedVertexPropertyMapType< DataArray >::type | MakeDistributedVertexPropertyMap (vtkGraph *graph, DataArray *array) |
template<typename DataArray > | |
vtkDistributedEdgePropertyMapType< DataArray >::type | MakeDistributedEdgePropertyMap (vtkGraph *graph, DataArray *array) |
#define SUBCLASS_PROPERTY_MAP_SPECIALIZATIONS | ( | Property | ) |
Definition at line 53 of file vtkPBGLGraphAdapter.h.
typedef boost::local_property_map<boost::graph::distributed::mpi_process_group, boost::vtkVertexGlobalMap, boost::vtkGraphIndexMap> vtkGraphDistributedVertexIndexMap |
A property map used as the vertex index map for distributed vtkGraphs. Using this index property map when building PBGL's vector_property_map or iterator_property_map will automatically make those property maps distributed. This feature is relied upon by several of the PBGL graph algorithms.
Definition at line 368 of file vtkPBGLGraphAdapter.h.
boost::graph::distributed::mpi_process_group process_group | ( | vtkGraph * | graph | ) |
|
inline |
Definition at line 311 of file vtkPBGLGraphAdapter.h.
|
inline |
Definition at line 317 of file vtkPBGLGraphAdapter.h.
void serialize | ( | Archiver & | ar, |
vtkEdgeBase & | edge, | ||
const unsigned | int | ||
) |
Definition at line 328 of file vtkPBGLGraphAdapter.h.
void serialize | ( | Archiver & | ar, |
vtkOutEdgeType & | edge, | ||
const unsigned | int | ||
) |
Definition at line 334 of file vtkPBGLGraphAdapter.h.
void serialize | ( | Archiver & | ar, |
vtkInEdgeType & | edge, | ||
const unsigned | int | ||
) |
Definition at line 341 of file vtkPBGLGraphAdapter.h.
void serialize | ( | Archiver & | ar, |
vtkEdgeType & | edge, | ||
const unsigned | int | ||
) |
Definition at line 348 of file vtkPBGLGraphAdapter.h.
|
inline |
Creates the distributed vertex index property map for a vtkGraph.
Definition at line 374 of file vtkPBGLGraphAdapter.h.
|
inline |
Build a distributed property map indexed by the vertices of the given graph, using storage from the given array.
Definition at line 415 of file vtkPBGLGraphAdapter.h.
|
inline |
Build a distributed property map indexed by the edges of the given graph, using storage from the given array.
Definition at line 458 of file vtkPBGLGraphAdapter.h.