Chombo + EB  3.2
Public Member Functions | Private Types | List of all members
ArSp::RSIndexer< 1, DimT > Class Template Reference

Specialization for Rank 1 (any type of subscript) More...

#include <CHArray.H>

Inheritance diagram for ArSp::RSIndexer< 1, DimT >:
Inheritance graph
[legend]

Public Member Functions

 RSIndexer ()
 
 RSIndexer (const IIx_t offset, const DimT &dim0)
 
void ixDefine (const IIx_t offset, const DimT &dim0)
 
USz_t ixIndex1D (const USz_t size, const IIx_t i0) const
 
USz_t ixDimSize (const USz_t size, const unsigned dim) const
 
IIx_t ixLowerBound (const unsigned dim) const
 
IIx_t ixUpperBound (const USz_t size, const unsigned dim) const
 
IIx_t ixTotalOffset () const
 
unsigned ixIV (const unsigned i) const
 

Private Types

typedef IndexerData< 1, DimT > IxData
 

Additional Inherited Members

- Private Member Functions inherited from ArSp::IndexerData< 1, DimT >
 IndexerData ()
 
 IndexerData (const DimT &dim)
 
void ixDefineLowerBound (const DimT &dim)
 
IIx_t ixLowerBound () const
 
bool ixValidBounds (const IIx_t i, const USz_t size) const
 
void ixDefineTotalOffset (const IIx_t offset)
 
IIx_t ixTotalOffset () const
 

Detailed Description

template<typename DimT>
class ArSp::RSIndexer< 1, DimT >

Specialization for Rank 1 (any type of subscript)

Member Typedef Documentation

◆ IxData

template<typename DimT >
typedef IndexerData<1, DimT> ArSp::RSIndexer< 1, DimT >::IxData
private

Constructor & Destructor Documentation

◆ RSIndexer() [1/2]

template<typename DimT >
ArSp::RSIndexer< 1, DimT >::RSIndexer ( )
inline

◆ RSIndexer() [2/2]

template<typename DimT >
ArSp::RSIndexer< 1, DimT >::RSIndexer ( const IIx_t  offset,
const DimT &  dim0 
)
inline

Member Function Documentation

◆ ixDefine()

template<typename DimT >
void ArSp::RSIndexer< 1, DimT >::ixDefine ( const IIx_t  offset,
const DimT &  dim0 
)
inline

◆ ixIndex1D()

template<typename DimT >
USz_t ArSp::RSIndexer< 1, DimT >::ixIndex1D ( const USz_t  size,
const IIx_t  i0 
) const
inline

References CH_assert.

◆ ixDimSize()

template<typename DimT >
USz_t ArSp::RSIndexer< 1, DimT >::ixDimSize ( const USz_t  size,
const unsigned  dim 
) const
inline

◆ ixLowerBound()

template<typename DimT >
IIx_t ArSp::RSIndexer< 1, DimT >::ixLowerBound ( const unsigned  dim) const
inline

◆ ixUpperBound()

template<typename DimT >
IIx_t ArSp::RSIndexer< 1, DimT >::ixUpperBound ( const USz_t  size,
const unsigned  dim 
) const
inline

◆ ixTotalOffset()

template<typename DimT >
IIx_t ArSp::RSIndexer< 1, DimT >::ixTotalOffset ( ) const
inline

◆ ixIV()

template<typename DimT >
unsigned ArSp::RSIndexer< 1, DimT >::ixIV ( const unsigned  i) const
inline

References SpaceDim.


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