![]() |
MFEM v4.8.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 (const QuadratureFunction &qf) | |
Constructor with a quadrature function as input. | |
const QuadratureFunction & | GetQuadFunction () const |
real_t | Eval (ElementTransformation &T, const IntegrationPoint &ip) override |
Evaluate the coefficient in the element described by T at the point ip. | |
void | Project (QuadratureFunction &qf) override |
Fill the QuadratureFunction qf by evaluating the coefficient at the quadrature points. | |
virtual | ~QuadratureFunctionCoefficient () |
![]() | |
Coefficient () | |
virtual void | SetTime (real_t t) |
Set the time for time dependent coefficients. | |
real_t | GetTime () |
Get the time for time dependent coefficients. | |
real_t | Eval (ElementTransformation &T, const IntegrationPoint &ip, real_t t) |
Evaluate the coefficient in the element described by T at the point ip at time t. | |
virtual | ~Coefficient () |
Additional Inherited Members | |
![]() | |
real_t | 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 2381 of file coefficient.hpp.
mfem::QuadratureFunctionCoefficient::QuadratureFunctionCoefficient | ( | const QuadratureFunction & | qf | ) |
Constructor with a quadrature function as input.
Definition at line 1742 of file coefficient.cpp.
|
inlinevirtual |
Definition at line 2396 of file coefficient.hpp.
|
overridevirtual |
Evaluate the coefficient in the element described by T at the point ip.
Implements mfem::Coefficient.
Definition at line 1748 of file coefficient.cpp.
|
inline |
Definition at line 2390 of file coefficient.hpp.
|
overridevirtual |
Fill the QuadratureFunction qf by evaluating the coefficient at the quadrature points.
Reimplemented from mfem::Coefficient.
Definition at line 1762 of file coefficient.cpp.