This class construct a cartesian graph. More...
This class construct a cartesian graph.
This class construct a cartesian graph
dim | dimensionality 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. | |
|
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.
sz | Vector that store the size of the grid on each dimension |
dom | Box enclosing the physical domain |
se | Indicate 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 |
T | type of the domain like (int real complex ... ) |
dim_c | Connectivity dimension |
pos... | (optional)one or more integer indicating the spatial properties |
Definition at line 566 of file DistGraphFactory.hpp.