#include <BackwardEulerSolver.H>
Inheritance diagram for BackwardEulerSolver:


The BackwardEulerSolver class implements the backward Euler algorithm for solving the heat equation.
Public Member Functions | |
| BackwardEulerSolver () | |
| default constructor | |
| BackwardEulerSolver (const DisjointBoxLayout &a_levelGrids, const DisjointBoxLayout *a_crseGrids, const ProblemDomain &a_domain, Real a_dxLevel, int a_nRefCrse, const BaseHelmholtzOp *a_helmop, int a_ncomp=1) | |
| full constructor | |
| virtual | ~BackwardEulerSolver () |
| destructor | |
| void | define (const DisjointBoxLayout &a_levelGrids, const DisjointBoxLayout *a_crseGrids, const ProblemDomain &a_domain, Real a_dxLevel, int a_nRefCrse, const BaseHelmholtzOp *a_helmop, int a_ncomp=1) |
| define statement | |
| void | updateSoln (LevelData< FArrayBox > &a_phiNew, LevelData< FArrayBox > &a_phiOld, LevelFluxRegister *a_FineFluxRegPtr, LevelFluxRegister *a_CrseFluxRegPtr, const LevelData< FArrayBox > *a_crsePhiOldPtr, Real crseOldTime, const LevelData< FArrayBox > *a_crsePhiNewPtr, Real crseNewTime, LevelData< FArrayBox > &a_src, Real oldTime, Real dt) |
| do solve | |
| void | computeDiffusion (LevelData< FArrayBox > &a_DiffusiveTerm, LevelData< FArrayBox > &a_phiOld, LevelFluxRegister *a_FineFluxRegPtr, LevelFluxRegister *a_crseFluxRegPtr, const LevelData< FArrayBox > *a_crsePhiOldPtr, Real crseOldTime, const LevelData< FArrayBox > *a_crsePhiNewPtr, Real crseNewTime, LevelData< FArrayBox > &a_src, Real oldTime, Real dt) |
| computes time-centered diffusive term for explicit updating | |
| virtual BaseHeatSolver * | new_heatSolver () const |
| "virtual constructor" | |
| virtual void | setSolverTolerance (Real a_solverTol) |
| set solver tolerance | |
| virtual Real | solverTolerance () const |
| accessor | |
Protected Attributes | |
| Real | m_dx |
| Real | m_solverTol |
| BaseHelmholtzOp * | m_helmop |
| BaseHelmholtzOp * | m_noBetaOp |
| LevelHelmholtzSolver | m_levelSolver |
| ProblemDomain | m_domain |
|
|
default constructor
|
|
||||||||||||||||||||||||||||||||
|
full constructor Note that the HelholtzOp passed in must already have the diffusion coefficient (nu) set. |
|
|
destructor
|
|
||||||||||||||||||||||||||||||||
|
define statement Note that the HelholtzOp passed in must already have the diffusion coefficient (nu) set. Implements BaseHeatSolver. |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
do solve update phi
Implements BaseHeatSolver. |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
computes time-centered diffusive term for explicit updating compute time-centered L(phi) for use in subsequent update operations. In this case, we do solve for phiNew, then subtract source and old phi back out to get L(phi). Implements BaseHeatSolver. |
|
|
"virtual constructor"
Implements BaseHeatSolver. |
|
|
set solver tolerance
Implements BaseHeatSolver. |
|
|
accessor
Implements BaseHeatSolver. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.6