Chombo + EB  3.0
Classes | Typedefs | Functions
ArSp Namespace Reference

Classes

struct  AllocRawPolicy
 
struct  AllocRawPolicy< T, false >
 If element are not class type, just assign the address. More...
 
struct  AllocRawPolicy< T, true >
 If elements are class type, allocate using placement new. More...
 
class  ArrayOfMatrixAlloc
 Allocator for an array of matrices contiguous in memory. More...
 
struct  ArTr
 
struct  ArTr< Rank, ArRangeCol >
 
struct  ArTr< Rank, ArRangeRow >
 
struct  ArTr< Rank, ArZeroCol >
 
struct  ArTr< Rank, ArZeroRow >
 
class  CSIndexer
 Rank > 2 for zero-based subscripts and > 1 for subscript ranges. More...
 
class  CSIndexer< 1, DimT >
 Specialization for Rank 1 (any type of subscript) More...
 
class  CSIndexer< 2, USz_t >
 Full specialization for Rank 2 and zero-based subscripts. More...
 
class  DefaultArrayAlloc
 Default allocator. More...
 
class  IndexerData
 Any rank and a zero-based subscript. More...
 
class  IndexerData< 1, CHRange >
 Rank 1 and a subscript range. More...
 
class  IndexerData< 1, DimT >
 Rank 1 and a zero-based subscript (no data) More...
 
class  IndexerData< Rank, CHRange >
 Any rank and a subscript range. More...
 
class  NewArrayAlloc
 Allocator that only permits allocation by new. More...
 
struct  ReleaseRawPolicy
 
struct  ReleaseRawPolicy< T, false >
 If elements are not class type, do nothing. More...
 
struct  ReleaseRawPolicy< T, true >
 If elements are class type, invoke destructor on each element. More...
 
class  RSIndexer
 Rank > 2 for zero-based subscripts and > 1 for subscript ranges. More...
 
class  RSIndexer< 1, DimT >
 Specialization for Rank 1 (any type of subscript) More...
 
class  RSIndexer< 2, USz_t >
 Full specialization for Rank 2 and zero-based subscripts. More...
 
class  TypeTr
 Test for class type. More...
 

Typedefs

typedef int IIx_t
 
typedef unsigned USz_t
 Type of unsigned int for a size. More...
 

Functions

template<typename T >
USz_t sizeOfDim (const T &dim)
 Get the size of a dimension. More...
 
template<>
USz_t sizeOfDim< CHRange > (const CHRange &dim)
 

Typedef Documentation

◆ IIx_t

typedef int ArSp::IIx_t

Type of int for an index. Must be signed to allow for lower bounds != 0

◆ USz_t

typedef unsigned ArSp::USz_t

Type of unsigned int for a size.

Function Documentation

◆ sizeOfDim()

template<typename T >
USz_t ArSp::sizeOfDim ( const T &  dim)
inline

◆ sizeOfDim< CHRange >()

template<>
USz_t ArSp::sizeOfDim< CHRange > ( const CHRange dim)
inline

References dim.