|
Public Member Functions |
bool | isDefined () const |
| Has this object been fully defined?
|
| LevelMG () |
| Null Constructor.
|
| LevelMG (const DisjointBoxLayout &a_ba, const DisjointBoxLayout *a_baseBaPtr, Real a_dxLevel, int a_refRatio, const Box &a_domain, int a_nCoarserLevels, const LevelOp *const a_opin, int a_ncomp=1) |
| Deprecated full constructor (use ProblemDomain instead of Box).
|
| LevelMG (const DisjointBoxLayout &a_ba, const DisjointBoxLayout *a_baseBaPtr, Real a_dxLevel, int a_refRatio, const ProblemDomain &a_domain, int a_nCoarserLevels, const LevelOp *const a_opin, int a_ncomp=1) |
| Full constructor -- calls matching define function.
|
void | define (const DisjointBoxLayout &a_ba, const DisjointBoxLayout *a_baseBaPtr, Real a_dxLevel, int a_refRatio, const Box &a_domain, int a_nCoarserLevels, const LevelOp *const a_opin, int a_ncomp=1) |
| Deprecated full define function (use ProblemDomain instead of Box).
|
void | define (const DisjointBoxLayout &a_ba, const DisjointBoxLayout *a_baseBaPtr, Real a_dxLevel, int a_refRatio, const ProblemDomain &a_domain, int a_nCoarserLevels, const LevelOp *const a_opin, int a_ncomp) |
| Full Define Function.
|
void | define (const LevelMG &a_level, int a_refCoarse, const LevelOp *const a_opin) |
| Constructor for coarsened version of object.
|
| LevelMG (const LevelMG &a_level, int a_refCoarse, const LevelOp *a_opin) |
| Constructor for coarsened version of object.
|
| ~LevelMG () |
| Destructor.
|
void | mgRelax (LevelData< FArrayBox > &a_soln, const LevelData< FArrayBox > &a_rhs, bool bottomsolveflag) |
| Invoke multigrid relaxation step.
|
void | setNumBottomGSRB (int a_numBottomGSRB) |
| Set number of smoothing steps at bottom.
|
void | setNumSmoothUp (int a_numSmoothUp) |
| Set number of smoothing steps on the way up V-cycle.
|
void | setNumSmoothDown (int a_numSmoothDown) |
| Set number of smoothing steps on the way down V-cycle.
|
LevelOp * | levelOpPtr () |
| this is a dangerous access function that should not generally be used.
|
LevelMG * | lCoarsePtr () |
| this is another access function that should not be generally used.
|
void | setConvergenceMetric (Real a_metric, int a_comp) |
| sets convergence metric -- essentially a pass through to LevelOp
|
Protected Member Functions |
void | setDefaultValues () |
void | clearMemory () |
Protected Attributes |
bool | m_isDefined |
LevelData< FArrayBox > | m_resid |
LevelData< FArrayBox > | m_crseResid |
LevelData< FArrayBox > | m_crseCorr |
DisjointBoxLayout | m_ba |
DisjointBoxLayout | m_baCoarsened |
const DisjointBoxLayout * | m_baseBaPtr |
Real | m_dxLevel |
ProblemDomain | m_domain |
int | m_nCoarserLevels |
LevelMG * | m_lCoarsePtr |
LevelOp * | m_levelopPtr |
int | m_numBottomGSRB |
int | m_numSmoothUp |
int | m_numSmoothDown |
int | m_refToCoar |
CoarseAverage | m_averageOp |
Multigrid solver on a single multigrid level. This class should be considered internal to AMRSolver and not a part of the Chombo API.