SUNphi
1.0
|
Grid to be partitioned. More...
Public Member Functions | |
template<typename F > | |
void | visitAll (const F &fun) |
Vector< PartitioningLevel * > | getAllWithUnfixedVol () |
List all elements of the partitioning with unfixed nodes. More... | |
bool | volumeIsSet () const |
Determines if the volume is set. | |
bool | volumeIsBound () const |
PartitioningLevel (const int nDim, const std::string &name) | |
Constructor. | |
const I & | getVol () const |
Returns the volume. | |
void | addFatherSister (PartitioningLevel &f, PartitioningLevel &s) |
void | addChild (PartitioningLevel< I > &a, PartitioningLevel< I > &b) |
bool | setVol (const I &v) |
Public Attributes | |
const std::string | name |
Name of the partitioning. | |
Private Types | |
using | PLPP = std::pair< PartitioningLevel *, PartitioningLevel * > |
Partitioning Level Pair of Pointers. | |
Private Member Functions | |
template<typename F > | |
void | visitAll (Vector< PartitioningLevel * > &visited, const F &fun) |
Private Attributes | |
I | vol |
Voluem of the grid. | |
Vector< I > | sides |
Sides of the grid. | |
Vector< PLPP > | fatherSisters |
Vector< PLPP > | children |
List of children grid partitioning this grid. | |
Grid to be partitioned.
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
private |