CHArray.H File Reference


Detailed Description

A multi-dimensional array class for Chombo.

#include <iomanip>
#include "CHArray_fwd.H"
#include <cassert>

Include dependency graph for CHArray.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Misc
namespace  ArSp

Classes

class  IntVect
 An integer Vector in SpaceDim-dimensional space. More...
class  Box
 A Rectangular Domain on an Integer Lattice. More...
class  Misc::TypeTr< T >
 Test for class type. More...
struct  Misc::TypeTr< T >::Two
struct  CHRange
 Defines a range of subscripts. More...
struct  ArSp::ArSp::AllocRawPolicy< T, true >
 If elements are class type, allocate using placement new. More...
struct  ArSp::ArSp::AllocRawPolicy< T, false >
 If element are not class type, just assign the address. More...
struct  ArSp::ArSp::ReleaseRawPolicy< T, true >
 If elements are class type, invoke destructor on each element. More...
struct  ArSp::ArSp::ReleaseRawPolicy< T, false >
 If elements are not class type, do nothing. More...
class  ArSp::DefaultArrayAlloc< T >
 Default allocator. More...
class  ArSp::IndexerData< Rank, DimT >
 Any rank and a zero-based subscript. More...
class  ArSp::ArSp::IndexerData< Rank, CHRange >
 Any rank and a subscript range. More...
class  ArSp::ArSp::IndexerData< 1, DimT >
 Rank 1 and a zero-based subscript (no data). More...
class  ArSp::ArSp::IndexerData< 1, CHRange >
 Rank 1 and a subscript range. More...
class  ArSp::RSIndexer< Rank, DimT >
 Rank > 2 for zero-based subscripts and > 1 for subscript ranges. More...
class  ArSp::ArSp::RSIndexer< 1, DimT >
 Specialization for Rank 1 (any type of subscript). More...
class  ArSp::ArSp::RSIndexer< 2, USz_t >
 Full specialization for Rank 2 and zero-based subscripts. More...
class  ArSp::CSIndexer< Rank, DimT >
 Rank > 2 for zero-based subscripts and > 1 for subscript ranges. More...
class  ArSp::ArSp::CSIndexer< 1, DimT >
 Specialization for Rank 1 (any type of subscript). More...
class  ArSp::ArSp::CSIndexer< 2, USz_t >
 Full specialization for Rank 2 and zero-based subscripts. More...
struct  ArSp::ArSp::ArTr< Rank, ArZeroRow >
struct  ArSp::ArSp::ArTr< Rank, ArZeroCol >
struct  ArSp::ArSp::ArTr< Rank, ArRangeRow >
struct  ArSp::ArSp::ArTr< Rank, ArRangeCol >
class  CHArray< T, Rank, ArConf, Alloc >
 Multidimensional array class. More...
struct  CHArray< T, Rank, ArConf, Alloc >::Array_impl
class  ArSp::NewArrayAlloc< T >
 Allocator that only permits allocation by new. More...
class  ArSp::ArrayOfMatrixAlloc
 Allocator for an array of matrices contiguous in memory. More...

Defines

#define CH_assert(cond)   assert(cond)
#define SpaceDim   2
#define D_DECL6(a, b, c, d, e, f)   a,b
#define D_TERM6(a, b, c, d, e, f)   a b
#define D_DEFIV
#define D_DEFBOX
#define D_IXIV

Typedefs

typedef double Real
typedef int ArSp::IIx_t
typedef unsigned ArSp::USz_t
 Type of unsigned int for a size.
typedef CHArray< Real,
1, ArZeroCol,
ArSp::DefaultArrayAlloc< Real > > 
CHVector
 Vector definition.
typedef CHArray< Real,
2, ArZeroCol,
ArSp::DefaultArrayAlloc< Real > > 
CHMatrix
 Matrix defined with column-ordered storage.

Functions

template<typename T>
USz_t ArSp::sizeOfDim (const T &dim)
 Get the size of a dimension.
template<>
USz_t ArSp::sizeOfDim< CHRange > (const CHRange &dim)
template<typename T, unsigned Rank, int ArConf, typename Alloc>
std::ostream & operator<< (std::ostream &os, const CHArray< T, Rank, ArConf, Alloc > &A)
 Output of an array.
template<>
std::ostream & operator<< (std::ostream &os, const CHMatrix &M)
 Pretty output of a matrix (should be in .cpp).
Support for describing dimensions by a range of subscripts
ArSp::USz_t operator* (const CHRange &a, const CHRange &b)
 Multiply two dimensions.
ArSp::USz_t operator* (const ArSp::USz_t &i, const CHRange &a)
ArSp::USz_t operator* (const CHRange &a, const ArSp::USz_t &i)


Define Documentation

#define CH_assert ( cond   )     assert(cond)

Referenced by List< T >::addAfter(), List< T >::addBefore(), MGLevelOp< LevelData< MFCellFAB > >::addCoarserObserver(), AMRMultiGrid< LevelData< MFCellFAB > >::addInspector(), BinFab< T >::addItemsDestructive(), ComputeCutCellMoments< dim >::addMomentMaps(), RK4DenseOutput< Soln, Rhs, EXOP >::advance(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::advance(), ARK4< X, FI, FE, dX >::advance(), IFid::aggregate(), ArSp::ArrayOfMatrixAlloc::allocate(), ArSp::NewArrayAlloc< T >::allocate(), ArSp::DefaultArrayAlloc< T >::allocate(), AMRMultiGrid< T >::AMRVCycle(), MultilevelLinearOp< T >::assign(), BaseEBCellFAB< T >::assign(), BASISV_TM(), binomial(), LevelGridMetrics::blockDomain(), BoundaryIterator::box(), BoxLayoutData< T >::BoxLayoutData(), RootSolver::Brent(), CHRange::CHRange(), GraphNode::clear(), IndexTM< T, N >::coarsen(), AMRMultiGrid< T >::computeAMROperator(), AMRMultiGrid< T >::computeAMRResidualLevel(), ComputeCutCellMoments< dim >::computeMoments(), MinimalCCCM< dim >::computeMomentsRecursively(), Box::contains(), Box::convert(), MiniIFFAB< T >::copy(), IVSFAB< T >::copy(), CodimBox< S >::copy(), BaseIVFAB< T >::copy(), BaseIFFAB< T >::copy(), BaseFab< T >::copy(), BaseEBFaceFAB< T >::copy(), BaseEBCellFAB< T >::copy(), LevelData< T >::copyTo(), AliasDataFactory< T >::create(), PetscSolver< T >::create_mat_vec(), FourthOrderMappedFineInterp::CrFnNumGhost(), GMRESSolver< T >::CycleGMRES(), MiniIFFAB< T >::dataPtr(), IVSFAB< T >::dataPtr(), BaseIVFAB< T >::dataPtr(), BaseIFFAB< T >::dataPtr(), BaseFab< T >::dataPtr(), PetscSolver< T >::define(), MultilevelLinearOp< T >::define(), MiniIVFAB< T >::define(), MiniIFFAB< T >::define(), ListBox< T >::define(), LevelData< T >::define(), LayoutData< T >::define(), CodimBox< S >::define(), BoxLayoutData< T >::define(), BaseIVFAB< T >::define(), BaseIFFAB< T >::define(), BaseFab< T >::define(), BaseEBFaceFAB< T >::define(), BaseEBCellFAB< T >::define(), RK4DenseOutput< Soln, Rhs, EXOP >::denseOutputCoefs(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::denseOutputCoefs(), BaseIF::derivative(), BaseEBFaceFAB< T >::direction(), MultilevelLinearOp< T >::dotProduct(), EBNormalizeByVolumeFraction::EBNormalizeByVolumeFraction(), MultiBlockLevelCopier::extraCells(), factorial(), TupleKeyMap<, ValueT >::fetch(), BaseEBCellFAB< T >::fill(), List< T >::firstElement(), EBPatchAdvect::floorPrimitives(), FortranArrayIndex(), BoxLayoutData< T >::generalCopyTo(), BoxLayout::get(), BaseEBFaceFAB< T >::getCellRegion(), EBLevelGrid::getCFIVS(), QuadCFStencil::getCoarIVS(), LevelFluxRegister::getCoarseLocations(), EBLevelGrid::getCoveringIVS(), EBLevelGrid::getDBL(), CodimBox< S >::getDirection(), CodimBox< S >::getDirections(), EBLevelGrid::getDomain(), EBLevelGrid::getEBIS(), EBLevelGrid::getEBISL(), QuadCFStencil::getFineIVS(), EBLevelGrid::getGhost(), CubedSphereShellPanelCS::getHeight(), MiniIVFAB< T >::getIndex(), MiniIFFAB< T >::getIndex(), IVSFAB< T >::getIndex(), BaseIVFAB< T >::getIndex(), ListBox< T >::getInvalid(), ListBox< T >::getInvalidDestructive(), ListBox< T >::getItems(), ListBox< T >::getItemsDestructive(), MappedLevelData::getJUExchangeCopier(), MappedLevelData::getJUOld(), BaseIFFAB< T >::getLocalVecIndex(), EBLevelGrid::getMaxCoarseningRatio(), EBLevelGrid::getMaxRefinementRatio(), BaseEBCellFAB< T >::getMultiCells(), BaseEBFaceFAB< T >::getMultiValuedFAB(), BaseEBCellFAB< T >::getMultiValuedFAB(), CodimBox< S >::getNumOrient(), getOffsets(), CubedSphereSolidBlockCS::getR0(), CubedSphereSolidBlockCS::getR1(), CubedSphereShellPanelCS::getRadius(), BaseEBFaceFAB< T >::getRegion(), BaseEBCellFAB< T >::getRegion(), CodimBox< S >::getSequential(), BaseEBFaceFAB< T >::getSingleValuedFAB(), BaseEBCellFAB< T >::getSingleValuedFAB(), PolyGeom::getTangentVectors(), MappedLevelData::getUExchangeCopier(), BaseFab< T >::getVal(), CubedSphereShellPanelCS::getVerticalMap(), MultiBlockLevelExchange::ghostCells(), MBAggLevelExchange::ghostCells(), ParticleVector< T, Comparator >::global_sort(), EBFluxRegister::incrementCoarse(), EBFluxRegister::incrementFine(), GraphNodeImplem::index(), IndexedMoments< Dim, P >::indexOf(), Histogram::Init(), TupleKeyMap<, ValueT >::insert(), LevelGridMetrics::interpolatorCrFnNumGhost(), LevelGridMetrics::invalidateCr2ThisInterpolatorCrFnLevData(), ipow(), QuadCFStencil::isEmpty(), CFIVS::isEmpty(), CFIVS::isPacked(), IVSFAB< T >::IVSFAB(), ArSp::ArSp::CSIndexer< 2, USz_t >::ixIndex1D(), ArSp::ArSp::CSIndexer< 1, DimT >::ixIndex1D(), ArSp::CSIndexer< Rank, DimT >::ixIndex1D(), ArSp::ArSp::RSIndexer< 2, USz_t >::ixIndex1D(), ArSp::ArSp::RSIndexer< 1, DimT >::ixIndex1D(), ArSp::RSIndexer< Rank, DimT >::ixIndex1D(), List< T >::lastElement(), LayoutData< T >::LayoutData(), MiniIFFAB< T >::linearIn(), IVSFAB< T >::linearIn(), CodimBox< S >::linearIn(), BaseIVFAB< T >::linearIn(), BaseIFFAB< T >::linearIn(), MiniIFFAB< T >::linearOut(), IVSFAB< T >::linearOut(), CodimBox< S >::linearOut(), BaseIVFAB< T >::linearOut(), BaseIFFAB< T >::linearOut(), ListBox< T >::listItems(), LevelData< T >::localCopyTo(), CHArray< Box, 1, ArZeroCol >::lowerBound(), ParticleVector< T, Comparator >::memsort(), Histogram::mws_private(), NormalDerivativeNew< dim >::nChoosek(), nCk(), BaseEBFaceFAB< T >::nComp(), BaseEBCellFAB< T >::nComp(), BaseFab< T >::nCompPtr(), MGLevelOp< LevelData< MFCellFAB > >::notifyObserversOfChange(), BaseFab< FourthOrderMappedCFInterpStencil * >::offset(), NeighborIterator::ok(), Scheduler::PeriodicFunctionLessThan::operator()(), ShiftIterator::operator()(), NeighborIterator::operator()(), MiniIFFAB< T >::operator()(), MBVectorStencilIterator::operator()(), MBStencilIterator::operator()(), ListIterator< T >::operator()(), LayoutIterator::operator()(), IVSFAB< T >::operator()(), CopyIterator::operator()(), CodimBox< S >::operator()(), CHArray< Box, 1, ArZeroCol >::operator()(), BoxIterator::operator()(), BCFuncWrapper::operator()(), BaseIVFAB< T >::operator()(), BaseIFFAB< T >::operator()(), BaseFab< T >::operator()(), BaseEBFaceFAB< T >::operator()(), BaseEBCellFAB< T >::operator()(), ListIterator< T >::operator*(), DenseIntVectSetIterator::operator++(), operator<<(), RefCountedPtr< T, OP >::operator=(), CHArray< Box, 1, ArZeroCol >::operator=(), Vector< LevelTGAHelmOp< LevelData< EBCellFAB >, EBFluxFAB > * >::operator[](), Tuple< T, N >::operator[](), RefCountedPtr< T, OP >::operator[](), RealVect::operator[](), List< T >::operator[](), LayoutData< T >::operator[](), IndexTM< T, N >::operator[](), IFidTable::operator[](), CopyIterator::operator[](), BoxLayout::operator[](), BitSet::operator[](), CodimBox< S >::orientBox(), CFIVS::packedBox(), BaseFab< T >::performCopy(), BaseFab< T >::performSetVal(), pfactorial(), MultilevelLinearOp< T >::preCond(), LevelGridMetrics::presetCr2ThisInterpolatorCrFnLevJU(), LevelGridMetrics::presetCr2ThisInterpolatorCrFnLevU(), FourthOrderMappedFineInterp::presetCrFnLevJU(), FourthOrderMappedFineInterp::presetCrFnLevU(), LevelGridMetrics::presetThis2FnInterpolatorCrFnLevU(), BoxLayout::procID(), MappedLevelData::rawJU(), MappedLevelData::rawU(), read(), read_vect_from_header(), RefCountedPtr< T, OP >::RefCountedPtr(), IntVect::reflect(), IndexTM< T, N >::reflect(), EBFastFR::reflux(), AMRMultiGrid< T >::relaxOnlyHomogeneous(), List< T >::removeLink(), List< T >::replace(), RK4DenseOutput< Soln, Rhs, EXOP >::resetDt(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::resetDt(), ARK4< X, FI, FE, dX >::resetDt(), MultilevelLinearOp< T >::residual(), GMRESSolver< T >::ResidualGMRES(), Box::sameSize(), CodimBox< S >::seq2bit(), Box::setBig(), AMRMultiGrid< T >::setBottomSolverEpsCushion(), BaseEBCellFAB< T >::setCoveredCellVal(), BaseEBFaceFAB< T >::setCoveredFaceVal(), CubedSphereShellPanelCS::setHeight(), EBLevelGrid::setMaxCoarseningRatio(), EBLevelGrid::setMaxRefinementRatio(), PetscSolver< T >::setNull(), MGLevelOpObserver< LevelData< MFCellFAB > >::setObservee(), BitSetIterator::setpos(), BoxLayout::setProcID(), CubedSphereSolidBlockCS::setR0(), CubedSphereSolidBlockCS::setR1(), CubedSphereShellPanelCS::setRadius(), Box::setRange(), IndexedMoments< Dim, P >::setRegular(), GMRESSolver< T >::setRestartLen(), IndexedMoments< Dim, P >::setSize(), Box::setSmall(), PetscSolver< T >::setup_solver(), MiniIFFAB< T >::setVal(), IVSFAB< T >::setVal(), IntVect::setVal(), IndexTM< T, N >::setVal(), BaseIVFAB< T >::setVal(), BaseIFFAB< T >::setVal(), BaseEBCellFAB< T >::setVal(), IntVect::shift(), IndexTM< T, N >::shift(), MiniIFFAB< T >::size(), CHArray< Box, 1, ArZeroCol >::size(), BaseIVFAB< T >::size(), BaseIFFAB< T >::size(), RelaxSolver< T >::solve(), BiCGStabSolver< T >::solve(), PetscSolver< T >::solve_mfree_private(), PetscSolver< T >::solve_private(), AMRFASMultiGrid< T >::solveNoInit(), AMRMultiGrid< T >::solveNoInitResid(), RK4DenseOutput< Soln, Rhs, EXOP >::start0end1(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::start0end1(), MultiBlockLevelExchange::stencils(), MultiBlockLevelCopier::stencils(), MBAggLevelExchange::stencils(), BaseLevelHeatSolver< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::timeInterp(), List< T >::transfer(), ListBox< T >::transfer(), BinFab< T >::transfer(), IndicesTransformation::transform(), ListBox< T >::undefine(), CHArray< Box, 1, ArZeroCol >::undefine(), BaseFab< T >::undefine(), BaseLevelCrankNicolson< LevelData< EBCellFAB >, EBFluxFAB, EBFluxRegister >::updateSoln(), BaseLevelBackwardEuler< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSoln(), BaseLevelTGA< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSolnWithTimeDependentOp(), BaseLevelTGA< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSolnWithTimeIndependentOp(), CHArray< Box, 1, ArZeroCol >::upperBound(), ListIterator< T >::value(), BaseIF::value(), MultiBlockLevelExchange::vectorstencils(), write(), write_vect_to_header(), WriteMultiData< T >::writeData(), and WriteMultiData< T >::WriteMultiData().

#define SpaceDim   2

Referenced by ViscousBaseDomainBC::bcvaluefunc(), CompGridVTOBC::CompGridVTOBC(), ConstAnalytic::ConstAnalytic(), ProblemDomain::contains(), CoordTransform::CoordTransform(), CubeAnalytic::CubeAnalytic(), ProblemDomain::define(), MiniIFFAB< T >::define(), CodimBox< S >::define(), BaseIFFAB< T >::define(), BaseEBFaceFAB< T >::define(), BaseIF::derivative(), RealTensor::det(), NWOViscousTensorOp::diagonalScale(), NWOEBViscousTensorOp::diagonalScale(), ViscousTensorOp::diagonalScale(), EBViscousTensorOp::diagonalScale(), NewCoordSys::dimension(), NWOViscousTensorOp::divideByIdentityCoef(), NWOEBViscousTensorOp::divideByIdentityCoef(), ViscousTensorOp::divideByIdentityCoef(), EBViscousTensorOp::divideByIdentityCoef(), CoordTransform::expand(), ParticleData< P >::fillGhosts(), NeumannViscousTensorDomainBC::fillVelGhost(), MixedViscousTensorDomainBC::fillVelGhost(), DirichletViscousTensorDomainBC::fillVelGhost(), ViscousBaseEBBC::getBoundaryGrad(), ViscousBaseEBBC::getChangeInSolution(), VCAMRPoissonOp2::getFlux(), NWOViscousTensorOp::getFlux(), ViscousTensorOp::getFlux(), EBAMRPoissonOp::getFlux(), AMRPoissonOp::getFlux(), ViscousBaseDomainBC::getFluxFromGrad(), ViscousBaseEBBC::getFluxFromGrad(), FourthOrderCoordSys::getMetricTermComponent(), NewFourthOrderCoordSys::getNcomponent(), NewFourthOrderCoordSys::getNumN(), TensorCFInterp::gradIndex(), GraphNodeImplem::index(), Correct1D2D::index(), STLUtil::IVCompareSWO::IVCompareSWO(), ArSp::ArSp::RSIndexer< 2, USz_t >::ixIV(), ArSp::ArSp::RSIndexer< 1, DimT >::ixIV(), ArSp::RSIndexer< Rank, DimT >::ixIV(), LinearAnalytic::LinearAnalytic(), IVSFAB< T >::linearIn(), IVSFAB< T >::linearOut(), BinFab< T >::locateBin(), VectorTransformation::matrixIndex(), IntVect::max(), NewFourthOrderCoordSys::metricsCompDir(), IntVect::min(), STLUtil::IVCompareSWO::operator()(), RealTensor::operator()(), MFPoissonOp::StencilIndexComparator::operator()(), EBAMRPoissonOp::StencilIndexComparator::operator()(), CodimBox< S >::operator()(), EBFluxFAB::operator*=(), EBFluxFAB::operator+=(), EBFluxFAB::operator-=(), EBFluxFAB::operator/=(), RealTensor::operator=(), ProblemDomain::operator=(), CoordTransform::operator=(), ProblemDomain::operator==(), RealVect::operator[](), permute(), powerIndex(), ProblemDomain::ProblemDomain(), IntVect::product(), QuadAnalytic::QuadAnalytic(), RealVect::radSquared(), RealTensor::RealTensor(), RealVect::RealVect(), IntVect::reflect(), CoordTransform::reverse(), IndexedMoments< Dim, P >::setSize(), IntVect::setVal(), IntVect::shift(), IVSFAB< T >::size(), AMRMultiGrid< T >::solveNoInitResid(), IrregNode::spout(), BaseFab< T >::testBoxAndComp(), IndicesTransformation::transform(), BaseLevelCrankNicolson< LevelData< EBCellFAB >, EBFluxFAB, EBFluxRegister >::updateSoln(), BaseLevelBackwardEuler< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSoln(), BaseLevelTGA< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSolnWithTimeDependentOp(), BaseLevelTGA< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSolnWithTimeIndependentOp(), ReferenceHeightIF::value(), BaseIF::value(), and WriteMultiData< T >::writeData().

#define D_DECL6 ( a,
b,
c,
d,
e,
 )     a,b

#define D_TERM6 ( a,
b,
c,
d,
e,
 )     a b

#define D_DEFIV

Value:

D_DECL6(DimT(iv[Indexer::ixIV(0)]), \
                         DimT(iv[Indexer::ixIV(1)]), \
                         DimT(iv[Indexer::ixIV(2)]), \
                         DimT(iv[Indexer::ixIV(3)]), \
                         DimT(iv[Indexer::ixIV(4)]), \
                         DimT(iv[Indexer::ixIV(5)]))

Referenced by CHArray< Box, 1, ArZeroCol >::define().

#define D_DEFBOX

Value:

D_DECL6(DimT(box.smallEnd(Indexer::ixIV(0)), \
                                 box.bigEnd(Indexer::ixIV(0))), \
                          DimT(box.smallEnd(Indexer::ixIV(1)), \
                                 box.bigEnd(Indexer::ixIV(1))), \
                          DimT(box.smallEnd(Indexer::ixIV(2)), \
                                 box.bigEnd(Indexer::ixIV(2))), \
                          DimT(box.smallEnd(Indexer::ixIV(3)), \
                                 box.bigEnd(Indexer::ixIV(3))), \
                          DimT(box.smallEnd(Indexer::ixIV(4)), \
                                 box.bigEnd(Indexer::ixIV(4))), \
                          DimT(box.smallEnd(Indexer::ixIV(5)), \
                                 box.bigEnd(Indexer::ixIV(5))))

Referenced by CHArray< Box, 1, ArZeroCol >::define().

#define D_IXIV

Value:

D_DECL6(iv[Indexer::ixIV(0)], \
                        iv[Indexer::ixIV(1)], \
                        iv[Indexer::ixIV(2)], \
                        iv[Indexer::ixIV(3)], \
                        iv[Indexer::ixIV(4)], \
                        iv[Indexer::ixIV(5)])

Referenced by CHArray< Box, 1, ArZeroCol >::operator()().


Typedef Documentation

typedef double Real

typedef CHArray<Real, 1, ArZeroCol, ArSp::DefaultArrayAlloc<Real> > CHVector

Vector definition.

typedef CHArray<Real, 2, ArZeroCol, ArSp::DefaultArrayAlloc<Real> > CHMatrix

Matrix defined with column-ordered storage.


Function Documentation

ArSp::USz_t operator* ( const CHRange a,
const CHRange b 
) [inline]

Multiply two dimensions.

References ArSp::sizeOfDim().

ArSp::USz_t operator* ( const ArSp::USz_t i,
const CHRange a 
) [inline]

References ArSp::sizeOfDim().

ArSp::USz_t operator* ( const CHRange a,
const ArSp::USz_t i 
) [inline]

References ArSp::sizeOfDim().

template<typename T, unsigned Rank, int ArConf, typename Alloc>
std::ostream& operator<< ( std::ostream &  os,
const CHArray< T, Rank, ArConf, Alloc > &  A 
) [inline]

template<>
std::ostream& operator<< ( std::ostream &  os,
const CHMatrix M 
) [inline]

Pretty output of a matrix (should be in .cpp).

References CH_assert, CHArray< T, Rank, ArConf, Alloc >::isAllocated(), M, and CHArray< T, Rank, ArConf, Alloc >::size().


Generated on Tue Sep 26 03:18:53 2017 for Chombo + EB + MF by  doxygen 1.5.5