AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.5.0/src/axom/spin/Brood.hpp>
Public Types | |
enum | { DIM = GridPt::DIMENSION, BROOD_BITMASK = (1 << DIM) - 1 } |
using | MortonizerType = spin::Mortonizer< typename GridPt::CoordType, MortonIndexType, DIM > |
Public Member Functions | |
Brood (const GridPt &pt) | |
Constructor for a brood offset relative to the given grid point pt. More... | |
const MortonIndexType & | base () const |
Accessor for the base point of the entire brood. More... | |
const int & | offset () const |
Accessor for the offset of the point within the brood. More... | |
Static Public Member Functions | |
static GridPt | reconstructGridPt (MortonIndexType morton, int offset) |
Reconstruct a grid point from a brood's Morton index and an offset. More... | |
using axom::spin::Brood< GridPt, MortonIndexType >::MortonizerType = spin::Mortonizer<typename GridPt::CoordType, MortonIndexType, DIM> |
|
inline |
Constructor for a brood offset relative to the given grid point pt.
[in] | pt | The grid point within the octree level |
References axom::spin::Brood< GridPt, MortonIndexType >::BROOD_BITMASK, and axom::spin::Brood< GridPt, MortonIndexType >::DIM.
|
inline |
Accessor for the base point of the entire brood.
Referenced by axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::blockStatus(), axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::hasBlock(), and axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::operator[]().
|
inline |
Accessor for the offset of the point within the brood.
Referenced by axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::blockStatus(), axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::hasBlock(), and axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::operator[]().
|
inlinestatic |
Reconstruct a grid point from a brood's Morton index and an offset.
References axom::spin::Brood< GridPt, MortonIndexType >::DIM.
Referenced by axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType >::pt(), and axom::spin::SparseOctreeLevel< DIM, BlockDataType, PointRepresenationType >::IteratorHelper< OctreeLevelType, AdaptedIterType, ParentType >::pt().