MFEM
v4.6.0
Finite element discretization library
|
Adds an constant offset to a grid function, i.e. u(x) = u(x) + offset. More...
#include <transformation.hpp>
Public Member Functions | |
OffsetTransformer ()=default | |
OffsetTransformer (double offset) | |
~OffsetTransformer () override=default | |
void | Transform (ParGridFunction &x) const override |
Offsets a grid function by an constant offset. More... | |
Public Member Functions inherited from mfem::spde::GFTransformer | |
GFTransformer ()=default | |
virtual | ~GFTransformer ()=default |
Adds an constant offset to a grid function, i.e. u(x) = u(x) + offset.
Definition at line 56 of file transformation.hpp.
|
default |
|
inlineexplicit |
Definition at line 60 of file transformation.hpp.
|
overridedefault |
|
overridevirtual |
Offsets a grid function by an constant offset.
Implements mfem::spde::GFTransformer.
Definition at line 48 of file transformation.cpp.