11 #ifndef _EBBACKWARDEULER_H_ 12 #define _EBBACKWARDEULER_H_ 25 #include "NamespaceHeader.H" 48 int a_numLevels = -1,
int a_verbosity = 3);
61 bool a_zeroPhi =
true,
62 const bool a_kappaWeighted =
false);
73 int a_lbase,
int a_lmax,
bool a_zeroPhi);
91 const bool a_kappaWeighted =
false);
131 #include "NamespaceFooter.H" Vector< LevelData< EBCellFAB > *> m_rhst
Definition: EBBackwardEuler.H:104
void solveHelm(Vector< LevelData< EBCellFAB > * > &a_ans, Vector< LevelData< EBCellFAB > * > &a_rhs, int a_lbase, int a_lmax, Real a_dt, bool a_zeroPhi)
A reference-counting handle class.
Definition: RefCountedPtr.H:66
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
void computeDiffusion(Vector< LevelData< EBCellFAB > * > &a_diffusiveTerm, Vector< LevelData< EBCellFAB > * > &a_phiOld, Vector< LevelData< EBCellFAB > * > &a_src, Real a_oldTime, Real a_dt, int a_lbase, int a_lmax, bool a_zeroPhi)
void resetAlphaAndBeta(const Real &a_alpha, const Real &a_beta)
EBBackwardEuler()
weak construction is bad. Ref Counted pointers are your friends.
Definition: EBBackwardEuler.H:123
int m_verbosity
Definition: EBBackwardEuler.H:108
Definition: EBBackwardEuler.H:33
EBBackwardEuler(const EBBackwardEuler &a_opin)
Definition: EBBackwardEuler.H:112
Definition: AMRMultiGrid.H:306
void createData(Vector< LevelData< EBCellFAB > * > &a_source, int a_lbase, int a_lmax)
TGAHelmOp< LevelData< EBCellFAB > > * newOp(const ProblemDomain &a_indexSpace, const AMRLevelOpFactory< LevelData< EBCellFAB > > &a_opFact)
RefCountedPtr< AMRMultiGrid< LevelData< EBCellFAB > > > m_solver
Definition: EBBackwardEuler.H:107
void oneStep(Vector< LevelData< EBCellFAB > *> &a_phiNew, Vector< LevelData< EBCellFAB > *> &a_phiOld, Vector< LevelData< EBCellFAB > *> &a_source, const Real &a_dt, int a_lbase, int a_lmax, bool a_zeroPhi=true, const bool a_kappaWeighted=false)
double Real
Definition: REAL.H:33
bool m_dataCreated
Definition: EBBackwardEuler.H:109
void createEulerRHS(Vector< LevelData< EBCellFAB > * > &a_ans, Vector< LevelData< EBCellFAB > * > &a_source, Vector< LevelData< EBCellFAB > * > &a_phiOld, int a_lbase, int a_lmax, Real a_dt, const bool a_kappaWeighted=false)
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.
void operator=(const EBBackwardEuler &a_opin)
Definition: EBBackwardEuler.H:117
Vector< int > m_refRat
Definition: EBBackwardEuler.H:106
ProblemDomain m_level0Domain
Definition: EBBackwardEuler.H:105
Definition: AMRMultiGrid.H:231
int m_numLevels
Definition: EBBackwardEuler.H:108
Vector< TGAHelmOp< LevelData< EBCellFAB > > *> m_ops
Definition: EBBackwardEuler.H:103