|
SUNphi
1.0
|
Type to describe a partition relation between grid to be partitioned. More...
#include <Partitioner.hpp>
Public Types | |
| enum | { FATHER, CHILD1, CHILD2, NO_RELATIVE } |
| Position of father, child1 and child2 in the list of relatives. | |
| using | SGrid = ShadowGrid< NDims, Coord, Idx > |
| Short alias of the ShadowGrid. | |
Public Member Functions | |
| int | getDeducible () const |
| PartitioningRelation (const SGrid *father, const SGrid *child1, const SGrid *child2) | |
| Constructor. | |
| bool | operator< (const PartitioningRelation &oth) const |
| Comparison operator. | |
Public Attributes | |
| std::array< const SGrid *, 3 > | relatives |
| List of relatives. | |
| const SGrid *& | father |
| Pointer to the grid to be partitioned. More... | |
| const SGrid *& | child1 |
| Pointer to the dividing grid. More... | |
| const SGrid *& | child2 |
| Pointer to the divisor grid. More... | |
Type to describe a partition relation between grid to be partitioned.
Definition at line 208 of file Partitioner.hpp.
|
inline |
Returns whether we can deduce something:
Take trace of the last relative not fixed
Count how many relatives are fixed
Definition at line 239 of file Partitioner.hpp.
| const SGrid*& SUNphi::PartitioningRelation< NDims, Coord, Idx >::child1 |
Pointer to the dividing grid.
Definition at line 227 of file Partitioner.hpp.
| const SGrid*& SUNphi::PartitioningRelation< NDims, Coord, Idx >::child2 |
Pointer to the divisor grid.
Definition at line 231 of file Partitioner.hpp.
| const SGrid*& SUNphi::PartitioningRelation< NDims, Coord, Idx >::father |
Pointer to the grid to be partitioned.
Definition at line 223 of file Partitioner.hpp.