MFEM v4.7.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 (real_t offset) | |
~OffsetTransformer () override=default | |
void | Transform (ParGridFunction &x) const override |
Offsets a grid function by an constant offset. | |
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.