#include <MassMatrix.h>
Inheritance diagram for MassMatrix::

Public Methods | |
| MassMatrix () | |
| ~MassMatrix () | |
| bool | isLumped () const |
| const MatDiag(NUMT)& | M () const |
| MatDiag(NUMT)& | M () |
| bool | make (FEM &simulator, GridFE &grid) |
| void | solve (const Vector(NUMT) &rhs, Vector(NUMT) &x) |
NAME: MassMatrix - object for flexible representation of a mass matrix
DESCRIPTION:
The class "MassMatrix" is a trivial encapsulation of a "MatDiag" matrix with assembly and solve functionality.
|
|
There is only one constructor which takes no arguments. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
calls "FEM makeMassMatrix" for computing the mass matrix. On repeated calls, "make" does only compute a new matrix if the number of nodes is changed. The return value is true if real computations have taken place (false indicates that the an already computed mass matrix can still be utilized). |
|
|
soles the system "M*x=rhs" by trivial Gaussian elimination when "M" is of type "MatDiag". |
|
|
|