13 #ifndef _AGGEBPWLFILLPATCH_H_ 14 #define _AGGEBPWLFILLPATCH_H_ 28 #include "NamespaceHeader.H" 76 const bool& a_forceNoEBCF =
false,
87 const bool& a_forceNoEBCF =
false,
96 a_nref, a_nvar, a_radius, a_ghost, a_forceNoEBCF, a_eb);
127 const bool& a_forceNoEBCF =
false,
160 const Real& a_coarTimeOld,
161 const Real& a_coarTimeNew,
162 const Real& a_fineTime,
186 const Real& a_coarTimeOld,
187 const Real& a_coarTimeNew,
188 const Real& a_fineTime,
303 #include "NamespaceFooter.H"
void getLoHiCenIVS(LayoutData< IntVectSet > a_coarLoInterp[SpaceDim], LayoutData< IntVectSet > a_coarHiInterp[SpaceDim], LayoutData< IntVectSet > a_coarCeInterp[SpaceDim])
access_t data_access
Definition: AggEBPWLFillPatch.H:245
IntVect m_ghost
Definition: AggEBPWLFillPatch.H:265
EBISLayout getEBISL() const
Definition: EBLevelGrid.H:93
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
Definition: EBIndexSpace.H:50
virtual ~AggEBPWLFillPatch()
Fills ghost cells by linear interpolation in space and time.
Definition: PiecewiseLinearFillPatch.H:128
DisjointBoxLayout m_coarGrids
Definition: AggEBPWLFillPatch.H:271
LayoutData< Vector< fine_logic_t > > m_fineOffsets
Definition: AggEBPWLFillPatch.H:254
IntVect fineiv
Definition: AggEBPWLFillPatch.H:239
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: BoxLayout.H:26
const ProblemDomain & getDomain() const
Definition: EBLevelGrid.H:132
int m_nComp
Definition: AggEBPWLFillPatch.H:280
size_t offset
Definition: AggEBPWLFillPatch.H:230
LayoutData< BaseIVFAB< Real > > m_slopeLoNew[SpaceDim]
Definition: AggEBPWLFillPatch.H:288
LayoutData< BaseIVFAB< Real > > m_slopeHiNew[SpaceDim]
Definition: AggEBPWLFillPatch.H:289
Definition: AggEBPWLFillPatch.H:234
Definition: AggEBPWLFillPatch.H:36
Definition: EBLevelGrid.H:30
void getSten(LayoutData< Vector< VoFStencil > > a_loStencils[SpaceDim], LayoutData< Vector< VoFStencil > > a_hiStencils[SpaceDim], LayoutData< IntVectSet > a_coarLoInterp[SpaceDim], LayoutData< IntVectSet > a_coarHiInterp[SpaceDim], LayoutData< IntVectSet > a_coarCeInterp[SpaceDim], const LayoutData< Vector< VolIndex > > &a_srcVoFs)
DisjointBoxLayout getDBL() const
Definition: EBLevelGrid.H:86
void defineAggStencils(LayoutData< Vector< VoFStencil > > a_loStencils[SpaceDim], LayoutData< Vector< VoFStencil > > a_hiStencils[SpaceDim], const LayoutData< Vector< VolIndex > > &a_srcVoFs)
ProblemDomain m_coarDomain
Definition: AggEBPWLFillPatch.H:267
bool m_forceNoEBCF
Definition: AggEBPWLFillPatch.H:258
DisjointBoxLayout m_coarsenedFineGrids
Definition: AggEBPWLFillPatch.H:269
EBISLayout m_coarsenedFineEBISL
Definition: AggEBPWLFillPatch.H:272
virtual void definePieceWiseLinearFillPatch(const DisjointBoxLayout &a_dblfine, const DisjointBoxLayout &a_dblCoar)
LayoutData< BaseIVFAB< Real > > m_slopeCeOld[SpaceDim]
Definition: AggEBPWLFillPatch.H:287
LevelData< EBCellFAB > m_coarOnFDataOld
Definition: AggEBPWLFillPatch.H:276
const int SpaceDim
Definition: SPACE.H:38
bool m_isDefined
Definition: AggEBPWLFillPatch.H:259
LayoutData< RefCountedPtr< AggStencil< EBCellFAB, BaseIVFAB< Real > > > > m_stenHi[SpaceDim]
Definition: AggEBPWLFillPatch.H:293
int dataID
Definition: AggEBPWLFillPatch.H:231
static EBIndexSpace * instance()
void defineSlopeHolders(const LayoutData< IntVectSet > &a_irregRegionsCoFi)
PiecewiseLinearFillPatch * m_patcher
Definition: AggEBPWLFillPatch.H:262
bool isDefined() const
Definition: AggEBPWLFillPatch.H:135
Structure for passing component ranges in code.
Definition: Interval.H:23
IntVect coariv
Definition: AggEBPWLFillPatch.H:238
Definition: EBCellFAB.H:29
double Real
Definition: REAL.H:33
void deltaMinMod(Real &a_slope, Real &a_slopeLo, Real &a_slopeHi) const
LayoutData< Vector< coar_logic_t > > m_coarOffsets
Definition: AggEBPWLFillPatch.H:256
LevelData< EBCellFAB > m_coarOnFDataNew
Definition: AggEBPWLFillPatch.H:277
void getIVS(LayoutData< IntVectSet > &a_irregRegionsFine, LayoutData< IntVectSet > &a_irregRegionsCoFi, LayoutData< Vector< VolIndex > > &a_srcVoFs)
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
access_t slop_access
Definition: AggEBPWLFillPatch.H:244
void interpolateFAB(EBCellFAB &a_fine, const EBCellFAB &a_coarOld, const EBCellFAB &a_coarNew, const Real &a_coarTimeOld, const Real &a_coarTimeNew, const Real &a_fineTime, const DataIndex &a_datInd, const Interval &a_variables) const
Definition: DataIndex.H:112
access_t dest_access
Definition: AggEBPWLFillPatch.H:236
void getSlopes(const EBCellFAB &a_coarDataOld, const EBCellFAB &a_coarDataNew, const DataIndex &a_dit, const Interval &a_variables) const
Definition: AggEBPWLFillPatch.H:242
AggEBPWLFillPatch(const EBLevelGrid &a_eblgFine, const EBLevelGrid &a_eblgCoar, const int &a_nref, const int &a_nvar, const int &a_radius, const IntVect &a_ghost, const bool &a_forceNoEBCF=false, const EBIndexSpace *const a_eb=Chombo_EBIS::instance())
saner interface
Definition: AggEBPWLFillPatch.H:81
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
LayoutData< BaseIVFAB< Real > > m_slopeCeNew[SpaceDim]
Definition: AggEBPWLFillPatch.H:290
LayoutData< RefCountedPtr< AggStencil< EBCellFAB, BaseIVFAB< Real > > > > m_stenLo[SpaceDim]
Definition: AggEBPWLFillPatch.H:292
EBISLayout m_fineEBISL
Definition: AggEBPWLFillPatch.H:273
Definition: AggEBPWLFillPatch.H:228
int m_refRat
Definition: AggEBPWLFillPatch.H:279
DisjointBoxLayout m_fineGrids
Definition: AggEBPWLFillPatch.H:270
Definition: EBISLayout.H:39
LayoutData< BaseIVFAB< Real > > m_slopeHiOld[SpaceDim]
Definition: AggEBPWLFillPatch.H:286
int slop_index
Definition: AggEBPWLFillPatch.H:237
void operator=(const AggEBPWLFillPatch &fabin)
void getOffsets(const LayoutData< Vector< VolIndex > > &a_srcVoFsCoar, const LayoutData< IntVectSet > &a_irregRegionsFine, const LayoutData< Vector< VoFStencil > > a_loStencils[SpaceDim], const LayoutData< Vector< VoFStencil > > a_hiStencils[SpaceDim], const LayoutData< IntVectSet > a_coarLoInterp[SpaceDim], const LayoutData< IntVectSet > a_coarHiInterp[SpaceDim], const LayoutData< IntVectSet > a_coarCeInterp[SpaceDim])
int m_coarGhostRad
Definition: AggEBPWLFillPatch.H:282
virtual void interpolate(LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarDataOld, const LevelData< EBCellFAB > &a_coarDataNew, const Real &a_coarTimeOld, const Real &a_coarTimeNew, const Real &a_fineTime, const Interval &a_variables) const
int m_radius
Definition: AggEBPWLFillPatch.H:281
LayoutData< BaseIVFAB< Real > > m_slopeLoOld[SpaceDim]
Definition: AggEBPWLFillPatch.H:285
void define(const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar, const EBISLayout &a_ebislFine, const EBISLayout &a_ebislCoar, const ProblemDomain &a_domainCoar, const int &a_nref, const int &a_nvar, const int &a_radius, const IntVect &a_ghost, const bool &a_forceNoEBCF=false, const EBIndexSpace *const a_eb=Chombo_EBIS::instance())