11 #ifndef _LEVELFLUXREGISTER_H_ 12 #define _LEVELFLUXREGISTER_H_ 22 #include "NamespaceHeader.H" 65 bool a_scaleFineFluxes =
true);
78 const Box& a_dProblem,
81 bool a_scaleFineFluxes =
true);
101 bool a_scaleFineFluxes);
125 const Box& a_dProblem,
128 bool a_scaleFineFluxes =
true);
312 #include "NamespaceFooter.H" void poutFineRegisters() const
Definition: LevelFluxRegister.H:36
#define CH_SPACEDIM
Definition: SPACE.H:52
#define CH_assert(cond)
Definition: CHArray.H:37
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
static bool s_verbose
Definition: LevelFluxRegister.H:44
bool m_scaleFineFluxes
Definition: LevelFluxRegister.H:301
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: LayoutData.H:46
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:137
FluxRegDefineStatus
Define status.
Definition: LevelFluxRegister.H:34
void poutCoarseRegisters() const
Definition: LevelFluxRegister.H:39
int m_isDefined
Definition: LevelFluxRegister.H:297
Definition: LevelFluxRegister.H:37
bool hasCF(const DataIndex &a_fineDataIndex, Side::LoHiSide) const
Structure for passing component ranges in code.
Definition: Interval.H:23
virtual ~LevelFluxRegister()
LayoutData< Vector< Box > > & getCoarseLocations(int a_idir, Side::LoHiSide a_sd)
Definition: LevelFluxRegister.H:272
LayoutData< Vector< Box > > m_coarseLocations[CH_SPACEDIM *2]
Definition: LevelFluxRegister.H:293
double Real
Definition: REAL.H:33
Copier m_reverseCopier
Definition: LevelFluxRegister.H:303
int m_nRefine
Definition: LevelFluxRegister.H:299
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
LoHiSide
Definition: LoHiSide.H:27
void incrementCoarse(const FArrayBox &a_coarseFlux, Real a_scale, const DataIndex &a_coarseDataIndex, const Interval &a_srcInterval, const Interval &a_dstInterval, int a_dir)
LevelData< FArrayBox > m_fineFlux
Definition: LevelFluxRegister.H:290
LevelFluxRegister-A class to encapsulate a levels worth of flux registers.
Definition: LevelFluxRegister.H:29
Definition: LevelFluxRegister.H:40
void reflux(LevelData< FArrayBox > &a_uCoarse, Real a_scale)
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
Definition: DataIndex.H:112
Definition: FArrayBox.H:44
LevelData< FArrayBox > m_coarFlux
Definition: LevelFluxRegister.H:289
ProblemDomain m_domain
Definition: LevelFluxRegister.H:295
void incrementFine(const FArrayBox &a_fineFlux, Real a_scale, const DataIndex &a_fineDataIndex, const Interval &a_srcInterval, const Interval &a_dstInterval, int a_dir)
void operator=(const LevelFluxRegister &)
there is no operator= for this class
Copier & getReverseCopier()
Definition: LevelFluxRegister.H:279
virtual void define(const DisjointBoxLayout &a_dbl, const DisjointBoxLayout &a_dblCoarse, const ProblemDomain &a_dProblem, int a_nRefine, int a_nComp, bool a_scaleFineFluxes)
bool isAllDefined() const
Definition: LevelFluxRegister.H:38