11 #ifndef _LEVELFLUXREGISTER_H_ 12 #define _LEVELFLUXREGISTER_H_ 22 #include "NamespaceHeader.H" 65 bool a_scaleFineFluxes =
true,
66 int a_unrefinedDirection=-1);
79 const Box& a_dProblem,
82 bool a_scaleFineFluxes =
true,
83 int a_unrefinedDirection = -1);
103 bool a_scaleFineFluxes,
104 int a_unrefinedDirection = -1);
128 const Box& a_dProblem,
131 bool a_scaleFineFluxes =
true);
318 #include "NamespaceFooter.H" void poutFineRegisters() const
Definition: LevelFluxRegister.H:36
bool m_noRealCoarseFineInterface
Definition: LevelFluxRegister.H:310
#define CH_SPACEDIM
Definition: SPACE.H:51
#define CH_assert(cond)
Definition: CHArray.H:37
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
static bool s_verbose
Definition: LevelFluxRegister.H:44
virtual void incrementFine(const FArrayBox &a_fineFlux, Real a_scale, const DataIndex &a_fineDataIndex, const Interval &a_srcInterval, const Interval &a_dstInterval, int a_dir)
bool m_scaleFineFluxes
Definition: LevelFluxRegister.H:304
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: BoxLayout.H:26
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:152
FluxRegDefineStatus
Define status.
Definition: LevelFluxRegister.H:34
void poutCoarseRegisters() const
IntVect m_nRefine
Definition: LevelFluxRegister.H:302
virtual void define(const DisjointBoxLayout &a_dbl, const DisjointBoxLayout &a_dblCoarse, const ProblemDomain &a_dProblem, int a_nRefine, int a_nComp, bool a_scaleFineFluxes, int a_unrefinedDirection=-1)
Definition: LevelFluxRegister.H:39
int m_isDefined
Definition: LevelFluxRegister.H:300
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:275
LayoutData< Vector< Box > > m_coarseLocations[CH_SPACEDIM *2]
Definition: LevelFluxRegister.H:296
double Real
Definition: REAL.H:33
Copier m_reverseCopier
Definition: LevelFluxRegister.H:308
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
LoHiSide
Definition: LoHiSide.H:27
virtual 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:293
LevelFluxRegister-A class to encapsulate a levels worth of flux registers.
Definition: LevelFluxRegister.H:29
Definition: LevelFluxRegister.H:40
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
Definition: DataIndex.H:114
virtual void reflux(LevelData< FArrayBox > &a_uCoarse, Real a_scale)
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: FArrayBox.H:45
LevelData< FArrayBox > m_coarFlux
Definition: LevelFluxRegister.H:292
ProblemDomain m_domain
Definition: LevelFluxRegister.H:298
int m_unrefinedDirection
Definition: LevelFluxRegister.H:306
void operator=(const LevelFluxRegister &)
there is no operator= for this class
Copier & getReverseCopier()
Definition: LevelFluxRegister.H:282
bool isAllDefined() const
Definition: LevelFluxRegister.H:38