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

#include <CHArray.H>

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

Inheritance graph
[legend]

List of all members.


Detailed Description

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

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

Public Member Functions

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

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

Member Typedef Documentation

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


Constructor & Destructor Documentation

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

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

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

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

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

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

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


Member Function Documentation

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

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

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

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

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

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

References ArSp::sizeOfDim().

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

References CH_assert.

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

References CH_assert.

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

References CH_assert.

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

References CH_assert.

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

References CH_assert.

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

References CH_assert.

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

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

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

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


Member Data Documentation

template<unsigned Rank, typename DimT>
CSIndexer<Rank-1, DimT> ArSp::CSIndexer< 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