13 #ifndef _EBLEVELADVECT_H_ 14 #define _EBLEVELADVECT_H_ 25 #include "NamespaceHeader.H" 60 const bool& a_hasCoarser,
61 const bool& a_hasFiner,
63 const bool& a_forceNoEBCF =
false,
86 const bool& a_hasCoarser,
87 const bool& a_hasFiner,
89 const bool& a_forceNoEBCF =
false,
120 const Real& a_timeCoarseOld,
121 const Real& a_timeCoarseNew,
122 const Real& a_timeFine,
142 const Box& a_cellBox,
148 bool a_doBoundaryPrim);
161 const Real& a_timeCoarseOld,
162 const Real& a_timeCoarseNew,
163 const Real& a_timeFine,
177 const Box& a_cellBox,
183 bool a_doBoundaryPrim);
234 #include "NamespaceFooter.H" EBPatchAdvect & getPatchAdvect(const DataIndex &a_dit)
Definition: EBLevelAdvect.H:197
AggEBPWLFillPatch m_fillPatch
Definition: EBLevelAdvect.H:217
bool m_hasFiner
Definition: EBLevelAdvect.H:205
Definition: EBPatchGodunovFactory.H:20
int m_nGhost
Definition: EBLevelAdvect.H:211
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
Definition: EBIndexSpace.H:50
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
Definition: AggEBPWLFillPatch.H:36
EBISLayout m_thisEBISL
Definition: EBLevelAdvect.H:215
Definition: EBPatchAdvect.H:25
void computeNormalVel(LevelData< EBCellFAB > &a_normalVel, const LevelData< EBFluxFAB > &a_advectionVel, const LayoutData< Vector< BaseIVFAB< Real > * > > &a_coveredVeloLo, const LayoutData< Vector< BaseIVFAB< Real > * > > &a_coveredVeloHi, const LayoutData< Vector< Vector< VolIndex > > > &a_coveredFaceLo, const LayoutData< Vector< Vector< VolIndex > > > &a_coveredFaceHi) const
Definition: EBLevelAdvect.H:31
EBLevelAdvect()
Default constructor.
bool m_isDefined
Definition: EBLevelAdvect.H:207
LayoutData< EBPatchAdvect * > m_ebPatchAdvect
Definition: EBLevelAdvect.H:220
DisjointBoxLayout m_thisGrids
Definition: EBLevelAdvect.H:213
A EBFaceFAB-like container for edge-centered fluxes.
Definition: EBFluxFAB.H:25
static EBIndexSpace * instance()
DisjointBoxLayout m_coarGrids
Definition: EBLevelAdvect.H:214
Definition: EBCellFAB.H:29
double Real
Definition: REAL.H:33
bool m_forceNoEBCF
Definition: EBLevelAdvect.H:206
bool m_hasCoarser
Definition: EBLevelAdvect.H:204
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
int m_nVar
Definition: EBLevelAdvect.H:210
void define(const DisjointBoxLayout &a_thisDBL, const DisjointBoxLayout &a_coarDBL, const EBISLayout &a_thisEBISL, const EBISLayout &a_coarEBISL, const ProblemDomain &a_DProblem, const int &a_nRefine, const RealVect &a_dx, const bool &a_hasCoarser, const bool &a_hasFiner, const EBPatchGodunovFactory *const a_patchGodunov, const bool &a_forceNoEBCF=false, const EBIndexSpace *const a_eb=Chombo_EBIS::instance())
Actual constructor.
void advectToFacesBCG(LevelData< EBFluxFAB > &a_extrapState, const LevelData< EBCellFAB > &a_consState, const LevelData< EBCellFAB > &a_normalVel, const LevelData< EBFluxFAB > &a_advectionVel, const LevelData< EBCellFAB > *a_consStateCoarseOld, const LevelData< EBCellFAB > *a_consStateCoarseNew, const LevelData< EBCellFAB > *a_normalVelCoarseOld, const LevelData< EBCellFAB > *a_normalVelCoarseNew, const Real &a_timeCoarseOld, const Real &a_timeCoarseNew, const Real &a_timeFine, const Real &a_dt, const LevelData< EBCellFAB > *const a_source=NULL, const LevelData< EBCellFAB > *const a_sourceCoarOld=NULL, const LevelData< EBCellFAB > *const a_sourceCoarNew=NULL)
EBISLayout m_coarEBISL
Definition: EBLevelAdvect.H:216
static void Error(const char *const a_msg=m_nullString, int m_exitCode=CH_DEFAULT_ERROR_CODE)
Print out message to cerr and exit with the specified exit code.
RealVect m_dx
Definition: EBLevelAdvect.H:208
EBLevelAdvect(const EBLevelAdvect &a_input)
Definition: EBLevelAdvect.H:228
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
AggEBPWLFillPatch m_fillPatchVel
Definition: EBLevelAdvect.H:218
Definition: DataIndex.H:114
void resetBCs(const RefCountedPtr< EBPhysIBCFactory > &a_advectBC)
void advectToFacesCol(LevelData< EBFluxFAB > &a_extrapState, LayoutData< Vector< BaseIVFAB< Real > * > > &a_coveredPrimLo, LayoutData< Vector< BaseIVFAB< Real > * > > &a_coveredPrimHi, const LayoutData< Vector< Vector< VolIndex > > > &a_coveredFaceLo, const LayoutData< Vector< Vector< VolIndex > > > &a_coveredFaceHi, const LayoutData< Vector< IntVectSet > > &a_coveredSetsLo, const LayoutData< Vector< IntVectSet > > &a_coveredSetsHi, const LevelData< EBCellFAB > &a_consState, const LevelData< EBCellFAB > &a_normalVel, const LevelData< EBFluxFAB > &a_advectionVel, const LevelData< EBCellFAB > *a_consStateCoarseOld, const LevelData< EBCellFAB > *a_consStateCoarseNew, const LevelData< EBCellFAB > *a_normalVelCoarseOld, const LevelData< EBCellFAB > *a_normalVelCoarseNew, const Real &a_timeCoarseOld, const Real &a_timeCoarseNew, const Real &a_timeFine, const Real &a_dt, const LevelData< EBCellFAB > *const a_source=NULL, const LevelData< EBCellFAB > *const a_sourceCoarOld=NULL, const LevelData< EBCellFAB > *const a_sourceCoarNew=NULL)
void operator=(const EBLevelAdvect &a_input)
Definition: EBLevelAdvect.H:224
Definition: EBISLayout.H:39
~EBLevelAdvect()
Destructor.
ProblemDomain m_domain
Definition: EBLevelAdvect.H:219
int m_refRatCrse
Definition: EBLevelAdvect.H:209
void advectToFaces(EBFluxFAB &a_extrapState, BaseIVFAB< Real > &a_boundaryPrim, Vector< BaseIVFAB< Real > * > &a_coveredPrimLo, Vector< BaseIVFAB< Real > * > &a_coveredPrimHi, const Vector< Vector< VolIndex > > &a_coveredFaceLo, const Vector< Vector< VolIndex > > &a_coveredFaceHi, const Vector< IntVectSet > &a_coveredSetsLo, const Vector< IntVectSet > &a_coveredSetsHi, const EBCellFAB &a_consState, const EBCellFAB &a_normalVel, const EBFluxFAB &a_advectionVel, const Box &a_cellBox, const EBISBox &a_ebisBox, const Real &a_dt, const Real &a_time, const EBCellFAB &a_source, const DataIndex &a_dit, bool a_doBoundaryPrim)