#include <GSRBSmoother.H>
Inheritance diagram for GSRBSmoother:
Public Member Functions | |
GSRBSmoother () | |
Null constructor. | |
virtual | ~GSRBSmoother () |
Destructor. | |
virtual BaseBottomSmoother * | new_bottomSmoother () const |
virtual void | doBottomSmooth (LevelData< FArrayBox > &a_phi, const LevelData< FArrayBox > &a_rhs, LevelOp *a_levelopPtr) |
Do GSRB smoothing. | |
virtual void | setNumSmooth (int a_numSmooth) |
Set the number of smoother passes to perform. | |
virtual int | numSmooth () const |
Returns the number of smoother passes which are performed. | |
virtual void | setConvergenceMetric (Real a_metric, int a_comp=0) |
sets metric to judge convergence (normally norm(rhs) of outer problem | |
virtual void | setSolverTol (Real a_tol) |
this doesn't really do anything, but is required by BaseBottomSmoother | |
Protected Attributes | |
int | m_numSmooth |
Number of GSRB smoother passes to do. |
The GSRBSmoother class is a bottom smoother for LevelOp-derived classes which does nothing but a whole lotta GSRB smoothing
|
Null constructor.
|
|
Destructor.
|
|
Do GSRB smoothing. True to its name, this class does GSRB smoothing in this function Implements BaseBottomSmoother. |
|
This gets around the "no virtual constructor" rule Implements BaseBottomSmoother. |
|
Returns the number of smoother passes which are performed.
|
|
sets metric to judge convergence (normally norm(rhs) of outer problem To make the iterative solver convergence more consistent, the solver will consider itself "solved" if the residual is reduced to epsilon*metric, where epsilon is the solver tolerance (set by setSolverTol). A good starting point for the metric is the norm of the RHS of the original problem (i.e. the rhs sent in to LevelSolver or AMRSolver). Default value is 1.0. Implements BaseBottomSmoother. |
|
Set the number of smoother passes to perform.
|
|
this doesn't really do anything, but is required by BaseBottomSmoother
Implements BaseBottomSmoother. |
|
Number of GSRB smoother passes to do.
|