ArSp::ArSp::CSIndexer< 2, USz_t > Class Template Reference

#include <CHArray.H>

Inheritance diagram for ArSp::ArSp::CSIndexer< 2, USz_t >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<>
class ArSp::ArSp::CSIndexer< 2, USz_t >

Full specialization for Rank 2 and zero-based subscripts.

Saves the byte required to store the rank1 indexer (which itself holds no data if DimT=USz_t)

Public Member Functions

 CSIndexer ()
 CSIndexer (const IIx_t offset, const USz_t dim0, const USz_t dim1)
void ixDefine (const IIx_t offset, const USz_t dim0, const USz_t dim1)
USz_t ixIndex1D (const USz_t size, const IIx_t i0, const IIx_t i1) const
IIx_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< 2, USz_tIxData


Member Typedef Documentation

typedef IndexerData<2, USz_t> ArSp::ArSp::CSIndexer< 2, USz_t >::IxData [private]


Member Function Documentation

ArSp::ArSp::CSIndexer< 2, USz_t >::CSIndexer (  )  [inline]

ArSp::ArSp::CSIndexer< 2, USz_t >::CSIndexer ( const IIx_t  offset,
const USz_t  dim0,
const USz_t  dim1 
) [inline]

void ArSp::ArSp::CSIndexer< 2, USz_t >::ixDefine ( const IIx_t  offset,
const USz_t  dim0,
const USz_t  dim1 
) [inline]

USz_t ArSp::ArSp::CSIndexer< 2, USz_t >::ixIndex1D ( const USz_t  size,
const IIx_t  i0,
const IIx_t  i1 
) const [inline]

References CH_assert.

IIx_t ArSp::ArSp::CSIndexer< 2, USz_t >::ixDimSize ( const USz_t  size,
const unsigned  dim 
) const [inline]

IIx_t ArSp::ArSp::CSIndexer< 2, USz_t >::ixLowerBound ( const unsigned  dim  )  const [inline]

IIx_t ArSp::ArSp::CSIndexer< 2, USz_t >::ixUpperBound ( const USz_t  size,
const unsigned  dim 
) const [inline]

unsigned ArSp::ArSp::CSIndexer< 2, USz_t >::ixIV ( const unsigned  i  )  const [inline]


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

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