|
ThunderEgg
1.0.0
|
Base class for operators. More...
#include <Operator.h>

Public Member Functions | |
| virtual | ~Operator () |
| Destroy the Operator object. | |
| virtual Operator< D > * | clone () const =0 |
| Clone this operator. More... | |
| virtual void | apply (const Vector< D > &x, Vector< D > &b) const =0 |
| Virtual function that base classes have to implement. More... | |
Base class for operators.
|
pure virtual |
Virtual function that base classes have to implement.
| x | the input vector. |
| b | the output vector. |
Implemented in ThunderEgg::PETSc::MatWrapper< D >, ThunderEgg::PatchOperator< D >, ThunderEgg::PatchSolver< D >, and ThunderEgg::GMG::Cycle< D >.
|
pure virtual |
Clone this operator.
Implemented in ThunderEgg::PatchSolver< D >, ThunderEgg::PatchOperator< D >, ThunderEgg::Poisson::DFTPatchSolver< D >, ThunderEgg::Poisson::FFTWPatchSolver< D >, ThunderEgg::Iterative::PatchSolver< D >, ThunderEgg::PETSc::MatWrapper< D >, ThunderEgg::GMG::FMGCycle< D >, ThunderEgg::GMG::WCycle< D >, ThunderEgg::GMG::VCycle< D >, ThunderEgg::VarPoisson::StarPatchOperator< D >, and ThunderEgg::Poisson::StarPatchOperator< D >.