![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
Public Member Functions | |
| template<typename PreconditionType> | |
| PreconditionAdapter (const std::shared_ptr< PreconditionType > &preconditioner) | |
| void | vmult (VectorType &dst, const VectorType &src) const override |
| template<typename U = VectorTypePrecondition> requires (!std::is_same_v<VectorType, U>) | |
| void | vmult (U &dst, const U &src) const |
| Public Member Functions inherited from PreconditionBase< VectorType > | |
| PreconditionBase () | |
| void | timer_print () const |
| void | timer_reset () const |
Private Attributes | |
| const std::function< void(VectorTypePrecondition &, const VectorTypePrecondition &)> | fu_preconditioner |
| VectorTypePrecondition | src_ |
| VectorTypePrecondition | dst_ |
Additional Inherited Members | |
| Protected Attributes inherited from PreconditionBase< VectorType > | |
| const MPI_Comm | comm |
| ConditionalOStream | pcout |
| TimerOutput | timer |
A wrapper class around a preconditioner to be able to handle vector types that are not supported by the preconditioner.
Definition at line 111 of file fluid_dynamics_matrix_free.cc.
|
inline |
Constructor.
| [in] | preconditioner | Preconditioner. |
Definition at line 120 of file fluid_dynamics_matrix_free.cc.
References fu_preconditioner.
|
inline |
Apply preconditioner.
| [in,out] | dst | Destination vector holding the result. |
| [in] | src | Input source vector. |
Definition at line 160 of file fluid_dynamics_matrix_free.cc.
References fu_preconditioner.
|
inlineoverridevirtual |
Apply preconditioner.
| [in,out] | dst | Destination vector holding the result. |
| [in] | src | Input source vector. |
Implements PreconditionBase< VectorType >.
Definition at line 134 of file fluid_dynamics_matrix_free.cc.
References dst_, fu_preconditioner, and src_.
|
mutableprivate |
Destination vector supported by the preconditioner.
Definition at line 175 of file fluid_dynamics_matrix_free.cc.
|
private |
Preconditioner.
Definition at line 169 of file fluid_dynamics_matrix_free.cc.
|
mutableprivate |
Source vector supported by the preconditioner.
Definition at line 172 of file fluid_dynamics_matrix_free.cc.