![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
Public Member Functions | |
| MyDiagonalMatrix (const VectorType &diagonal) | |
| void | vmult (VectorType &dst, const VectorType &src) const override |
| Public Member Functions inherited from PreconditionBase< VectorType > | |
| PreconditionBase () | |
| void | timer_print () const |
| void | timer_reset () const |
Private Attributes | |
| DiagonalMatrix< VectorType > | diagonal_matrix |
Additional Inherited Members | |
| Protected Attributes inherited from PreconditionBase< VectorType > | |
| const MPI_Comm | comm |
| ConditionalOStream | pcout |
| TimerOutput | timer |
A wrapper class around DiagonalMatrix class from deal.II.
Definition at line 182 of file fluid_dynamics_matrix_free.cc.
|
inline |
Constructor.
| [in] | diagonal | Vector containing the diagonal of the matrix. |
Definition at line 190 of file fluid_dynamics_matrix_free.cc.
References diagonal_matrix.
|
inlineoverridevirtual |
Apply preconditioner.
| [in,out] | dst | Destination vector holding the result. |
| [in] | src | Input source vector. |
Implements PreconditionBase< VectorType >.
Definition at line 201 of file fluid_dynamics_matrix_free.cc.
References diagonal_matrix.
|
private |
DiagonalMatrix class from deal.II.
Definition at line 208 of file fluid_dynamics_matrix_free.cc.