|
MFEM
v4.0
Finite element discretization library
|
Matrix coefficient defined as the sum of two matrix coefficients. More...
#include <coefficient.hpp>
Public Member Functions | |
| MatrixSumCoefficient (MatrixCoefficient &A, MatrixCoefficient &B, double _alpha=1.0, double _beta=1.0) | |
| virtual void | Eval (DenseMatrix &M, ElementTransformation &T, const IntegrationPoint &ip) |
| Evaluate the coefficient. 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 the sum of two matrix coefficients.
Definition at line 870 of file coefficient.hpp.
| mfem::MatrixSumCoefficient::MatrixSumCoefficient | ( | MatrixCoefficient & | A, |
| MatrixCoefficient & | B, | ||
| double | _alpha = 1.0, |
||
| double | _beta = 1.0 |
||
| ) |
Definition at line 499 of file coefficient.cpp.
|
virtual |
Evaluate the coefficient.
Implements mfem::MatrixCoefficient.
Definition at line 511 of file coefficient.cpp.
1.8.5