Abstract base class for translation operators. More...
#include <TranslationOperator.h>
Public Member Functions | |
TranslationOperator (const GridInfo &gInfo) | |
virtual void | taxpy (const vector3<> &t, double alpha, const ScalarField &x, ScalarField &y) const =0 |
Public Attributes | |
const GridInfo & | gInfo |
Abstract base class for translation operators.
|
pure virtual |
Compute , where is the translation operator modulo the lattice vectors T must conserve integral(x) and satisfy exactly for gradient correctness Note that may only be approximately true for some implementations.
Implemented in TranslationOperatorFourier, and TranslationOperatorSpline.