MFEM
v4.1.0
Finite element discretization library
|
Scalar coefficient defined as the Divergence of a vector GridFunction. More...
#include <coefficient.hpp>
Public Member Functions | |
DivergenceGridFunctionCoefficient (GridFunction *gf) | |
void | SetGridFunction (GridFunction *gf) |
GridFunction * | GetGridFunction () const |
virtual double | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
Evaluate the coefficient in the element described by T at the point ip. More... | |
virtual | ~DivergenceGridFunctionCoefficient () |
Public Member Functions inherited from mfem::Coefficient | |
Coefficient () | |
void | SetTime (double t) |
double | GetTime () |
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 | |
GridFunction * | GridFunc |
Protected Attributes inherited from mfem::Coefficient | |
double | time |
Scalar coefficient defined as the Divergence of a vector GridFunction.
Definition at line 462 of file coefficient.hpp.
mfem::DivergenceGridFunctionCoefficient::DivergenceGridFunctionCoefficient | ( | GridFunction * | gf | ) |
Definition at line 232 of file coefficient.cpp.
|
inlinevirtual |
Definition at line 476 of file coefficient.hpp.
|
virtual |
Evaluate the coefficient in the element described by T at the point ip.
Implements mfem::Coefficient.
Definition at line 238 of file coefficient.cpp.
|
inline |
Definition at line 471 of file coefficient.hpp.
|
inline |
Definition at line 470 of file coefficient.hpp.
|
protected |
Definition at line 465 of file coefficient.hpp.