MFEM
v3.0
|
Coefficient defined by a GridFunction. This coefficient is mesh dependent. More...
#include <coefficient.hpp>
Public Member Functions | |
GridFunctionCoefficient (GridFunction *gf, int comp=1) | |
void | SetGridFunction (GridFunction *gf) |
virtual double | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
Public Member Functions inherited from mfem::Coefficient | |
Coefficient () | |
void | SetTime (double t) |
double | GetTime () |
double | Eval (ElementTransformation &T, const IntegrationPoint &ip, double t) |
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 132 of file coefficient.hpp.
|
inline |
Construct GridFunctionCoefficient from a given GridFunction and optionally which component to use if it is a vector gridfunction.
Definition at line 142 of file coefficient.hpp.
|
virtual |
Implements mfem::Coefficient.
Definition at line 45 of file coefficient.cpp.
|
inline |
Definition at line 145 of file coefficient.hpp.