|  | MFEM v4.8.0
    Finite element discretization library | 
Scalar coefficient defined as the product of two scalar coefficients or a scalar and a scalar coefficient. More...
#include <coefficient.hpp>
| Public Member Functions | |
| ProductCoefficient (real_t A, Coefficient &B) | |
| Constructor with one coefficient. Result is A * B. | |
| ProductCoefficient (Coefficient &A, Coefficient &B) | |
| Constructor with two coefficients. Result is A * B. | |
| void | SetTime (real_t t) override | 
| Set the time for internally stored coefficients. | |
| void | SetAConst (real_t A) | 
| Reset the first term in the product as a constant. | |
| real_t | GetAConst () const | 
| Return the first term in the product. | |
| void | SetACoef (Coefficient &A) | 
| Reset the first term in the product. | |
| Coefficient * | GetACoef () const | 
| Return the first term in the product. | |
| void | SetBCoef (Coefficient &B) | 
| Reset the second term in the product. | |
| Coefficient * | GetBCoef () const | 
| Return the second term in the product. | |
| real_t | Eval (ElementTransformation &T, const IntegrationPoint &ip) override | 
| Evaluate the coefficient at ip. | |
|  Public Member Functions inherited from mfem::Coefficient | |
| Coefficient () | |
| 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 void | Project (QuadratureFunction &qf) | 
| Fill the QuadratureFunction qf by evaluating the coefficient at the quadrature points. | |
| virtual | ~Coefficient () | 
| Additional Inherited Members | |
|  Protected Attributes inherited from mfem::Coefficient | |
| real_t | time | 
Scalar coefficient defined as the product of two scalar coefficients or a scalar and a scalar coefficient.
Definition at line 1610 of file coefficient.hpp.
| 
 | inline | 
Constructor with one coefficient. Result is A * B.
Definition at line 1619 of file coefficient.hpp.
| 
 | inline | 
Constructor with two coefficients. Result is A * B.
Definition at line 1623 of file coefficient.hpp.
| 
 | inlineoverridevirtual | 
Evaluate the coefficient at ip.
Implements mfem::Coefficient.
Definition at line 1645 of file coefficient.hpp.
| 
 | inline | 
Return the first term in the product.
Definition at line 1637 of file coefficient.hpp.
| 
 | inline | 
Return the first term in the product.
Definition at line 1632 of file coefficient.hpp.
| 
 | inline | 
Return the second term in the product.
Definition at line 1642 of file coefficient.hpp.
| 
 | inline | 
Reset the first term in the product.
Definition at line 1635 of file coefficient.hpp.
| 
 | inline | 
Reset the first term in the product as a constant.
Definition at line 1630 of file coefficient.hpp.
| 
 | inline | 
Reset the second term in the product.
Definition at line 1640 of file coefficient.hpp.
| 
 | overridevirtual | 
Set the time for internally stored coefficients.
Reimplemented from mfem::Coefficient.
Definition at line 1024 of file coefficient.cpp.