#include "CH_assert.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Go to the source code of this file.
Defines | |
#define | CH_SPACEDIM |
#define | CH_SPACEDIM 3 |
#define | LAST_SPACE_H_SPACEDIM 0 |
Variables | |
const int | SpaceDim = CH_SPACEDIM |
#define LAST_SPACE_H_SPACEDIM 0 |
const int SpaceDim = CH_SPACEDIM |
The SpaceDim C++ integer constant specifies the dimension of the Chombo library to be built. It is initialized to the value of the macro CH_SPACEDIM. Hence it will have one of the values 1, 2, or 3.
C++ code that depends on the dimensionality of the problem that you're trying to solve should be cast in terms of this constant, instead of the CH_SPACEDIM macro, if possible, as constants are visible to debuggers while macros are not.
Referenced by ProblemDomain::contains(), MiniIFFAB< T >::define(), BaseIFFAB< T >::define(), BaseEBFaceFAB< T >::define(), ViscousTensorOp::diagonalScale(), EBViscousTensorOp::diagonalScale(), ViscousBaseEBBC::getBoundaryGrad(), ViscousBaseEBBC::getChangeInSolution(), ViscousTensorOp::getFlux(), EBViscousTensorOp::getFlux(), EBAMRPoissonOp::getFlux(), AMRPoissonOp::getFlux(), ViscousBaseEBBC::getFluxFromGrad(), DirichletViscousTensorEBBC::getFluxStencil(), TensorCFInterp::gradIndex(), GraphNodeImplem::index(), IFData< dim >::midPtRootFinder(), EBFluxFAB::operator*=(), EBFluxFAB::operator+=(), EBFluxFAB::operator-=(), EBFluxFAB::operator/=(), ProblemDomain::operator=(), ProblemDomain::operator==(), RealVect::operator[](), IntVect::operator[](), ProblemDomain::ProblemDomain(), RealVect::RealVect(), IntVect::reflect(), IntVect::setVal(), IntVect::shift(), BaseLevelTGA< T, TFlux, TFR >::updateSoln(), ReferenceHeightIF::value(), and RealVect::vectorLength().