MFEM
v4.0
Finite element discretization library
|
Matrix coefficient defined as a product of a scalar and a matrix. More...
#include <coefficient.hpp>
Public Member Functions | |
ScalarMatrixProductCoefficient (Coefficient &A, MatrixCoefficient &B) | |
virtual void | Eval (DenseMatrix &M, ElementTransformation &T, const IntegrationPoint &ip) |
Evaluate the matrix coefficient in the element described by T at the point ip, storing the result in K. More... | |
Public Member Functions inherited from mfem::MatrixCoefficient | |
MatrixCoefficient (int dim) | |
MatrixCoefficient (int h, int w) | |
void | SetTime (double t) |
double | GetTime () |
int | GetHeight () const |
int | GetWidth () const |
int | GetVDim () const |
virtual | ~MatrixCoefficient () |
Additional Inherited Members | |
Protected Attributes inherited from mfem::MatrixCoefficient | |
int | height |
int | width |
double | time |
Matrix coefficient defined as a product of a scalar and a matrix.
Definition at line 892 of file coefficient.hpp.
mfem::ScalarMatrixProductCoefficient::ScalarMatrixProductCoefficient | ( | Coefficient & | A, |
MatrixCoefficient & | B | ||
) |
Definition at line 520 of file coefficient.cpp.
|
virtual |
Evaluate the matrix coefficient in the element described by T at the point ip, storing the result in K.
Implements mfem::MatrixCoefficient.
Definition at line 526 of file coefficient.cpp.