![]() |
MFEM
v4.4.0
Finite element discretization library
|
Coefficient defined by a GridFunction. This coefficient is mesh dependent. More...
#include <coefficient.hpp>
Public Member Functions | |
| 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 double | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
| Evaluate the coefficient at ip. 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 () |
Additional Inherited Members | |
Protected Attributes inherited from mfem::Coefficient | |
| double | time |
Coefficient defined by a GridFunction. This coefficient is mesh dependent.
Definition at line 255 of file coefficient.hpp.
|
inline |
Definition at line 262 of file coefficient.hpp.
|
inline |
Construct GridFunctionCoefficient from a given GridFunction, and optionally specify a component to use if it is a vector GridFunction.
Definition at line 265 of file coefficient.hpp.
|
virtual |
Evaluate the coefficient at ip.
Implements mfem::Coefficient.
Reimplemented in mfem::electromagnetics::ScaledGFCoefficient.
Definition at line 122 of file coefficient.cpp.
|
inline |
Get the internal GridFunction.
Definition at line 272 of file coefficient.hpp.
|
inline |
Set the internal GridFunction.
Definition at line 269 of file coefficient.hpp.
1.8.5