MFEM
v4.2.0
Finite element discretization library
|
Quadrature function coefficient which requires that the quadrature rules used for this coefficient be the same as those that live within the supplied QuadratureFunction. More...
#include <coefficient.hpp>
Public Member Functions | |
QuadratureFunctionCoefficient (QuadratureFunction &qf) | |
Constructor with a quadrature function as input. More... | |
const QuadratureFunction & | GetQuadFunction () const |
virtual double | Eval (ElementTransformation &T, const IntegrationPoint &ip) |
Evaluate the coefficient in the element described by T at the point ip. More... | |
virtual | ~QuadratureFunctionCoefficient () |
Public Member Functions inherited from mfem::Coefficient | |
Coefficient () | |
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 |
Quadrature function coefficient which requires that the quadrature rules used for this coefficient be the same as those that live within the supplied QuadratureFunction.
Definition at line 1588 of file coefficient.hpp.
mfem::QuadratureFunctionCoefficient::QuadratureFunctionCoefficient | ( | QuadratureFunction & | qf | ) |
Constructor with a quadrature function as input.
Definition at line 943 of file coefficient.cpp.
|
inlinevirtual |
Definition at line 1601 of file coefficient.hpp.
|
virtual |
Evaluate the coefficient in the element described by T at the point ip.
Implements mfem::Coefficient.
Definition at line 949 of file coefficient.cpp.
|
inline |
Definition at line 1597 of file coefficient.hpp.