![]() |
MFEM
v4.6.0
Finite element discretization library
|
Returns f(u(x)) - f(v(x)) where u, v are scalar GridFunctions and f:R → R. More...
#include <ex37.hpp>
Public Member Functions | |
| DiffMappedGridFunctionCoefficient () | |
| DiffMappedGridFunctionCoefficient (const GridFunction *gf, const GridFunction *other_gf, std::function< double(const double)> fun_, int comp=1) | |
| virtual double | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
| Evaluate the coefficient at ip. More... | |
| void | SetFunction (std::function< double(const double)> fun_) |
Public Member Functions inherited from mfem::GridFunctionCoefficient | |
| GridFunctionCoefficient () | |
| GridFunctionCoefficient (const GridFunction *gf, int comp=1) | |
| void | SetGridFunction (const GridFunction *gf) |
| Set the internal GridFunction. More... | |
| const GridFunction * | GetGridFunction () const |
| Get the internal GridFunction. More... | |
| virtual void | Project (QuadratureFunction &qf) |
| Fill the QuadratureFunction qf by evaluating the coefficient at the quadrature points. More... | |
Public Member Functions inherited from mfem::Coefficient | |
| Coefficient () | |
| virtual void | SetTime (double t) |
| Set the time for time dependent coefficients. More... | |
| double | GetTime () |
| Get the time for time dependent coefficients. More... | |
| double | Eval (ElementTransformation &T, const IntegrationPoint &ip, double t) |
| Evaluate the coefficient in the element described by T at the point ip at time t. More... | |
| virtual | ~Coefficient () |
Protected Attributes | |
| const GridFunction * | OtherGridF |
| GridFunctionCoefficient | OtherGridF_cf |
| std::function< double(const double)> | fun |
Protected Attributes inherited from mfem::Coefficient | |
| double | time |
Returns f(u(x)) - f(v(x)) where u, v are scalar GridFunctions and f:R → R.
|
inline |
|
inline |
|
inlinevirtual |
Evaluate the coefficient at ip.
Reimplemented from mfem::GridFunctionCoefficient.
|
inline |
|
protected |
|
protected |
|
protected |
1.8.14