ArSp::RSIndexer< Rank, DimT > Class Template Reference

#include <CHArray.H>

Inheritance diagram for ArSp::RSIndexer< Rank, DimT >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<unsigned Rank, typename DimT>
class ArSp::RSIndexer< Rank, DimT >

Rank > 2 for zero-based subscripts and > 1 for subscript ranges.

Public Member Functions

 RSIndexer ()
 RSIndexer (const IIx_t offset, const DimT &dim6, const DimT &dim5, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0)
 RSIndexer (const IIx_t offset, const DimT &dim5, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0)
 RSIndexer (const IIx_t offset, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0)
 RSIndexer (const IIx_t offset, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0)
 RSIndexer (const IIx_t offset, const DimT &dim2, const DimT &dim1, const DimT &dim0)
 RSIndexer (const IIx_t offset, const DimT &dim1, const DimT &dim0)
void ixDefine (const IIx_t offset, const DimT &dim6, const DimT &dim5, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0)
void ixDefine (const IIx_t offset, const DimT &dim5, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0)
void ixDefine (const IIx_t offset, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0)
void ixDefine (const IIx_t offset, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0)
void ixDefine (const IIx_t offset, const DimT &dim2, const DimT &dim1, const DimT &dim0)
void ixDefine (const IIx_t offset, const DimT &dim1, const DimT &dim0)
USz_t ixIndex1D (const USz_t size, const IIx_t i6, const IIx_t i5, const IIx_t i4, const IIx_t i3, const IIx_t i2, const IIx_t i1, const IIx_t i0) const
USz_t ixIndex1D (const USz_t size, const IIx_t i5, const IIx_t i4, const IIx_t i3, const IIx_t i2, const IIx_t i1, const IIx_t i0) const
USz_t ixIndex1D (const USz_t size, const IIx_t i4, const IIx_t i3, const IIx_t i2, const IIx_t i1, const IIx_t i0) const
USz_t ixIndex1D (const USz_t size, const IIx_t i3, const IIx_t i2, const IIx_t i1, const IIx_t i0) const
USz_t ixIndex1D (const USz_t size, const IIx_t i2, const IIx_t i1, const IIx_t i0) const
USz_t ixIndex1D (const USz_t size, const IIx_t i1, 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< Rank, DimT > IxData

Private Attributes

RSIndexer< Rank-1, DimT > m_ixNext
 Next lower rank.

Member Typedef Documentation

template<unsigned Rank, typename DimT>
typedef IndexerData<Rank, DimT> ArSp::RSIndexer< Rank, DimT >::IxData [private]


Constructor & Destructor Documentation

template<unsigned Rank, typename DimT>
ArSp::RSIndexer< Rank, DimT >::RSIndexer (  )  [inline]

template<unsigned Rank, typename DimT>
ArSp::RSIndexer< Rank, DimT >::RSIndexer ( const IIx_t  offset,
const DimT &  dim6,
const DimT &  dim5,
const DimT &  dim4,
const DimT &  dim3,
const DimT &  dim2,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

template<unsigned Rank, typename DimT>
ArSp::RSIndexer< Rank, DimT >::RSIndexer ( const IIx_t  offset,
const DimT &  dim5,
const DimT &  dim4,
const DimT &  dim3,
const DimT &  dim2,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

template<unsigned Rank, typename DimT>
ArSp::RSIndexer< Rank, DimT >::RSIndexer ( const IIx_t  offset,
const DimT &  dim4,
const DimT &  dim3,
const DimT &  dim2,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

template<unsigned Rank, typename DimT>
ArSp::RSIndexer< Rank, DimT >::RSIndexer ( const IIx_t  offset,
const DimT &  dim3,
const DimT &  dim2,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

template<unsigned Rank, typename DimT>
ArSp::RSIndexer< Rank, DimT >::RSIndexer ( const IIx_t  offset,
const DimT &  dim2,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

template<unsigned Rank, typename DimT>
ArSp::RSIndexer< Rank, DimT >::RSIndexer ( const IIx_t  offset,
const DimT &  dim1,
const DimT &  dim0 
) [inline]


Member Function Documentation

template<unsigned Rank, typename DimT>
void ArSp::RSIndexer< Rank, DimT >::ixDefine ( const IIx_t  offset,
const DimT &  dim6,
const DimT &  dim5,
const DimT &  dim4,
const DimT &  dim3,
const DimT &  dim2,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

template<unsigned Rank, typename DimT>
void ArSp::RSIndexer< Rank, DimT >::ixDefine ( const IIx_t  offset,
const DimT &  dim5,
const DimT &  dim4,
const DimT &  dim3,
const DimT &  dim2,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

template<unsigned Rank, typename DimT>
void ArSp::RSIndexer< Rank, DimT >::ixDefine ( const IIx_t  offset,
const DimT &  dim4,
const DimT &  dim3,
const DimT &  dim2,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

template<unsigned Rank, typename DimT>
void ArSp::RSIndexer< Rank, DimT >::ixDefine ( const IIx_t  offset,
const DimT &  dim3,
const DimT &  dim2,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

template<unsigned Rank, typename DimT>
void ArSp::RSIndexer< Rank, DimT >::ixDefine ( const IIx_t  offset,
const DimT &  dim2,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

template<unsigned Rank, typename DimT>
void ArSp::RSIndexer< Rank, DimT >::ixDefine ( const IIx_t  offset,
const DimT &  dim1,
const DimT &  dim0 
) [inline]

References ArSp::sizeOfDim().

template<unsigned Rank, typename DimT>
USz_t ArSp::RSIndexer< Rank, DimT >::ixIndex1D ( const USz_t  size,
const IIx_t  i6,
const IIx_t  i5,
const IIx_t  i4,
const IIx_t  i3,
const IIx_t  i2,
const IIx_t  i1,
const IIx_t  i0 
) const [inline]

References CH_assert.

template<unsigned Rank, typename DimT>
USz_t ArSp::RSIndexer< Rank, DimT >::ixIndex1D ( const USz_t  size,
const IIx_t  i5,
const IIx_t  i4,
const IIx_t  i3,
const IIx_t  i2,
const IIx_t  i1,
const IIx_t  i0 
) const [inline]

References CH_assert.

template<unsigned Rank, typename DimT>
USz_t ArSp::RSIndexer< Rank, DimT >::ixIndex1D ( const USz_t  size,
const IIx_t  i4,
const IIx_t  i3,
const IIx_t  i2,
const IIx_t  i1,
const IIx_t  i0 
) const [inline]

References CH_assert.

template<unsigned Rank, typename DimT>
USz_t ArSp::RSIndexer< Rank, DimT >::ixIndex1D ( const USz_t  size,
const IIx_t  i3,
const IIx_t  i2,
const IIx_t  i1,
const IIx_t  i0 
) const [inline]

References CH_assert.

template<unsigned Rank, typename DimT>
USz_t ArSp::RSIndexer< Rank, DimT >::ixIndex1D ( const USz_t  size,
const IIx_t  i2,
const IIx_t  i1,
const IIx_t  i0 
) const [inline]

References CH_assert.

template<unsigned Rank, typename DimT>
USz_t ArSp::RSIndexer< Rank, DimT >::ixIndex1D ( const USz_t  size,
const IIx_t  i1,
const IIx_t  i0 
) const [inline]

References CH_assert.

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

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

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

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

References SpaceDim.


Member Data Documentation

template<unsigned Rank, typename DimT>
RSIndexer<Rank-1, DimT> ArSp::RSIndexer< Rank, DimT >::m_ixNext [private]

Next lower rank.


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

Generated on Fri Apr 5 04:25:56 2019 for Chombo + EB by  doxygen 1.5.5