Schnek
schnek::SubGridStorage< T, rank, BaseGrid > Class Template Reference
Collaboration diagram for schnek::SubGridStorage< T, rank, BaseGrid >:

Classes

class  const_storage_iterator
 
class  storage_iterator
 

Public Types

typedef Array< int, rank > IndexType
 
typedef BaseGrid BaseGridType
 
typedef Range< int, rank > DomainType
 

Public Member Functions

 SubGridStorage (const IndexType &low_, const IndexType &high_)
 
void resize (const IndexType &low_, const IndexType &high_)
 
SCHNEK_INLINE T & get (const IndexType &index)
 
SCHNEK_INLINE const T & get (const IndexType &index) const
 
const IndexTypegetLo () const
 
const IndexTypegetHi () const
 
const IndexTypegetDims () const
 
int getLo (int k) const
 
int getHi (int k) const
 
int getDims (int k) const
 
storage_iterator begin ()
 
storage_iterator end ()
 
const_storage_iterator cbegin () const
 
const_storage_iterator cend () const
 
void setBaseGrid (BaseGridType &baseGrid_)
 

Protected Attributes

BaseGridType * baseGrid
 
DomainType domain
 
IndexType dims
 

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