Scalar coefficient that evaluates the magnitude of a vector coefficient. More...
#include <MFEMVectorMagnitudeCoefficient.h>
Public Member Functions | |
| MFEMVectorMagnitudeCoefficient (mfem::VectorCoefficient &vec_coef) | |
| void | SetTime (mfem::real_t t) override |
| Set the time for internally stored coefficients. More... | |
| mfem::real_t | Eval (mfem::ElementTransformation &T, const mfem::IntegrationPoint &ip) override |
| Evaluate the vector coefficient magnitude at ip. More... | |
Private Attributes | |
| mfem::VectorCoefficient * | _vec_coef |
| mfem::Vector | _vec |
Scalar coefficient that evaluates the magnitude of a vector coefficient.
Definition at line 21 of file MFEMVectorMagnitudeCoefficient.h.
| MFEMVectorMagnitudeCoefficient::MFEMVectorMagnitudeCoefficient | ( | mfem::VectorCoefficient & | vec_coef | ) |
Definition at line 14 of file MFEMVectorMagnitudeCoefficient.C.
|
override |
Evaluate the vector coefficient magnitude at ip.
Definition at line 27 of file MFEMVectorMagnitudeCoefficient.C.
|
override |
Set the time for internally stored coefficients.
Definition at line 20 of file MFEMVectorMagnitudeCoefficient.C.
|
mutableprivate |
Definition at line 34 of file MFEMVectorMagnitudeCoefficient.h.
Referenced by Eval().
|
private |
Definition at line 33 of file MFEMVectorMagnitudeCoefficient.h.
1.8.14