13 #ifndef _EBLEVELADVECT_H_ 14 #define _EBLEVELADVECT_H_ 25 #include "NamespaceHeader.H" 54 const bool& a_hasCoarser,
55 const bool& a_hasFiner,
76 const bool& a_hasCoarser,
77 const bool& a_hasFiner,
109 const Real& a_timeCoarseOld,
110 const Real& a_timeCoarseNew,
111 const Real& a_timeFine,
131 const Box& a_cellBox,
137 bool a_doBoundaryPrim);
150 const Real& a_timeCoarseOld,
151 const Real& a_timeCoarseNew,
152 const Real& a_timeFine,
166 const Box& a_cellBox,
172 bool a_doBoundaryPrim);
222 #include "NamespaceFooter.H" EBPatchAdvect & getPatchAdvect(const DataIndex &a_dit)
Definition: EBLevelAdvect.H:186
bool m_hasFiner
Definition: EBLevelAdvect.H:194
Definition: EBPatchGodunovFactory.H:20
int m_nGhost
Definition: EBLevelAdvect.H:199
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
Definition: EBIndexSpace.H:260
one dimensional dynamic array
Definition: Vector.H:52
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: LayoutData.H:46
Definition: EBPWLFillPatch.H:35
EBISLayout m_thisEBISL
Definition: EBLevelAdvect.H:203
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:195
LayoutData< EBPatchAdvect * > m_ebPatchAdvect
Definition: EBLevelAdvect.H:208
DisjointBoxLayout m_thisGrids
Definition: EBLevelAdvect.H:201
A EBFaceFAB-like container for edge-centered fluxes.
Definition: EBFluxFAB.H:25
static EBIndexSpace * instance()
DisjointBoxLayout m_coarGrids
Definition: EBLevelAdvect.H:202
Definition: EBCellFAB.H:29
double Real
Definition: REAL.H:33
bool m_hasCoarser
Definition: EBLevelAdvect.H:193
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
int m_nVar
Definition: EBLevelAdvect.H:198
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 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:204
EBPWLFillPatch m_fillPatch
Definition: EBLevelAdvect.H:205
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:196
EBLevelAdvect(const EBLevelAdvect &a_input)
Definition: EBLevelAdvect.H:216
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Definition: DataIndex.H:112
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:212
Definition: EBISLayout.H:39
~EBLevelAdvect()
Destructor.
EBPWLFillPatch m_fillPatchVel
Definition: EBLevelAdvect.H:206
ProblemDomain m_domain
Definition: EBLevelAdvect.H:207
int m_refRatCrse
Definition: EBLevelAdvect.H:197
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)