MFEM
v4.0
Finite element discretization library
|
Subclass constant coefficient. More...
#include <coefficient.hpp>
Public Member Functions | |
ConstantCoefficient (double c=1.0) | |
c is value of constant function More... | |
virtual double | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
Evaluate the coefficient. More... | |
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 () |
Public Attributes | |
double | constant |
Additional Inherited Members | |
Protected Attributes inherited from mfem::Coefficient | |
double | time |
Subclass constant coefficient.
Definition at line 67 of file coefficient.hpp.
|
inlineexplicit |
c is value of constant function
Definition at line 73 of file coefficient.hpp.
|
inlinevirtual |
Evaluate the coefficient.
Implements mfem::Coefficient.
Definition at line 76 of file coefficient.hpp.
double mfem::ConstantCoefficient::constant |
Definition at line 70 of file coefficient.hpp.