AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType > Class Template Reference

Concrete instance of the BlockIteratorHelper class defined in the OctreeLevel base class. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/spin/DenseOctreeLevel.hpp>

Inherits ParentType.

Public Types

using self = IteratorHelper< OctreeLevelType, ParentType >
 
using BaseBlockItType = ParentType
 

Public Member Functions

 IteratorHelper (OctreeLevelType *octLevel, bool begin)
 
void increment ()
 
GridPt pt () const
 
BlockDataType * data ()
 
const BlockDataType * data () const
 
bool equal (const BaseBlockItType *other)
 Predicate to determine if two block iterators are the same. More...
 

Detailed Description

template<int DIM, typename BlockDataType, typename MortonIndexType>
template<typename OctreeLevelType, typename ParentType>
class axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType >

Concrete instance of the BlockIteratorHelper class defined in the OctreeLevel base class.

Note
ParenType must be either BlockIteratorHelper or ConstBlockIteratorHelper, both are defined in the OctreeLevel base class

Member Typedef Documentation

◆ self

template<int DIM, typename BlockDataType , typename MortonIndexType >
template<typename OctreeLevelType , typename ParentType >
using axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType >::self = IteratorHelper<OctreeLevelType, ParentType>

◆ BaseBlockItType

template<int DIM, typename BlockDataType , typename MortonIndexType >
template<typename OctreeLevelType , typename ParentType >
using axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType >::BaseBlockItType = ParentType

Constructor & Destructor Documentation

◆ IteratorHelper()

template<int DIM, typename BlockDataType , typename MortonIndexType >
template<typename OctreeLevelType , typename ParentType >
axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType >::IteratorHelper ( OctreeLevelType *  octLevel,
bool  begin 
)
inline

Member Function Documentation

◆ increment()

template<int DIM, typename BlockDataType , typename MortonIndexType >
template<typename OctreeLevelType , typename ParentType >
void axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType >::increment ( )
inline

◆ pt()

template<int DIM, typename BlockDataType , typename MortonIndexType >
template<typename OctreeLevelType , typename ParentType >
GridPt axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType >::pt ( ) const
inline

Access to point associated with the block pointed to by the iterator

References axom::spin::Brood< GridPt, MortonIndexType >::reconstructGridPt().

◆ data() [1/2]

template<int DIM, typename BlockDataType , typename MortonIndexType >
template<typename OctreeLevelType , typename ParentType >
BlockDataType* axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType >::data ( )
inline

Accessor for data associated with the iterator's block

◆ data() [2/2]

template<int DIM, typename BlockDataType , typename MortonIndexType >
template<typename OctreeLevelType , typename ParentType >
const BlockDataType* axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType >::data ( ) const
inline

Const accessor for data associated with the iterator's block

◆ equal()

template<int DIM, typename BlockDataType , typename MortonIndexType >
template<typename OctreeLevelType , typename ParentType >
bool axom::spin::DenseOctreeLevel< DIM, BlockDataType, MortonIndexType >::IteratorHelper< OctreeLevelType, ParentType >::equal ( const BaseBlockItType other)
inline

Predicate to determine if two block iterators are the same.


The documentation for this class was generated from the following file: