![]() |
MFEM v4.10.0
Finite element discretization library
|
Scalar coefficient defined as component of a matrix coefficient. More...
#include <coefficient.hpp>
Public Member Functions | |
| MatrixComponentCoefficient (MatrixCoefficient &A) | |
| Construct with a matrix coefficient. | |
| MatrixComponentCoefficient (MatrixCoefficient &A, int ri, int ci) | |
| Construct with the matrix coefficient. | |
| void | SetTime (real_t t) override |
| Set the time for internally stored coefficients. | |
| void | SetACoef (MatrixCoefficient &A) |
| Reset the matrix coefficient. | |
| MatrixCoefficient * | GetACoef () const |
| Return the matrix coefficient. | |
| void | SetRowIndex (int ri) |
| Reset the index. | |
| int | GetRowIndex () const |
| Return the index. | |
| void | SetColumnIndex (int ci) |
| Reset the index. | |
| int | GetColumnIndex () const |
| Return the index. | |
| real_t | Eval (ElementTransformation &T, const IntegrationPoint &ip) override |
| Evaluate the component coefficient at ip. | |
Public Member Functions inherited from mfem::Coefficient | |
| Coefficient () | |
| real_t | GetTime () |
| Get the time for time dependent coefficients. | |
| int | GetVDim () |
| Returns dimension of the vector. | |
| 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 component of a matrix coefficient.
Definition at line 1920 of file coefficient.hpp.
|
inline |
Construct with a matrix coefficient.
Definition at line 1930 of file coefficient.hpp.
| mfem::MatrixComponentCoefficient::MatrixComponentCoefficient | ( | MatrixCoefficient & | A, |
| int | ri, | ||
| int | ci ) |
Construct with the matrix coefficient.
Definition at line 1340 of file coefficient.cpp.
|
overridevirtual |
Evaluate the component coefficient at ip.
Implements mfem::Coefficient.
Definition at line 1371 of file coefficient.cpp.
|
inline |
Return the matrix coefficient.
Definition at line 1943 of file coefficient.hpp.
|
inline |
Return the index.
Definition at line 1955 of file coefficient.hpp.
|
inline |
Return the index.
Definition at line 1949 of file coefficient.hpp.
|
inline |
Reset the matrix coefficient.
Definition at line 1940 of file coefficient.hpp.
| void mfem::MatrixComponentCoefficient::SetColumnIndex | ( | int | ci | ) |
Reset the index.
Definition at line 1357 of file coefficient.cpp.
| void mfem::MatrixComponentCoefficient::SetRowIndex | ( | int | ri | ) |
Reset the index.
Definition at line 1348 of file coefficient.cpp.
|
overridevirtual |
Set the time for internally stored coefficients.
Reimplemented from mfem::Coefficient.
Definition at line 1365 of file coefficient.cpp.