OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
DistGraphFactory< dim, Graph > Class Template Reference

This class construct a cartesian graph. More...

Detailed Description

template<unsigned int dim, typename Graph>
class DistGraphFactory< dim, Graph >

This class construct a cartesian graph.

This class construct a cartesian graph

Parameters
dimdimensionality of the cartesian grid

Definition at line 541 of file DistGraphFactory.hpp.

#include <DistGraphFactory.hpp>

Static Public Member Functions

template<int se, typename T , unsigned int dim_c, int... pos>
static Graph construct (const size_t(&sz)[dim], Box< dim, T > dom)
 Construct a cartesian graph, with V and E edge properties. More...
 

Member Function Documentation

template<unsigned int dim, typename Graph>
template<int se, typename T , unsigned int dim_c, int... pos>
static Graph DistGraphFactory< dim, Graph >::construct ( const size_t(&)  sz[dim],
Box< dim, T >  dom 
)
inlinestatic

Construct a cartesian graph, with V and E edge properties.

Each vertex is a subspace (Hyper-cube) of dimension dim, each vertex is connected with an edge if two vertex (Hyper-cube) share a element of dimension grater than dim_c. One property can be used to store the contact size or the d-dimensional surface in common between two connected hyper-cube.

Parameters
szVector that store the size of the grid on each dimension
domBox enclosing the physical domain
Template Parameters
seIndicate which properties fill with the contact size. The contact size is the point, line , surface, d-dimensional object size in contact (in common) between two hyper-cube. NO_EDGE indicate no property will store this information
Ttype of the domain like (int real complex ... )
dim_cConnectivity dimension
pos...(optional)one or more integer indicating the spatial properties

Definition at line 566 of file DistGraphFactory.hpp.


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