Graph constructor function specialization. More...
Graph constructor function specialization.
On C++ partial function specialization is not allowed, so we need a class to do it
Definition at line 276 of file CartesianGraphFactory.hpp.
#include <CartesianGraphFactory.hpp>
Static Public Member Functions | |
static Graph | construct (const size_t(&sz)[dim], Box< dim, T > &dom, const size_t(&bc)[dim]) |
Construct a cartesian graph. | |
|
inlinestatic |
Construct a cartesian graph.
sz | size of the partesian graph |
dom | domain where this cartesian graph is defined (used to fill the coordinates) |
bc | boundary conditions (torus or cube) |
Construct an hyper-cube of dimension dim
Graph to construct
Construct a key iterator
Iterate through all the elements
Definition at line 289 of file CartesianGraphFactory.hpp.