MFEM v4.7.0
Finite element discretization library
|
Transforms a grid function by scaling it by a constant factor. More...
#include <transformation.hpp>
Public Member Functions | |
ScaleTransformer ()=default | |
ScaleTransformer (real_t scale) | |
~ScaleTransformer () override=default | |
void | Transform (ParGridFunction &x) const override |
Scales a grid function by an constant factor. | |
Public Member Functions inherited from mfem::spde::GFTransformer | |
GFTransformer ()=default | |
virtual | ~GFTransformer ()=default |
Transforms a grid function by scaling it by a constant factor.
Definition at line 70 of file transformation.hpp.
|
default |
|
inlineexplicit |
Definition at line 74 of file transformation.hpp.
|
overridedefault |
|
overridevirtual |
Scales a grid function by an constant factor.
Implements mfem::spde::GFTransformer.
Definition at line 56 of file transformation.cpp.