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

Abstract class for interpolation operators. More...

#include <Interpolator.h>

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

Public Member Functions

virtual ~Interpolator ()
 Destroy the Interpolator object.
 
virtual Interpolator< D > * clone () const =0
 Clone this interpolator. More...
 
virtual void interpolate (const Vector< D > &coarse, Vector< D > &fine) const =0
 Virtual interpolation operation that needs to be implemented in derived classes. More...
 

Detailed Description

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

Abstract class for interpolation operators.

Member Function Documentation

◆ clone()

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

Clone this interpolator.

Returns
Interpolator<D>* a newly allocated copy of this interpolator

Implemented in ThunderEgg::GMG::DirectInterpolator< D >.

◆ interpolate()

template<int D>
virtual void ThunderEgg::GMG::Interpolator< D >::interpolate ( const Vector< D > &  coarse,
Vector< D > &  fine 
) const
pure virtual

Virtual interpolation operation that needs to be implemented in derived classes.

Parameters
coarsethe input vector from the coarser level.
finethe output vector for the fine level.

Implemented in ThunderEgg::GMG::MPIInterpolator< D >.


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