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

Abstract class for restriction operators. More...

#include <Restrictor.h>

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

Public Member Functions

virtual ~Restrictor ()
 Destroy the Restrictor object.
 
virtual Restrictor< D > * clone () const =0
 Clone this interpolator. More...
 
virtual Vector< D > restrict (const Vector< D > &fine) const =0
 

Detailed Description

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

Abstract class for restriction operators.

Member Function Documentation

◆ clone()

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

Clone this interpolator.

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

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

◆ restrict()

template<int D>
virtual Vector<D> ThunderEgg::GMG::Restrictor< D >::restrict ( const Vector< D > &  fine) const
pure virtual
Parameters
fine

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


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