Chombo + EB + MF  3.2
Classes | Typedefs | Functions
ArSp Namespace Reference

Classes

struct  AllocRawPolicy
 
struct  AllocRawPolicy< T, true >
 If elements are class type, allocate using placement new. More...
 
struct  AllocRawPolicy< T, false >
 If element are not class type, just assign the address. More...
 
struct  ReleaseRawPolicy
 
struct  ReleaseRawPolicy< T, true >
 If elements are class type, invoke destructor on each element. More...
 
struct  ReleaseRawPolicy< T, false >
 If elements are not class type, do nothing. More...
 
class  DefaultArrayAlloc
 Default allocator. More...
 
class  IndexerData
 Any rank and a zero-based subscript. More...
 
class  IndexerData< Rank, CHRange >
 Any rank and a subscript range. More...
 
class  IndexerData< 1, DimT >
 Rank 1 and a zero-based subscript (no data) More...
 
class  IndexerData< 1, CHRange >
 Rank 1 and a subscript range. 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  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...
 
struct  ArTr
 
struct  ArTr< Rank, ArZeroRow >
 
struct  ArTr< Rank, ArZeroCol >
 
struct  ArTr< Rank, ArRangeRow >
 
struct  ArTr< Rank, ArRangeCol >
 
class  NewArrayAlloc
 Allocator that only permits allocation by new. More...
 
class  ArrayOfVectorAlloc
 Allocator for an array of vectors contiguous in memory. More...
 
class  ArrayOfMatrixAlloc
 Allocator for an array of matrices contiguous in memory. 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

typedef int ArSp::IIx_t

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

typedef unsigned ArSp::USz_t

Type of unsigned int for a size.

Function Documentation

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

References dim.