|
Peano
|
#include <linked_grid.h>

Public Types | |
| using | Geo = _Geo |
Public Member Functions | |
| LinkedGrid ()=default | |
| LinkedGrid (Geo::Region range, Derived *parent=nullptr, Geo::RowMajorIdx idx=typename Geo::RowMajorIdx(0), int level=0) | |
| LinkedGrid (LinkedGrid &&other) noexcept | |
| LinkedGrid & | operator= (LinkedGrid &&other) noexcept |
| void | split (u32 splitLevel=1) |
| Derived * | getRoot () |
| Derived * | getChild (const Geo::Point &p) |
| u32 | getSiblingIdx () const |
| Derived * | getNextSibling () |
Static Public Member Functions | |
| static constexpr u32 | getMaxChildren () |
Data Fields | |
| Derived * | parent = nullptr |
| Derived * | subtrees = nullptr |
| Geo::Region | range = typename Geo::Region() |
| Geo::RowMajorIdx | idx = typename Geo::RowMajorIdx(0) |
| unsigned int | level = 0 |
Static Public Attributes | |
| static constexpr u32 | SplitFactor = SPLIT_FACTOR |
Private Member Functions | |
| _Geo::RowMajorIdx | getChildIdx (int linearSpaceChildIdx) const |
| void | moveOp (LinkedGrid &&other) |
Static Private Member Functions | |
| static _Geo::RowMajorIdx | getIdxForLinearSpaceIdx (u32 linearSpaceIdx) |
Definition at line 8 of file linked_grid.h.
| using LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::Geo = _Geo |
Definition at line 44 of file linked_grid.h.
|
default |
|
explicit |
Definition at line 58 of file linked_grid.h.
|
noexcept |
Definition at line 67 of file linked_grid.h.
| Derived * LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::getChild | ( | const Geo::Point & | p | ) |
Definition at line 102 of file linked_grid.h.
|
private |
Definition at line 19 of file linked_grid.h.
|
staticprivate |
Definition at line 9 of file linked_grid.h.
|
staticconstexpr |
Definition at line 63 of file linked_grid.h.
Referenced by LinkedGrid< Geo, 2, Grid >::moveOp().

| Derived * LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::getNextSibling | ( | ) |
Definition at line 113 of file linked_grid.h.
| Derived * LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::getRoot | ( | ) |
Definition at line 96 of file linked_grid.h.
| u32 LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::getSiblingIdx | ( | ) | const |
Definition at line 108 of file linked_grid.h.
|
private |
Definition at line 25 of file linked_grid.h.
|
noexcept |
Definition at line 71 of file linked_grid.h.
| void LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::split | ( | u32 | splitLevel = 1 | ) |
Definition at line 76 of file linked_grid.h.
Referenced by DomainDecomposition< Geo >::DomainDecomposition().

| Geo::RowMajorIdx LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::idx = typename Geo::RowMajorIdx(0) |
Definition at line 53 of file linked_grid.h.
Referenced by DomainDecomposition< Geo >::getLeafRankId(), and Spacetree< Geo, part, 64, 2, ThreadPoolTaskBackend >::Spacetree().
| unsigned int LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::level = 0 |
Definition at line 54 of file linked_grid.h.
Referenced by Spacetree< Geo, part, 64, 2, ThreadPoolTaskBackend >::Spacetree().
| Derived* LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::parent = nullptr |
Definition at line 48 of file linked_grid.h.
Referenced by Spacetree< Geo, part, 64, 2, ThreadPoolTaskBackend >::Spacetree().
| Geo::Region LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::range = typename Geo::Region() |
Definition at line 51 of file linked_grid.h.
Referenced by do_density(), do_density(), BoundaryLeafsIteratorCRTP< Spacetree, BoundaryLeafsIterator< Spacetree, TIterationOrder >, TIterationOrder >::enter(), InsideRegionLeafsIteratorCRTP< Spacetree, InsideRegionLeafsIterator< Spacetree, TIterationOrder >, TIterationOrder >::enter(), OutsideRegionLeafsIteratorCRTP< Spacetree, OutsideRegionLeafsIterator< Spacetree, TIterationOrder >, TIterationOrder >::enter(), Spacetree< Geo, part, 64, 2, ThreadPoolTaskBackend >::getRegionParent(), SpacetreeSorter< Spacetree, PreSortCallback >::run(), Spacetree< Geo, part, 64, 2, ThreadPoolTaskBackend >::Spacetree(), and Spacetree< Geo, part, 64, 2, ThreadPoolTaskBackend >::Spacetree().
|
staticconstexpr |
Definition at line 46 of file linked_grid.h.
| Derived* LinkedGrid< _Geo, SPLIT_FACTOR, Derived >::subtrees = nullptr |
Definition at line 49 of file linked_grid.h.
Referenced by Spacetree< Geo, part, 64, 2, ThreadPoolTaskBackend >::clear(), SpacetreePruner< Spacetree, SPLIT >::countChildrenItems(), Spacetree< Geo, part, 64, 2, ThreadPoolTaskBackend >::destroySubtrees(), DomainDecomposition< Geo >::getLeafRankId(), SpacetreePruner< Spacetree, SPLIT >::mergeChildren(), Spacetree< Geo, part, 64, 2, ThreadPoolTaskBackend >::pushItem(), and Spacetree< Geo, part, 64, 2, ThreadPoolTaskBackend >::splitIntoSubtrees().