![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
Public Types | |
| using | Number = typename VectorType::value_type |
Public Member Functions | |
| PreconditionASM () | |
| template<int dim, typename GlobalSparseMatrixType, typename GlobalSparsityPattern, typename Number> | |
| void | initialize (const DoFHandler< dim > &dof_handler, const GlobalSparseMatrixType &global_sparse_matrix, const GlobalSparsityPattern &global_sparsity_pattern, const AffineConstraints< Number > &constraints, const std::shared_ptr< const Utilities::MPI::Partitioner > &partitioner, const unsigned int mg_level) |
| 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 Types | |
| enum | WeightingType : std::uint8_t { none , left , right , symm } |
Private Attributes | |
| std::vector< std::vector< unsigned int > > | patches |
| std::vector< LAPACKFullMatrix< Number > > | blocks |
| VectorType | weights |
| const WeightingType | weighting_type |
| VectorType | dst_internal |
| VectorType | src_internal |
Additional Inherited Members | |
| Protected Attributes inherited from PreconditionBase< VectorType > | |
| const MPI_Comm | comm |
| ConditionalOStream | pcout |
| TimerOutput | timer |
An Additive Schwarz preconditioner.
Definition at line 215 of file fluid_dynamics_matrix_free.cc.
| using PreconditionASM< VectorType >::Number = typename VectorType::value_type |
Value type.
Definition at line 229 of file fluid_dynamics_matrix_free.cc.
|
private |
Weighting type.
| Enumerator | |
|---|---|
| none | |
| left | |
| right | |
| symm | |
Definition at line 219 of file fluid_dynamics_matrix_free.cc.
|
inline |
Constructor.
Definition at line 234 of file fluid_dynamics_matrix_free.cc.
References left, and weighting_type.
|
inline |
Initialize inverses of blocks.
Definition at line 246 of file fluid_dynamics_matrix_free.cc.
References blocks, dst_internal, none, patches, src_internal, symm, PreconditionBase< VectorType >::timer, weighting_type, and weights.
|
inlineoverridevirtual |
Apply preconditioner.
| [in,out] | dst | Destination vector holding the result. |
| [in] | src | Input source vector. |
Implements PreconditionBase< VectorType >.
Definition at line 396 of file fluid_dynamics_matrix_free.cc.
References blocks, dst_internal, left, none, patches, right, src_internal, symm, PreconditionBase< VectorType >::timer, weighting_type, and weights.
|
private |
Inverse of patch matrices.
Definition at line 457 of file fluid_dynamics_matrix_free.cc.
|
mutableprivate |
Internal destination vector with correct ghosting.
Definition at line 466 of file fluid_dynamics_matrix_free.cc.
|
private |
DoF indices of patches.
Definition at line 454 of file fluid_dynamics_matrix_free.cc.
|
mutableprivate |
Internal source vector with correct ghosting.
Definition at line 469 of file fluid_dynamics_matrix_free.cc.
|
private |
Weighting type.
Definition at line 463 of file fluid_dynamics_matrix_free.cc.
|
mutableprivate |
Weights.
Definition at line 460 of file fluid_dynamics_matrix_free.cc.