Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
CellGenIterator< TgridVec > Class Template Reference

Public Member Functions

 CellGenIterator (std::array< u32, dim > cell_count, TgridVec cell_size)
std::pair< TgridVec, TgridVec > next ()
std::vector< std::pair< TgridVec, TgridVec > > next_n (u32 n)
void skip (u32 n)
bool is_done ()

Detailed Description

template<class TgridVec>
class CellGenIterator< TgridVec >

Definition at line 23 of file AMRSetup.cpp.

Constructor & Destructor Documentation

◆ CellGenIterator()

template<class TgridVec>
CellGenIterator< TgridVec >::CellGenIterator ( std::array< u32, dim > cell_count,
TgridVec cell_size )
inline

Definition at line 38 of file AMRSetup.cpp.

Member Function Documentation

◆ is_done()

template<class TgridVec>
bool CellGenIterator< TgridVec >::is_done ( )
inline

Definition at line 89 of file AMRSetup.cpp.

◆ next()

template<class TgridVec>
std::pair< TgridVec, TgridVec > CellGenIterator< TgridVec >::next ( )
inline

Definition at line 53 of file AMRSetup.cpp.

◆ next_n()

template<class TgridVec>
std::vector< std::pair< TgridVec, TgridVec > > CellGenIterator< TgridVec >::next_n ( u32 n)
inline

Definition at line 75 of file AMRSetup.cpp.

◆ skip()

template<class TgridVec>
void CellGenIterator< TgridVec >::skip ( u32 n)
inline

Definition at line 87 of file AMRSetup.cpp.


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