ThunderEgg  1.0.0
ThunderEgg::Operator< D > Class Template Referenceabstract

Base class for operators. More...

#include <Operator.h>

Inheritance diagram for ThunderEgg::Operator< D >:

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...
 

Detailed Description

template<int D>
class ThunderEgg::Operator< D >

Base class for operators.

Member Function Documentation

◆ apply()

template<int D>
virtual void ThunderEgg::Operator< D >::apply ( const Vector< D > &  x,
Vector< D > &  b 
) const
pure virtual

Virtual function that base classes have to implement.

Parameters
xthe input vector.
bthe output vector.

Implemented in ThunderEgg::PETSc::MatWrapper< D >, ThunderEgg::PatchOperator< D >, ThunderEgg::PatchSolver< D >, and ThunderEgg::GMG::Cycle< D >.

◆ clone()


The documentation for this class was generated from the following file: