#include <CHArray.H>
| T | Type of element | |
| Rank | Rank of the array | |
| ArConf | Configuration of the indexing. Allowable values are: ArZeroRow - Row-ordered indexing with lower bound = 0 ArZeroCol - Column-ordered indexing with lower bound = 0 (DEFAULT) ArRangeRow - Row-ordered indexing with subscript ranges ArRangeCol - Column-ordered indexing with subscript ranges | |
| Alloc | Allocator for the array |
* * CHArray<int, 3> A(2, 2, 2); * A = 2; * A(0, 0, 0) = 4; * std::cout << A << std::endl; * CHArray<double, 2> B; * B.define(3, 4); * B(2, 3) = 5.5; *
* CHArray<int, 3, ArRangeRow> C(CHRange(-1,0), 2, 2); * C = 2; * C(-1, 0, 0) = 4; *
* * CHArray<int, SpaceDim+1> A(box.size(), 1) *
* typedef CHArray<int, SpaceDim+1, ArZeroRow> CHArrayRS;
* typedef CHArray<int, SpaceDim+1, ArZeroCol> CHArrayCS;
* const IntVect iv(2, 2);
* CHArrayRS ARS_IVComp(iv, 2);
* CHArrayRS ARS_CompIV(2, iv);
* CHArrayCS ACS_IVComp(iv, 2);
* CHArrayCS ACS_CompIV(2, iv);
* int ic = 1;
* for (int j = 0; j != 2; ++j)
* for (int i = 0; i != 2; ++i) // Column storage!
* {
* const IntVect ixv(i, j);
* ARS_IVComp(ixv, 0) = ic;
* ARS_IVComp(ixv, 1) = -ic;
* ARS_CompIV(0, ixv) = ic;
* ARS_CompIV(1, ixv) = -ic;
* ACS_IVComp(ixv, 0) = ic;
* ACS_IVComp(ixv, 1) = -ic;
* ACS_CompIV(0, ixv) = ic;
* ACS_CompIV(1, ixv) = -ic;
* ++ic;
* }
*
* std::cout << "ARS_IVComp: " << ARS_IVComp << std::endl;
* std::cout << "ARS_CompIV: " << ARS_CompIV << std::endl;
* std::cout << "ACS_IVComp: " << ACS_IVComp << std::endl;
* std::cout << "ACS_CompIV: " << ACS_CompIV << std::endl;
* * $ ARS_IVComp: 1 -1 2 -2 3 -3 4 -4 * $ ARS_CompIV: 1 2 3 4 -1 -2 -3 -4 * $ ACS_IVComp: 1 2 3 4 -1 -2 -3 -4 * $ ACS_CompIV: 1 -1 2 -2 3 -3 4 -4 *
IntVects are always zero-based and there is no way to specify a range of IntVects. However, one can use Boxes instead of IntVects to define the array but only if the array is configured with subscript ranges (ArConf = ArRangeRow or ArRangeCol)
* Box box(IntVect(-1,-1), IntVect(1, 1)); * CHArray<int, SpaceDim+1, ArRangeRow> AB(box, 2); * AB = 1; * AB(IntVect(-1, -1), 0) = 2; * std::cout << AB << std::endl; *
Public Member Functions | |
| CHArray () | |
| Default constructor. | |
| CHArray (const DimT &dim6, const DimT &dim5, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) | |
| Construct with dimensions. | |
| CHArray (const DimT &dim5, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) | |
| CHArray (const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) | |
| CHArray (const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) | |
| CHArray (const DimT &dim2, const DimT &dim1, const DimT &dim0) | |
| CHArray (const DimT &dim1, const DimT &dim0) | |
| CHArray (const DimT &dim0) | |
| CHArray (const IntVect &iv, const DimT &dimc1, const DimT &dimc0) | |
| CHArray (const IntVect &iv, const DimT &dimc0) | |
| CHArray (const DimT &dimc1, const DimT &dimc0, const IntVect &iv) | |
| CHArray (const DimT &dimc0, const IntVect &iv) | |
| CHArray (const Box &box, const DimT &dimc1, const DimT &dimc0) | |
| CHArray (const Box &box, const DimT &dimc0) | |
| CHArray (const DimT &dimc1, const DimT &dimc0, const Box &box) | |
| CHArray (const DimT &dimc0, const Box &box) | |
| void | define (const DimT &dim6, const DimT &dim5, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) |
| Define the dimensions. | |
| void | define (const DimT &dim5, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) |
| void | define (const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) |
| void | define (const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) |
| void | define (const DimT &dim2, const DimT &dim1, const DimT &dim0) |
| void | define (const DimT &dim1, const DimT &dim0) |
| void | define (const DimT &dim0) |
| void | define (const IntVect &iv, const DimT &dimc1, const DimT &dimc0) |
| void | define (const IntVect &iv, const DimT &dimc0) |
| void | define (const DimT &dimc1, const DimT &dimc0, const IntVect &iv) |
| void | define (const DimT &dimc0, const IntVect &iv) |
| void | define (const Box &box, const DimT &dimc1, const DimT &dimc0) |
| void | define (const Box &box, const DimT &dimc0) |
| void | define (const DimT &dimc1, const DimT &dimc0, const Box &box) |
| void | define (const DimT &dimc0, const Box &box) |
| void | define (void *const addr, const DimT &dim6, const DimT &dim5, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) |
| Define the dimensions and allocate on 'addr'. | |
| void | define (void *const addr, const DimT &dim5, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) |
| void | define (void *const addr, const DimT &dim4, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) |
| void | define (void *const addr, const DimT &dim3, const DimT &dim2, const DimT &dim1, const DimT &dim0) |
| void | define (void *const addr, const DimT &dim2, const DimT &dim1, const DimT &dim0) |
| void | define (void *const addr, const DimT &dim1, const DimT &dim0) |
| void | define (void *const addr, const DimT &dim0) |
| void | define (void *const addr, const IntVect &iv, const DimT &dimc1, const DimT &dimc0) |
| void | define (void *const addr, const IntVect &iv, const DimT &dimc0) |
| void | define (void *const addr, const DimT &dimc1, const DimT &dimc0, const IntVect &iv) |
| void | define (void *const addr, const DimT &dimc0, const IntVect &iv) |
| void | define (void *const addr, const Box &box, const DimT &dimc1, const DimT &dimc0) |
| void | define (void *const addr, const Box &box, const DimT &dimc0) |
| void | define (void *const addr, const DimT &dimc1, const DimT &dimc0, const Box &box) |
| void | define (void *const addr, const DimT &dimc0, const Box &box) |
| void | undefine () |
| Deallocate the array. | |
| template<typename T2> | |
| CHArray & | operator= (const T2 &val) |
| Assign a constant to the array. | |
| T & | operator() (const ArSp::IIx_t i6, const ArSp::IIx_t i5, const ArSp::IIx_t i4, const ArSp::IIx_t i3, const ArSp::IIx_t i2, const ArSp::IIx_t i1, const ArSp::IIx_t i0) |
| Access an element. | |
| T & | operator() (const ArSp::IIx_t i5, const ArSp::IIx_t i4, const ArSp::IIx_t i3, const ArSp::IIx_t i2, const ArSp::IIx_t i1, const ArSp::IIx_t i0) |
| T & | operator() (const ArSp::IIx_t i4, const ArSp::IIx_t i3, const ArSp::IIx_t i2, const ArSp::IIx_t i1, const ArSp::IIx_t i0) |
| T & | operator() (const ArSp::IIx_t i3, const ArSp::IIx_t i2, const ArSp::IIx_t i1, const ArSp::IIx_t i0) |
| T & | operator() (const ArSp::IIx_t i2, const ArSp::IIx_t i1, const ArSp::IIx_t i0) |
| T & | operator() (const ArSp::IIx_t i1, const ArSp::IIx_t i0) |
| T & | operator() (const ArSp::IIx_t i0) |
| T & | operator() (const IntVect &iv, const ArSp::IIx_t c1, const ArSp::IIx_t c0) |
| T & | operator() (const IntVect &iv, const ArSp::IIx_t c0) |
| T & | operator() (const ArSp::IIx_t c1, const ArSp::IIx_t c0, const IntVect &iv) |
| T & | operator() (const ArSp::IIx_t c0, const IntVect &iv) |
| const T & | operator() (const ArSp::IIx_t i6, const ArSp::IIx_t i5, const ArSp::IIx_t i4, const ArSp::IIx_t i3, const ArSp::IIx_t i2, const ArSp::IIx_t i1, const ArSp::IIx_t i0) const |
| Constant access to an element. | |
| const T & | operator() (const ArSp::IIx_t i5, const ArSp::IIx_t i4, const ArSp::IIx_t i3, const ArSp::IIx_t i2, const ArSp::IIx_t i1, const ArSp::IIx_t i0) const |
| const T & | operator() (const ArSp::IIx_t i4, const ArSp::IIx_t i3, const ArSp::IIx_t i2, const ArSp::IIx_t i1, const ArSp::IIx_t i0) const |
| const T & | operator() (const ArSp::IIx_t i3, const ArSp::IIx_t i2, const ArSp::IIx_t i1, const ArSp::IIx_t i0) const |
| const T & | operator() (const ArSp::IIx_t i2, const ArSp::IIx_t i1, const ArSp::IIx_t i0) const |
| const T & | operator() (const ArSp::IIx_t i1, const ArSp::IIx_t i0) const |
| const T & | operator() (const ArSp::IIx_t i0) const |
| const T & | operator() (const IntVect &iv, const ArSp::IIx_t c1, const ArSp::IIx_t c0) const |
| const T & | operator() (const IntVect &iv, const ArSp::IIx_t c0) const |
| const T & | operator() (const ArSp::IIx_t c1, const ArSp::IIx_t c0, const IntVect &iv) const |
| const T & | operator() (const ArSp::IIx_t c0, const IntVect &iv) const |
| Alloc & | getAllocator () |
| Get the allocator. | |
| T * | begin () |
| Access extents of the memory allocated for the array. | |
| const T * | begin () const |
| T * | end () |
| const T * | end () const |
| ArSp::USz_t | size () const |
| Overall size of the array. | |
| ArSp::USz_t | size (const unsigned dim) const |
| Size of a dimension (0 is dimension with contiguous storage). | |
| ArSp::IIx_t | lowerBound (const unsigned dim) const |
| Lower bound of a dimension (0 is dimension with contiguous storage). | |
| ArSp::IIx_t | upperBound (const unsigned dim) const |
| Upper bound of a dimension (0 is dimension with contiguous storage). | |
| bool | isAllocated () const |
| Memory has been allocated. | |
| bool | isUsable () const |
| Memory has been allocated and size is > 0. | |
Private Types | |
| typedef ArSp::ArTr< Rank, ArConf >::DimT | DimT |
| typedef ArSp::ArTr< Rank, ArConf >::IndexerT | Indexer |
Private Member Functions | |
| CHArray (const CHArray &) | |
| CHArray & | operator= (const CHArray &) |
Private Attributes | |
| Array_impl | m_arrayImpl |
| Data + allocation/deallocation. | |
Classes | |
| struct | Array_impl |
typedef ArSp::ArTr<Rank, ArConf>::DimT CHArray< T, Rank, ArConf, Alloc >::DimT [private] |
typedef ArSp::ArTr<Rank, ArConf>::IndexerT CHArray< T, Rank, ArConf, Alloc >::Indexer [private] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | ) | [inline] |
Default constructor.
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dim6, | |
| const DimT & | dim5, | |||
| const DimT & | dim4, | |||
| const DimT & | dim3, | |||
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
Construct with dimensions.
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dim5, | |
| const DimT & | dim4, | |||
| const DimT & | dim3, | |||
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dim4, | |
| const DimT & | dim3, | |||
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dim3, | |
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dim2, | |
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dim1, | |
| const DimT & | dim0 | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dim0 | ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const IntVect & | iv, | |
| const DimT & | dimc1, | |||
| const DimT & | dimc0 | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const IntVect & | iv, | |
| const DimT & | dimc0 | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dimc1, | |
| const DimT & | dimc0, | |||
| const IntVect & | iv | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dimc0, | |
| const IntVect & | iv | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const Box & | box, | |
| const DimT & | dimc1, | |||
| const DimT & | dimc0 | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const Box & | box, | |
| const DimT & | dimc0 | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dimc1, | |
| const DimT & | dimc0, | |||
| const Box & | box | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const DimT & | dimc0, | |
| const Box & | box | |||
| ) | [inline] |
| CHArray< T, Rank, ArConf, Alloc >::CHArray | ( | const CHArray< T, Rank, ArConf, Alloc > & | ) | [private] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const DimT & | dim5, | |
| const DimT & | dim4, | |||
| const DimT & | dim3, | |||
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const DimT & | dim4, | |
| const DimT & | dim3, | |||
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const DimT & | dim3, | |
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const DimT & | dim2, | |
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const DimT & | dim1, | |
| const DimT & | dim0 | |||
| ) | [inline] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const DimT & | dim0 | ) | [inline] |
References ArSp::sizeOfDim().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const IntVect & | iv, | |
| const DimT & | dimc1, | |||
| const DimT & | dimc0 | |||
| ) | [inline] |
References D_DEFIV, and IntVect::product().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const IntVect & | iv, | |
| const DimT & | dimc0 | |||
| ) | [inline] |
References D_DEFIV, and IntVect::product().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const DimT & | dimc1, | |
| const DimT & | dimc0, | |||
| const IntVect & | iv | |||
| ) | [inline] |
References D_DEFIV, and IntVect::product().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const DimT & | dimc0, | |
| const IntVect & | iv | |||
| ) | [inline] |
References D_DEFIV, and IntVect::product().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const Box & | box, | |
| const DimT & | dimc1, | |||
| const DimT & | dimc0 | |||
| ) | [inline] |
References D_DEFBOX, IntVect::product(), and Box::size().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const Box & | box, | |
| const DimT & | dimc0 | |||
| ) | [inline] |
References D_DEFBOX, IntVect::product(), and Box::size().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const DimT & | dimc1, | |
| const DimT & | dimc0, | |||
| const Box & | box | |||
| ) | [inline] |
References D_DEFBOX, IntVect::product(), and Box::size().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | const DimT & | dimc0, | |
| const Box & | box | |||
| ) | [inline] |
References D_DEFBOX, IntVect::product(), and Box::size().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dim6, | |||
| const DimT & | dim5, | |||
| const DimT & | dim4, | |||
| const DimT & | dim3, | |||
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
Define the dimensions and allocate on 'addr'.
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dim5, | |||
| const DimT & | dim4, | |||
| const DimT & | dim3, | |||
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dim4, | |||
| const DimT & | dim3, | |||
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dim3, | |||
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dim2, | |||
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dim1, | |||
| const DimT & | dim0 | |||
| ) | [inline] |
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dim0 | |||
| ) | [inline] |
References ArSp::sizeOfDim().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const IntVect & | iv, | |||
| const DimT & | dimc1, | |||
| const DimT & | dimc0 | |||
| ) | [inline] |
References D_DEFIV, and IntVect::product().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const IntVect & | iv, | |||
| const DimT & | dimc0 | |||
| ) | [inline] |
References D_DEFIV, and IntVect::product().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dimc1, | |||
| const DimT & | dimc0, | |||
| const IntVect & | iv | |||
| ) | [inline] |
References D_DEFIV, and IntVect::product().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dimc0, | |||
| const IntVect & | iv | |||
| ) | [inline] |
References D_DEFIV, and IntVect::product().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const Box & | box, | |||
| const DimT & | dimc1, | |||
| const DimT & | dimc0 | |||
| ) | [inline] |
References D_DEFBOX, IntVect::product(), and Box::size().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const Box & | box, | |||
| const DimT & | dimc0 | |||
| ) | [inline] |
References D_DEFBOX, IntVect::product(), and Box::size().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dimc1, | |||
| const DimT & | dimc0, | |||
| const Box & | box | |||
| ) | [inline] |
References D_DEFBOX, IntVect::product(), and Box::size().
| void CHArray< T, Rank, ArConf, Alloc >::define | ( | void *const | addr, | |
| const DimT & | dimc0, | |||
| const Box & | box | |||
| ) | [inline] |
References D_DEFBOX, IntVect::product(), and Box::size().
| void CHArray< T, Rank, ArConf, Alloc >::undefine | ( | ) | [inline] |
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i6, | |
| const ArSp::IIx_t | i5, | |||
| const ArSp::IIx_t | i4, | |||
| const ArSp::IIx_t | i3, | |||
| const ArSp::IIx_t | i2, | |||
| const ArSp::IIx_t | i1, | |||
| const ArSp::IIx_t | i0 | |||
| ) | [inline] |
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i5, | |
| const ArSp::IIx_t | i4, | |||
| const ArSp::IIx_t | i3, | |||
| const ArSp::IIx_t | i2, | |||
| const ArSp::IIx_t | i1, | |||
| const ArSp::IIx_t | i0 | |||
| ) | [inline] |
References CH_assert.
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i4, | |
| const ArSp::IIx_t | i3, | |||
| const ArSp::IIx_t | i2, | |||
| const ArSp::IIx_t | i1, | |||
| const ArSp::IIx_t | i0 | |||
| ) | [inline] |
References CH_assert.
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i3, | |
| const ArSp::IIx_t | i2, | |||
| const ArSp::IIx_t | i1, | |||
| const ArSp::IIx_t | i0 | |||
| ) | [inline] |
References CH_assert.
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i2, | |
| const ArSp::IIx_t | i1, | |||
| const ArSp::IIx_t | i0 | |||
| ) | [inline] |
References CH_assert.
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i1, | |
| const ArSp::IIx_t | i0 | |||
| ) | [inline] |
References CH_assert.
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i0 | ) | [inline] |
References CH_assert.
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const IntVect & | iv, | |
| const ArSp::IIx_t | c1, | |||
| const ArSp::IIx_t | c0 | |||
| ) | [inline] |
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const IntVect & | iv, | |
| const ArSp::IIx_t | c0 | |||
| ) | [inline] |
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | c1, | |
| const ArSp::IIx_t | c0, | |||
| const IntVect & | iv | |||
| ) | [inline] |
| T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | c0, | |
| const IntVect & | iv | |||
| ) | [inline] |
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i6, | |
| const ArSp::IIx_t | i5, | |||
| const ArSp::IIx_t | i4, | |||
| const ArSp::IIx_t | i3, | |||
| const ArSp::IIx_t | i2, | |||
| const ArSp::IIx_t | i1, | |||
| const ArSp::IIx_t | i0 | |||
| ) | const [inline] |
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i5, | |
| const ArSp::IIx_t | i4, | |||
| const ArSp::IIx_t | i3, | |||
| const ArSp::IIx_t | i2, | |||
| const ArSp::IIx_t | i1, | |||
| const ArSp::IIx_t | i0 | |||
| ) | const [inline] |
References CH_assert.
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i4, | |
| const ArSp::IIx_t | i3, | |||
| const ArSp::IIx_t | i2, | |||
| const ArSp::IIx_t | i1, | |||
| const ArSp::IIx_t | i0 | |||
| ) | const [inline] |
References CH_assert.
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i3, | |
| const ArSp::IIx_t | i2, | |||
| const ArSp::IIx_t | i1, | |||
| const ArSp::IIx_t | i0 | |||
| ) | const [inline] |
References CH_assert.
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i2, | |
| const ArSp::IIx_t | i1, | |||
| const ArSp::IIx_t | i0 | |||
| ) | const [inline] |
References CH_assert.
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i1, | |
| const ArSp::IIx_t | i0 | |||
| ) | const [inline] |
References CH_assert.
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | i0 | ) | const [inline] |
References CH_assert.
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const IntVect & | iv, | |
| const ArSp::IIx_t | c1, | |||
| const ArSp::IIx_t | c0 | |||
| ) | const [inline] |
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const IntVect & | iv, | |
| const ArSp::IIx_t | c0 | |||
| ) | const [inline] |
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | c1, | |
| const ArSp::IIx_t | c0, | |||
| const IntVect & | iv | |||
| ) | const [inline] |
| const T& CHArray< T, Rank, ArConf, Alloc >::operator() | ( | const ArSp::IIx_t | c0, | |
| const IntVect & | iv | |||
| ) | const [inline] |
| Alloc& CHArray< T, Rank, ArConf, Alloc >::getAllocator | ( | ) | [inline] |
Get the allocator.
| T* CHArray< T, Rank, ArConf, Alloc >::begin | ( | ) | [inline] |
| const T* CHArray< T, Rank, ArConf, Alloc >::begin | ( | ) | const [inline] |
| T* CHArray< T, Rank, ArConf, Alloc >::end | ( | ) | [inline] |
Referenced by operator<<().
| const T* CHArray< T, Rank, ArConf, Alloc >::end | ( | ) | const [inline] |
| ArSp::USz_t CHArray< T, Rank, ArConf, Alloc >::size | ( | ) | const [inline] |
| ArSp::USz_t CHArray< T, Rank, ArConf, Alloc >::size | ( | const unsigned | dim | ) | const [inline] |
| ArSp::IIx_t CHArray< T, Rank, ArConf, Alloc >::lowerBound | ( | const unsigned | dim | ) | const [inline] |
| ArSp::IIx_t CHArray< T, Rank, ArConf, Alloc >::upperBound | ( | const unsigned | dim | ) | const [inline] |
| bool CHArray< T, Rank, ArConf, Alloc >::isAllocated | ( | ) | const [inline] |
| bool CHArray< T, Rank, ArConf, Alloc >::isUsable | ( | ) | const [inline] |
Memory has been allocated and size is > 0.
| CHArray& CHArray< T, Rank, ArConf, Alloc >::operator= | ( | const CHArray< T, Rank, ArConf, Alloc > & | ) | [private] |
Array_impl CHArray< T, Rank, ArConf, Alloc >::m_arrayImpl [private] |
Data + allocation/deallocation.
1.5.5