Public Member Functions | |
virtual | ~MGSmootherBase () |
virtual void | clear ()=0 |
virtual void | smooth (const unsigned int level, VECTOR &u, const VECTOR &rhs) const =0 |
Base class for multigrid smoothers. Does nothing but defining the interface used by multigrid methods.
virtual MGSmootherBase< VECTOR >::~MGSmootherBase | ( | ) | [virtual] |
Virtual destructor.
virtual void MGSmootherBase< VECTOR >::clear | ( | ) | [pure virtual] |
Release matrices.
Implemented in MGSmootherBlock< MATRIX, RELAX, number >, and MGSmootherRelaxation< MATRIX, RELAX, VECTOR >.
virtual void MGSmootherBase< VECTOR >::smooth | ( | const unsigned int | level, | |
VECTOR & | u, | |||
const VECTOR & | rhs | |||
) | const [pure virtual] |
Smoothing function. This is the function used in multigrid methods.
Implemented in MGSmootherBlock< MATRIX, RELAX, number >, MGSmootherIdentity< VECTOR >, and MGSmootherRelaxation< MATRIX, RELAX, VECTOR >.