ThunderEgg  1.0.0
ThunderEgg::GMG::Smoother< D > Class Template Referenceabstract

Abstract class for smoothing operators. More...

#include <Smoother.h>

Inheritance diagram for ThunderEgg::GMG::Smoother< D >:

Public Member Functions

virtual ~Smoother ()
 Destroy the Smoother object.
 
virtual Smoother< D > * clone () const =0
 Clone this smoother. More...
 
virtual void smooth (const Vector< D > &f, Vector< D > &u) const =0
 Virtual function that derived classes have to implement. More...
 

Detailed Description

template<int D>
class ThunderEgg::GMG::Smoother< D >

Abstract class for smoothing operators.

Member Function Documentation

◆ clone()

template<int D>
virtual Smoother<D>* ThunderEgg::GMG::Smoother< D >::clone ( ) const
pure virtual

Clone this smoother.

Returns
Smoother<D>* a newly allocated copy of this smoother

Implemented in ThunderEgg::PatchSolver< D >, ThunderEgg::Poisson::DFTPatchSolver< D >, ThunderEgg::Poisson::FFTWPatchSolver< D >, and ThunderEgg::Iterative::PatchSolver< D >.

◆ smooth()

template<int D>
virtual void ThunderEgg::GMG::Smoother< D >::smooth ( const Vector< D > &  f,
Vector< D > &  u 
) const
pure virtual

Virtual function that derived classes have to implement.

Parameters
fthe RHS vector
uthe solution vector, updated upon return.

Implemented in ThunderEgg::PatchSolver< D >.


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