Chombo + EB + MF  3.2
Macros | Variables
SPACE.H File Reference
#include "CH_assert.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Include dependency graph for SPACE.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _SPACE_H_
 
#define CH_SPACEDIM
 
#define CH_SPACEDIM   3
 
#define LAST_SPACE_H_SPACEDIM   0
 

Variables

const int SpaceDim = CH_SPACEDIM
 

Macro Definition Documentation

◆ _SPACE_H_

#define _SPACE_H_

◆ LAST_SPACE_H_SPACEDIM

#define LAST_SPACE_H_SPACEDIM   0

Variable Documentation

◆ SpaceDim

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 BASISV(), ViscousBaseDomainBC::bcvaluefunc(), TransformIF::boxLayoutChanged(), GeometryShop::canGenerateMultiCells(), IntVect::coarsen(), CoDimCopyManager< T >::CoDimCopyManager(), CompGridVTOBC::CompGridVTOBC(), ConstAnalytic::ConstAnalytic(), RealBox::contains(), ProblemDomain::contains(), CoordTransform::CoordTransform(), CubeAnalytic::CubeAnalytic(), BaseIFFAB< FaceStencil >::define(), CodimBox< S >::define(), MiniIFFAB< Real >::define(), BaseEBFaceFAB< Real >::define(), ProblemDomain::define(), BaseIF::derivative(), RealTensor::det(), ViscousTensorOp::diagonalScale(), NWOViscousTensorOp::diagonalScale(), EBViscousTensorOp::diagonalScale(), NWOEBViscousTensorOp::diagonalScale(), NewCoordSys::dimension(), ViscousTensorOp::divideByIdentityCoef(), NWOViscousTensorOp::divideByIdentityCoef(), EBViscousTensorOp::divideByIdentityCoef(), NWOEBViscousTensorOp::divideByIdentityCoef(), CoordTransform::expand(), ParticleData< P >::fillGhosts(), NeumannViscousTensorDomainBC::fillVelGhost(), DirichletViscousTensorDomainBC::fillVelGhost(), MixedViscousTensorDomainBC::fillVelGhost(), ViscousBaseEBBC::getBoundaryGrad(), ViscousBaseEBBC::getChangeInSolution(), EBPatchGodunov::getEntireBox(), VCAMRPoissonOp2::getFlux(), ViscousTensorOp::getFlux(), NWOViscousTensorOp::getFlux(), EBAMRPoissonOp::getFlux(), AMRPoissonOp::getFlux(), ViscousBaseDomainBC::getFluxFromGrad(), ViscousBaseEBBC::getFluxFromGrad(), DirichletViscousTensorEBBC::getFluxStencil(), PolyGeom::getJacobianAndInverse(), FourthOrderCoordSys::getMetricTermComponent(), NewFourthOrderCoordSys::getNcomponent(), NewFourthOrderCoordSys::getNumN(), PolyGeom::getTangentVectors(), TensorCFInterp::gradIndex(), LinearAnalytic::gradVal(), ConstAnalytic::gradVal(), QuadAnalytic::gradVal(), CubeAnalytic::gradVal(), GraphNodeImplem::index(), Correct1D2D::index(), IntVect::IntVect(), AggEBPWLFillPatch::isDefined(), STLUtil::IVCompareSWO::IVCompareSWO(), LinearAnalytic::LinearAnalytic(), IVSFAB< T >::linearIn(), LDaddFaceOp< T >::linearIn(), LDaddEdgeOp< T >::linearIn(), IVSFAB< T >::linearOut(), BinFab< T >::locateBin(), IntVect::max(), NewFourthOrderCoordSys::metricsCompDir(), IntVect::min(), EBPatchAdvect::numSlopes(), STLUtil::IVCompareSWO::operator()(), STLUtil::RealIntCompare::operator()(), RealTensor::operator()(), CodimBox< S >::operator()(), EBAMRPoissonOp::StencilIndexComparator::operator()(), MFPoissonOp::StencilIndexComparator::operator()(), EBFluxFAB::operator*=(), EBFluxFAB::operator+=(), EBFluxFAB::operator-=(), EBFluxFAB::operator/=(), RealTensor::operator=(), CoordTransform::operator=(), ProblemDomain::operator=(), ProblemDomain::operator==(), RealVect::operator[](), permute(), powerIndex(), ProblemDomain::ProblemDomain(), QuadAnalytic::QuadAnalytic(), RealVect::radSquared(), RealTensor::RealTensor(), RealVect::RealVect(), IntVect::reflect(), reflect(), CoordTransform::reverse(), IndexedMoments< SpaceDim, CH_EBIS_ORDER >::setSize(), IntVect::setVal(), EBAdvectPatchIntegrator::setVelocities(), IntVect::shift(), SimpleEllipsoidIF::SimpleEllipsoidIF(), IVSFAB< T >::size(), AMRMultiGrid< LevelData< MFCellFAB > >::solveNoInitResid(), IrregNode::spout(), BaseFab< Real >::testBoxAndComp(), IndicesTransformation::transform(), BaseLevelBackwardEuler< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSoln(), BaseLevelCrankNicolson< LevelData< EBCellFAB >, EBFluxFAB, EBFluxRegister >::updateSoln(), BaseLevelTGA< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSolnWithTimeDependentOp(), BaseLevelTGA< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSolnWithTimeIndependentOp(), ReferenceHeightIF::value(), BaseIF::value(), LinearAnalytic::veloVal(), ConstAnalytic::veloVal(), QuadAnalytic::veloVal(), CubeAnalytic::veloVal(), and WriteMultiData< T >::writeData().