Translation operator which works in real space using interpolating splines. More...
#include <TranslationOperator.h>
Public Types | |
enum | SplineType { Constant, Linear } |
Types of interpolating spline available for translation. More... | |
Public Member Functions | |
TranslationOperatorSpline (const GridInfo &gInfo, SplineType splineType) | |
void | taxpy (const vector3<> &t, double alpha, const ScalarField &x, ScalarField &y) const |
Public Member Functions inherited from TranslationOperator | |
TranslationOperator (const GridInfo &gInfo) | |
Public Attributes | |
enum TranslationOperatorSpline::SplineType | splineType |
Public Attributes inherited from TranslationOperator | |
const GridInfo & | gInfo |
Translation operator which works in real space using interpolating splines.
|
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.
Implements TranslationOperator.