11 #ifndef _NEWMULTIBLOCKFLUXREGISTER_H_ 12 #define _NEWMULTIBLOCKFLUXREGISTER_H_ 16 #include "NamespaceHeader.H" 44 bool a_scaleFineFluxes=
false,
45 int a_unrefinedDirection=-1)
53 a_unrefinedDirection);
74 bool a_scaleFineFluxes=
false,
75 int a_unrefinedDirection=-1);
140 #include "NamespaceFooter.H" 142 #endif // include guard Vector< RefCountedPtr< BlockRegister > > m_coarRegisters
Definition: NewMultiBlockFluxRegister.H:117
void getCoFiBoxBlockList(std::list< Box > &a_blockBoxesCoFi, RefCountedPtr< MultiBlockCoordSys > &a_domCoar, const DisjointBoxLayout &a_dblFine)
NewMultiBlockFluxRegister()
Definition: NewMultiBlockFluxRegister.H:60
Vector< RefCountedPtr< BlockRegister > > m_blockCFLocations
Definition: NewMultiBlockFluxRegister.H:120
void defineBlockBoundaries(RefCountedPtr< MultiBlockCoordSys > a_domain, const DisjointBoxLayout &a_dblFine)
LevelData< FluxBox > m_fluxCoFi
Definition: NewMultiBlockFluxRegister.H:119
A reference-counting handle class.
Definition: RefCountedPtr.H:173
~NewMultiBlockFluxRegister()
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, Side::LoHiSide a_sd)
int m_nComp
Definition: NewMultiBlockFluxRegister.H:122
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, Side::LoHiSide a_sd)
one dimensional dynamic array
Definition: Vector.H:53
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: BoxLayout.H:26
NewMultiBlockFluxRegister(RefCountedPtr< MultiBlockCoordSys > a_domCoar, const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar, int a_nRefine, int a_nComp, bool a_scaleFineFluxes=false, int a_unrefinedDirection=-1)
Definition: NewMultiBlockFluxRegister.H:38
LayoutData< Vector< Box > > m_fineBlockBoundaries
Definition: NewMultiBlockFluxRegister.H:121
virtual void reflux(LevelData< FArrayBox > &a_uCoarse, Real a_scale)
Structure for passing component ranges in code.
Definition: Interval.H:23
double Real
Definition: REAL.H:33
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
LoHiSide
Definition: LoHiSide.H:27
Definition: NewMultiBlockFluxRegister.H:31
LevelFluxRegister-A class to encapsulate a levels worth of flux registers.
Definition: LevelFluxRegister.H:29
Definition: DataIndex.H:114
Definition: FArrayBox.H:45
void defineBlockCFLocations(RefCountedPtr< MultiBlockCoordSys > a_domain, const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar)
Vector< RefCountedPtr< BlockRegister > > m_cofiRegisters
Definition: NewMultiBlockFluxRegister.H:118
virtual void define(RefCountedPtr< MultiBlockCoordSys > a_domainCoar, const DisjointBoxLayout &a_dbl, const DisjointBoxLayout &a_dblCoarse, int a_nRefine, int a_nComp, bool a_scaleFineFluxes=false, int a_unrefinedDirection=-1)
static int index(int a_dir, Side::LoHiSide a_side)