11 #ifndef _EBAMRPOISSONOP_H_ 12 #define _EBAMRPOISSONOP_H_ 42 #include "NamespaceHeader.H" 48 #include "petscviewer.h" 52 #define EBAMRPO_NUMSTEN 4 54 #define EBAMRPO_NUMSTEN 8 58 THIS_WILL_ONLY_COMPILE_WHEN_CH_SPACEDIM_IS_2_OR_3;
94 bool& a_layoutChanged,
105 bool a_kappaWeighted =
true);
145 MayDay::Error(
"No weak construction of StencilIndex class.");
196 for (
int idir=0; idir<
SpaceDim; ++idir)
198 if (iv1[idir] != iv2[idir])
200 return (iv1[idir]<iv2[idir]);
203 int p1 = a_s1.
phase();
204 int p2 = a_s2.
phase();
259 for (
int idir = 0; idir <
SpaceDim; idir++)
261 Box ghostedBox = a_grid;
263 ghostedBox.
grow(idir,-1);
266 getFlux(a_flux[idir], a_data[a_dit], ghostedBox, a_grid,
301 bool a_homogeneousBC,
310 bool a_homogeneousBC,
349 const int& a_refToFine,
350 const int& a_refToCoar,
351 const bool& a_hasFine,
352 const bool& a_hasCoar,
353 const bool& a_hasMGObjects,
354 const bool& a_layoutChanged,
355 const int& a_numPreCondIters,
356 const int& a_relaxType,
359 const IntVect& a_ghostCellsPhi,
360 const IntVect& a_ghostCellsRHS,
371 bool a_homogeneousPhysBC=
false);
395 const bool& a_homogeneousPhysBC,
396 const bool& a_homogeneousCFBC);
411 const bool& a_homogeneousPhysBC,
412 const bool& a_homogeneousCFBC,
420 const bool& a_homogeneousPhysBC,
421 const bool& a_homogeneousCFBC,
428 const Real& a_weight,
429 const bool& a_homogeneousPhysBC,
436 const bool& a_homogeneousPhysBC,
444 const Real& a_weight,
445 const bool& a_homogeneousPhysBC);
452 const bool& a_homogeneousPhysBC);
460 bool a_homogeneousPhysBC);
468 const bool& a_homogeneousPhysBC,
469 const bool& a_homogeneousCFBC,
482 const int& a_refRat);
522 const Real& a_scale);
593 bool a_homogeneousBC,
602 bool a_homogeneousBC);
611 bool a_homogeneousBC,
619 bool a_homogeneousBC);
680 const int& a_icolor);
695 const int& a_icolor);
706 bool doFaceInterp =
true);
742 bool a_doFaceInterp);
750 bool a_homogeneousCFBC,
751 bool a_doOnlyRegularInterp =
false);
769 const int& a_refToFine);
899 const Box& a_ghostedBox,
909 const Box& a_ghostedBox,
917 const Box& a_ghostedBox,
929 const bool& a_lowOrder);
939 const bool& a_lowOrder);
965 bool a_homogeneousPhysBC,
976 bool a_homogeneousPhysBC,
994 #include "NamespaceFooter.H" bool m_hasCoar
Definition: EBAMRPoissonOp.H:813
EBMGAverage m_ebAverage
Definition: EBAMRPoissonOp.H:821
Vector< IntVect > m_colors
Definition: EBAMRPoissonOp.H:875
virtual void AMRResidual(LevelData< EBCellFAB > &a_residual, const LevelData< EBCellFAB > &a_phiFine, const LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_phiCoarse, const LevelData< EBCellFAB > &a_rhs, bool a_homogeneousBC, AMRLevelOp< LevelData< EBCellFAB > > *a_finerOp)
LayoutData< VoFIterator > m_vofItIrregDomHi[SpaceDim]
Definition: EBAMRPoissonOp.H:847
virtual void relax(LevelData< EBCellFAB > &a_e, const LevelData< EBCellFAB > &a_residual, int a_iterations)
LayoutData< EBCellFAB > m_cacheInhomDomBCLo[SpaceDim]
Definition: EBAMRPoissonOp.H:851
int m_testRef
Definition: EBAMRPoissonOp.H:777
virtual void create(LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs)
RealVect m_dxFine
Definition: EBAMRPoissonOp.H:793
virtual void AMRResidualNF(LevelData< EBCellFAB > &a_residual, const LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_phiCoarse, const LevelData< EBCellFAB > &a_rhs, bool a_homogeneousBC)
static void setOperatorTime(Real a_time)
Definition: EBAMRPoissonOp.H:279
EBFastFR-A class to encapsulate a levels worth of flux registers.
Definition: EBFastFR.H:39
RealVect m_origin
Definition: EBAMRPoissonOp.H:808
EBISLayout getEBISL() const
Definition: EBLevelGrid.H:93
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
virtual void prolongIncrement(LevelData< EBCellFAB > &a_phiThisLevel, const LevelData< EBCellFAB > &a_correctCoarse)
bool m_hasFine
Definition: EBAMRPoissonOp.H:811
static Real staticMaxNorm(const LevelData< EBCellFAB > &a_rhs, const EBLevelGrid &a_eblg)
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
virtual void setToZero(LevelData< EBCellFAB > &a_lhs)
virtual void createCoarsened(LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs, const int &a_refRat)
void defineWithFiner(const EBLevelGrid &a_eblgFine, const int &a_refToFine)
LayoutData< BaseIVFAB< Real > > m_betaDiagWeight
Definition: EBAMRPoissonOp.H:838
Definition: EBIndexSpace.H:260
virtual void kappaScale(LevelData< EBCellFAB > &a_rhs)
for eb only. kappa weight the rhs but do not multiply by the identity coefficient ...
Definition: EBAMRPoissonOp.H:111
void getDomainFluxStencil(VoFStencil &a_stencil, const VolIndex &a_vof, const int a_comp, const DataIndex &a_dit)
EBFastFR m_fastFR
Definition: EBAMRPoissonOp.H:861
LayoutData< RefCountedPtr< EBStencil > > m_opEBStencilInhomDomHi[SpaceDim]
Definition: EBAMRPoissonOp.H:829
void defineWithCoarser(const EBLevelGrid &a_eblgCoar, const int &a_refToCoar)
Real getRadius(const FaceIndex &a_face, const RealVect &a_centroid)
virtual void GSColorAllIrregular(EBCellFAB &a_phi, const EBCellFAB &a_rhs, const int &a_icolor, const bool &a_homogeneousPhysBC, const DataIndex &a_dit)
void getFluxEBCF(EBFaceFAB &a_flux, const EBCellFAB &a_phi, const Box &a_ghostedBox, Vector< FaceIndex > &a_faceitEBCF, Vector< VoFStencil > &a_ebcfsten, const RealVect &a_dx)
this one is internal (called by refluxing)
one dimensional dynamic array
Definition: Vector.H:52
virtual Real localMaxNorm(const LevelData< EBCellFAB > &a_rhs)
VolIndex m_vof
Definition: EBAMRPoissonOp.H:164
Definition: FaceIndex.H:28
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: LayoutData.H:46
const ProblemDomain & getDomain() const
Definition: EBLevelGrid.H:132
virtual void restrictResidual(LevelData< EBCellFAB > &a_resCoarse, LevelData< EBCellFAB > &a_phiFine, const LevelData< EBCellFAB > &a_rhsFine)
Definition: EBAMRPoissonOp.H:168
int m_refToCoar
Definition: EBAMRPoissonOp.H:810
void applyOpNoCFBCs(LevelData< EBCellFAB > &a_opPhi, const LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > *const a_phiCoar, DataIterator &a_dit, const bool &a_homogeneousPhysBC, const bool &a_homogeneousCFBC, const LevelData< BaseIVFAB< Real > > *const a_ebFluxBCLD)
no exchange of cf interp
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:137
const IntVect m_ghostCellsRHS
Definition: EBAMRPoissonOp.H:780
LayoutData< RefCountedPtr< EBStencil > > m_opEBStencilInhomDomLo[SpaceDim]
Definition: EBAMRPoissonOp.H:828
static void doEBEllipticLoadBalance(bool a_doEBEllipticLoadBalance)
void writeEBAMRname(const Vector< LevelData< EBCellFAB > * > *a_dataPtr, const char *a_filename)
const IntVect & gridIndex() const
Definition: VolIndex.H:119
LayoutData< CFIVS > m_loCFIVS[SpaceDim]
Definition: EBAMRPoissonOp.H:857
LayoutData< BaseIVFAB< VoFStencil > > m_opStencil
Definition: EBAMRPoissonOp.H:826
Definition: EBLevelGrid.H:30
virtual Real dotProduct(const LevelData< EBCellFAB > &a_1, const LevelData< EBCellFAB > &a_2)
LayoutData< VoFIterator > m_vofItIrregColor[EBAMRPO_NUMSTEN]
Definition: EBAMRPoissonOp.H:844
EBISLayout m_ebislCoarMG
Definition: EBAMRPoissonOp.H:882
EBLevelGrid getEBLG()
Definition: EBAMRPoissonOp.H:271
static bool s_doInconsistentRelax
Definition: EBAMRPoissonOp.H:806
Definition: DataIterator.H:140
virtual void dumpAMR(Vector< LevelData< EBCellFAB > *> &a_data, string name)
Definition: EBAMRPoissonOp.H:71
LayoutData< RefCountedPtr< EBStencil > > m_opEBStencil
Definition: EBAMRPoissonOp.H:827
void writeEBLevelname(const LevelData< EBCellFAB > *a_dataPtr, const char *a_filename)
static bool s_turnOffBCs
Definition: EBAMRPoissonOp.H:771
int m_relaxType
Definition: EBAMRPoissonOp.H:815
virtual void applyOp(LevelData< EBCellFAB > &a_opPhi, const LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > *const a_phiCoarse, const bool &a_homogeneousPhysBC, const bool &a_homogeneousCFBC)
Definition: EBFaceFAB.H:28
EBMGInterp m_ebInterp
Definition: EBAMRPoissonOp.H:823
void reflux(LevelData< EBCellFAB > &a_residual, const LevelData< EBCellFAB > &a_phiFine, const LevelData< EBCellFAB > &a_phi, AMRLevelOp< LevelData< EBCellFAB > > *a_finerOp)
void levelMultiColorGS(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_rhs)
LayoutData< RefCountedPtr< EBStencil > > m_colorEBStencilDomHi[EBAMRPO_NUMSTEN][SpaceDim]
Definition: EBAMRPoissonOp.H:833
Copier m_exchangeCopier
Definition: EBAMRPoissonOp.H:819
virtual void GSColorAllRegularClone(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_phiOld, const LevelData< EBCellFAB > &a_rhs, const int &a_icolor, const Real &a_weight, const bool &a_homogeneousPhysBC)
void fast_incrementFRFine(const LevelData< EBCellFAB > &a_phiFine, const LevelData< EBCellFAB > &a_phi, AMRLevelOp< LevelData< EBCellFAB > > *a_finerOp)
Real AMRNorm(const LevelData< EBCellFAB > &a_coarResid, const LevelData< EBCellFAB > &a_fineResid, const int &a_refRat, const int &a_ord)
int m_phase
Definition: EBAMRPoissonOp.H:165
Piecewise constant interpolation.
Definition: EBMGInterp.H:33
LayoutData< RefCountedPtr< EBStencil > > m_invDiagEBStencil
Definition: EBAMRPoissonOp.H:834
void operator=(const EBAMRPoissonOp &a_opin)
Definition: EBAMRPoissonOp.H:987
int m_refToFine
Definition: EBAMRPoissonOp.H:809
const int SpaceDim
Definition: SPACE.H:39
static bool s_areaFracWeighted
Definition: EBAMRPoissonOp.H:773
virtual void scale(LevelData< EBCellFAB > &a_lhs, const Real &a_scale)
Definition: AMRMultiGrid.H:35
static Real s_time
Definition: EBAMRPoissonOp.H:804
virtual int refToCoarser()
virtual void assign(LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs)
VoF-centered stencil.
Definition: Stencils.H:59
RealVect m_invDx
Definition: EBAMRPoissonOp.H:797
RealVect m_invDx2
Definition: EBAMRPoissonOp.H:798
RealVect m_dx
Definition: EBAMRPoissonOp.H:794
void getAlphaDiagWeight(LayoutData< BaseIVFAB< Real > > const *&a_alphaDiagWeight)
Definition: EBAMRPoissonOp.H:720
Definition: EBAMRPoissonOp.H:66
A EBFaceFAB-like container for edge-centered fluxes.
Definition: EBFluxFAB.H:25
void getOpFaceStencil(VoFStencil &a_stencil, const Vector< VolIndex > &a_allMonotoneVofs, const EBISBox &a_ebisbox, const VolIndex &a_vof, int a_dir, const Side::LoHiSide &a_side, const FaceIndex &a_face, const bool &a_lowOrder)
EBLevelGrid m_eblgCoarMG
Definition: EBAMRPoissonOp.H:787
virtual ~EBAMRPoissonOp()
Real m_dxScale
Definition: EBAMRPoissonOp.H:799
void getInvDiagRHS(LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs)
static void getFluxStencil(VoFStencil &a_fluxStencil, const FaceIndex &a_face, const EBISBox &a_ebisBox, const IntVectSet &a_cfivs, const RealVect &a_dx, bool a_doFaceInterp)
virtual void AMRRestrict(LevelData< EBCellFAB > &a_resCoarse, const LevelData< EBCellFAB > &a_residual, const LevelData< EBCellFAB > &a_correction, const LevelData< EBCellFAB > &a_coarseCorrection)
static bool getCoarserLayouts(DisjointBoxLayout &a_dblCoar, ProblemDomain &a_domainCoar, const DisjointBoxLayout &a_dblFine, const EBISLayout &a_ebislFine, const ProblemDomain &a_domainFine, int a_refToCoar, const EBIndexSpace *a_ebisPtr, int a_maxBoxSize, bool &a_layoutChanged, int a_testRef=2)
virtual void AMRProlong(LevelData< EBCellFAB > &a_correction, const LevelData< EBCellFAB > &a_coarseCorrection)
void AMRResidualNC(LevelData< EBCellFAB > &a_residual, const LevelData< EBCellFAB > &a_phiFine, const LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_rhs, bool a_homogeneousBC, AMRLevelOp< LevelData< EBCellFAB > > *a_finerOp)
StencilIndex()
Definition: EBAMRPoissonOp.H:143
const char * name(const FArrayBox &a_dummySpecializationArg)
Definition: CH_HDF5.H:741
void getAlphaBeta(Real &a_alpha, Real &a_beta)
Definition: EBAMRPoissonOp.H:725
Definition: EBCellFAB.H:29
Real m_beta
Definition: EBAMRPoissonOp.H:802
LayoutData< VoFIterator > m_vofItIrreg
Definition: EBAMRPoissonOp.H:843
void fast_incrementFRCoar(const LevelData< EBCellFAB > &a_phiFine, const LevelData< EBCellFAB > &a_phi)
void defineEBCFStencils()
virtual void setTime(Real a_time)
Definition: EBAMRPoissonOp.H:285
EBMGInterp m_ebInterpMG
Definition: EBAMRPoissonOp.H:880
double Real
Definition: REAL.H:33
EBAMRPoissonOp(const EBAMRPoissonOp &a_opin)
Definition: EBAMRPoissonOp.H:982
static void doLazyRelax(bool a_doLazyRelax)
EBLevelGrid m_eblgCoar
Definition: EBAMRPoissonOp.H:786
bool m_hasMGObjects
Definition: EBAMRPoissonOp.H:872
Real m_bCoef
Definition: EBAMRPoissonOp.H:803
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
LayoutData< VoFIterator > m_vofItIrregColorDomHi[EBAMRPO_NUMSTEN][SpaceDim]
Definition: EBAMRPoissonOp.H:850
RefCountedPtr< BaseDomainBC > m_domainBC
Definition: EBAMRPoissonOp.H:790
LoHiSide
Definition: LoHiSide.H:27
static bool s_doEBEllipticLoadBalance
Definition: EBAMRPoissonOp.H:772
static void areaFracWeighted(bool a_areaFracWeighted)
void defineMGObjects(const EBLevelGrid &a_eblgCoarMG)
virtual void AMROperator(LevelData< EBCellFAB > &a_LofPhi, const LevelData< EBCellFAB > &a_phiFine, const LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_phiCoarse, bool a_homogeneousBC, AMRLevelOp< LevelData< EBCellFAB > > *a_finerOp)
virtual void AMROperatorNF(LevelData< EBCellFAB > &a_LofPhi, const LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_phiCoarse, bool a_homogeneousBC)
EBLevelGrid getEBLGCoarMG()
Definition: EBAMRPoissonOp.H:275
virtual void fillGrad(const LevelData< EBCellFAB > &a_phi)
a leveltgaism
Definition: EBAMRPoissonOp.H:126
RefCountedPtr< EBQuadCFInterp > m_quadCFIWithCoar
Definition: EBAMRPoissonOp.H:782
LayoutData< BaseIVFAB< Real > > m_alphaDiagWeight
Definition: EBAMRPoissonOp.H:836
bool m_hasInterpAve
Definition: EBAMRPoissonOp.H:812
static bool s_doTrimEdges
Definition: EBAMRPoissonOp.H:807
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.
virtual Real norm(const LevelData< EBCellFAB > &a_rhs, int a_ord)
virtual void applyOpNoBoundary(LevelData< EBCellFAB > &a_opPhi, const LevelData< EBCellFAB > &a_phi)
virtual function called by LevelTGA
virtual void preCond(LevelData< EBCellFAB > &a_opPhi, const LevelData< EBCellFAB > &a_phi)
LayoutData< Vector< FaceIndex > > m_faceitCoar[2 *SpaceDim]
Definition: EBAMRPoissonOp.H:864
RefCountedPtr< BaseEBBC > m_ebBC
Definition: EBAMRPoissonOp.H:791
void levelGSRB(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_rhs)
virtual void setAlphaAndBeta(const Real &a_alpha, const Real &a_beta)
void setEBBC(const RefCountedPtr< BaseEBBC > &a_ebBC)
LayoutData< RefCountedPtr< EBStencil > > m_colorEBStencilDomLo[EBAMRPO_NUMSTEN][SpaceDim]
Definition: EBAMRPoissonOp.H:832
virtual void setVal(LevelData< EBCellFAB > &a_lhs, const Real &a_value)
bool m_layoutChanged
Definition: EBAMRPoissonOp.H:873
Real m_alpha
Definition: EBAMRPoissonOp.H:800
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
const RefCountedPtr< BaseDomainBC > getDomainBC()
Definition: EBAMRPoissonOp.H:731
void getOpVoFStencil(VoFStencil &a_stencil, const EBISBox &a_ebisbox, const VolIndex &a_vof)
void AMROperatorNC(LevelData< EBCellFAB > &a_LofPhi, const LevelData< EBCellFAB > &a_phiFine, const LevelData< EBCellFAB > &a_phi, bool a_homogeneousBC, AMRLevelOp< LevelData< EBCellFAB > > *a_finerOp)
LayoutData< EBCellFAB > m_cacheInhomDomBCHi[SpaceDim]
Definition: EBAMRPoissonOp.H:852
LayoutData< Vector< VoFStencil > > m_stencilCoar[2 *SpaceDim]
Definition: EBAMRPoissonOp.H:865
void fast_reflux(LevelData< EBCellFAB > &a_residual, const LevelData< EBCellFAB > &a_phiFine, const LevelData< EBCellFAB > &a_phi, AMRLevelOp< LevelData< EBCellFAB > > *a_finerOp)
void slowGSRBColor(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_lph, const LevelData< EBCellFAB > &a_rhs, const IntVect &a_color)
virtual void AMRUpdateResidual(LevelData< EBCellFAB > &a_residual, const LevelData< EBCellFAB > &a_correction, const LevelData< EBCellFAB > &a_coarseCorrection)
Definition: DataIndex.H:112
bool m_hasEBCF
Definition: EBAMRPoissonOp.H:817
Real dx() const
returns m_dx, such function is required by some LinearSolvers
Definition: EBAMRPoissonOp.H:120
int cellIndex() const
Definition: VolIndex.H:127
LayoutData< VoFIterator > m_vofItIrregDomLo[SpaceDim]
Definition: EBAMRPoissonOp.H:846
Piecewise constant interpolation.
Definition: EBMGAverage.H:31
Real m_aCoef
Definition: EBAMRPoissonOp.H:801
StencilIndex & operator=(const StencilIndex &a_sin)
Definition: EBAMRPoissonOp.H:148
void dumpReferenceStencilMatrix()
EBLevelGrid m_eblg
Definition: EBAMRPoissonOp.H:784
void colorGS(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_rhs, const int &a_icolor)
LayoutData< VoFIterator > m_vofItIrregColorDomLo[EBAMRPO_NUMSTEN][SpaceDim]
Definition: EBAMRPoissonOp.H:849
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
ProblemDomain m_domainCoarMG
Definition: EBAMRPoissonOp.H:883
void colorGSClone(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_phiOld, const LevelData< EBCellFAB > &a_rhs, const int &a_icolor)
LayoutData< CFIVS > m_hiCFIVS[SpaceDim]
Definition: EBAMRPoissonOp.H:858
void THIS_IS_AN_ERROR_MESSAGE(void)
Definition: EBAMRPoissonOp.H:56
Volume of Fluid Index.
Definition: VolIndex.H:31
void applyCFBCs(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > *const a_phiCoarse, bool a_homogeneousCFBC, bool a_doOnlyRegularInterp=false)
void levelMultiColorGSClone(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_rhs)
Box & grow(int i)
grow functions
Definition: Box.H:2268
EBMGAverage m_ebAverageMG
Definition: EBAMRPoissonOp.H:879
EBLevelGrid m_eblgCoarsenedFine
Definition: EBAMRPoissonOp.H:788
Definition: EBISLayout.H:39
virtual void getFlux(EBFluxFAB &a_flux, const LevelData< EBCellFAB > &a_data, const Box &a_grid, const DataIndex &a_dit, Real a_scale)
Definition: EBAMRPoissonOp.H:253
virtual void diagonalScale(LevelData< EBCellFAB > &a_rhs, bool a_kappaWeighted=true)
static bool s_doLazyRelax
Definition: EBAMRPoissonOp.H:805
void applyOpRegularAllDirs(Box *a_loBox, Box *a_hiBox, int *a_hasLo, int *a_hasHi, Box &a_curOpPhiBox, Box &a_curPhiBox, int a_nComps, BaseFab< Real > &a_curOpPhiFAB, const BaseFab< Real > &a_curPhiFAB, bool a_homogeneousPhysBC, const DataIndex &a_dit, const Real &a_beta)
void levelSlowRelax(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_rhs)
virtual void residual(LevelData< EBCellFAB > &a_residual, const LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_rhs, bool a_homogeneousPhysBC=false)
StencilIndex(VolIndex &a_vof, int &a_phase)
Definition: EBAMRPoissonOp.H:136
const IntVect m_ghostCellsPhi
Definition: EBAMRPoissonOp.H:779
virtual void axby(LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_x, const LevelData< EBCellFAB > &a_y, Real a_a, Real a_b)
virtual void GSColorAllIrregularClone(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_phiOld, const LevelData< EBCellFAB > &a_rhs, const int &a_icolor, const bool &a_homogeneousPhysBC)
virtual void GSColorAllRegular(BaseFab< Real > &a_phi, const BaseFab< Real > &a_rhs, const int &a_icolor, const Real &a_weight, const bool &a_homogeneousPhysBC, const DataIndex &a_dit)
void getFluxRegO(EBFaceFAB &a_flux, const EBCellFAB &a_phi, const Box &a_ghostedBox, const RealVect &a_dx)
this one is internal (called by refluxing)
void applyDomainFlux(Box *a_loBox, Box *a_hiBox, int *a_hasLo, int *a_hasHi, Box &a_curPhiBox, int a_nComps, BaseFab< Real > &a_phiFAB, bool a_homogeneousPhysBC, const DataIndex &a_dit, const Real &a_beta)
virtual void dumpLevel(LevelData< EBCellFAB > &a_data, string name)
Definition: EBAMRPoissonOp.H:76
VolIndex vof() const
Definition: EBAMRPoissonOp.H:153
static void getFaceCenteredFluxStencil(VoFStencil &a_fluxStencil, const FaceIndex &a_face, const RealVect &a_dx)
virtual void incr(LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_x, Real a_scale)
void levelJacobi(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_rhs)
int m_numPreCondIters
Definition: EBAMRPoissonOp.H:814
LayoutData< BaseIVFAB< Real > > m_one
Definition: EBAMRPoissonOp.H:840
virtual void getOpMatrix(const LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_rhs)
void getVoFStencil(LayoutData< BaseIVFAB< VoFStencil > > const *&a_vofStencil)
Definition: EBAMRPoissonOp.H:714
EBLevelGrid m_eblgFine
Definition: EBAMRPoissonOp.H:785
Definition: EBAMRPoissonOp.H:133
virtual void divideByIdentityCoef(LevelData< EBCellFAB > &a_rhs)
Definition: EBAMRPoissonOp.H:106
static void getDivFStencil(VoFStencil &a_vofStencil, const VolIndex &a_vof, const EBISBox &a_ebisBox, const IntVectSet &a_cfivs, const RealVect &a_dx, bool doFaceInterp=true)
DisjointBoxLayout m_dblCoarMG
Definition: EBAMRPoissonOp.H:881
LayoutData< RefCountedPtr< EBStencil > > m_colorEBStencil[EBAMRPO_NUMSTEN]
Definition: EBAMRPoissonOp.H:831
RealVect m_dxCoar
Definition: EBAMRPoissonOp.H:795
void applyHomogeneousCFBCs(LevelData< EBCellFAB > &a_phi)
int phase() const
Definition: EBAMRPoissonOp.H:158
virtual void createCoarser(LevelData< EBCellFAB > &a_coarse, const LevelData< EBCellFAB > &a_fine, bool a_ghosted)