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

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

#include <CHArray.H>

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

Public Member Functions

 CSIndexer ()
 
 CSIndexer (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
 
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::CSIndexer< 1, DimT >

Specialization for Rank 1 (any type of subscript)

Member Typedef Documentation

◆ IxData

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

Constructor & Destructor Documentation

◆ CSIndexer() [1/2]

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

◆ CSIndexer() [2/2]

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

Member Function Documentation

◆ ixDefine()

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

◆ ixIndex1D()

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

References CH_assert.

◆ ixDimSize()

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

◆ ixLowerBound()

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

◆ ixUpperBound()

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

◆ ixIV()

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

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