![]() |
KASKADE 7 development version
|
Interface for symmetric preconditioners. More...
#include <symmetricOperators.hh>
Public Types | |
| typedef X::field_type | field_type |
Public Member Functions | |
| virtual void | pre (X &, Xstar &) |
| Preconditioner preparation. | |
| virtual void | post (X &x) |
| Preconditioner cleanup. | |
| virtual field_type | applyDp (X &x, Xstar const &y)=0 |
| Computes \( x \leftarrow By \) and returns \( \langle By, y \rangle \). | |
| virtual bool | requiresInitializedInput () const =0 |
| Returns true if the target vector x has to be initialized to zero before calling apply or applyDp. | |
| virtual Dune::SolverCategory::Category | category () const override |
| returns the category of the operator | |
Interface for symmetric preconditioners.
In addition to the Dune::preconditioner interface, symmetric preconditioners provide the simultaneous evaluation of \( x = By \) and the energy product \( \langle By,y \rangle \), which can be implemented more efficiently than the sequential evaluation of both quantities.
Definition at line 214 of file symmetricOperators.hh.
| typedef X::field_type Kaskade::SymmetricPreconditioner< X, Xstar >::field_type |
Definition at line 217 of file symmetricOperators.hh.
|
pure virtual |
Computes \( x \leftarrow By \) and returns \( \langle By, y \rangle \).
Implemented in Kaskade::AdditiveMultiGrid< Smoother, Prolongation, CoarsePreconditioner >, Kaskade::HierarchicalBasisPreconditioner< Grid, Domain, Range >, Kaskade::IdentityPreconditioner< X >, Kaskade::JacobiPreconditionerDetail::JacobiPreconditionerBase< Kaskade::AssembledGalerkinOperator< Assembler, firstRow, firstRow+1, firstCol, firstCol+1, IstlInterfaceDetail::RangeBlockSelector< firstRow, firstRow+1, firstCol, firstCol+1 >, true >::matrix_type, Kaskade::AssembledGalerkinOperator< Assembler, firstRow, firstRow+1, firstCol, firstCol+1, IstlInterfaceDetail::RangeBlockSelector< firstRow, firstRow+1, firstCol, firstCol+1 >, true >::domain_type, Kaskade::AssembledGalerkinOperator< Assembler, firstRow, firstRow+1, firstCol, firstCol+1, IstlInterfaceDetail::RangeBlockSelector< firstRow, firstRow+1, firstCol, firstCol+1 >, true >::range_type >, Kaskade::JacobiPreconditionerDetail::JacobiPreconditionerBase< Operator::matrix_type, Operator::domain_type, Operator::range_type >, Kaskade::MultiplicativeMultiGrid< Entry, Index, Smoother, Prolongation >, Kaskade::SymmetricPreconditionerWrapper< X, Xstar >, and Kaskade::TrivialPreconditioner< Operator >.
|
inlineoverridevirtual |
returns the category of the operator
From the Dune doxygen documentation it is unclear what this is supposed to mean. We return a dummy here.
Reimplemented in Kaskade::TrivialPreconditioner< Operator >.
Definition at line 248 of file symmetricOperators.hh.
|
inlinevirtual |
Preconditioner cleanup.
The provided default implementation does nothing.
Reimplemented in Kaskade::HierarchicalBasisPreconditioner< Grid, Domain, Range >, Kaskade::SymmetricPreconditionerWrapper< X, Xstar >, and Kaskade::TrivialPreconditioner< Operator >.
Definition at line 231 of file symmetricOperators.hh.
|
inlinevirtual |
Preconditioner preparation.
The provided default implementation does nothing.
Reimplemented in Kaskade::HierarchicalBasisPreconditioner< Grid, Domain, Range >, Kaskade::SymmetricPreconditionerWrapper< X, Xstar >, and Kaskade::TrivialPreconditioner< Operator >.
Definition at line 224 of file symmetricOperators.hh.
|
pure virtual |
Returns true if the target vector x has to be initialized to zero before calling apply or applyDp.
Implemented in Kaskade::AdditiveMultiGrid< Smoother, Prolongation, CoarsePreconditioner >, Kaskade::AgglomerationPreconditioner< Operator >, Kaskade::AgglomerationPreconditioner< AssembledGalerkinOperator< Assembler, firstRow, firstRow+1, firstCol, firstCol+1, IstlInterfaceDetail::RangeBlockSelector< firstRow, firstRow+1, firstCol, firstCol+1 >, true > >, Kaskade::GaussSeidelPreconditioner< Matrix, Domain, Range >, Kaskade::HierarchicalBasisPreconditioner< Grid, Domain, Range >, Kaskade::IdentityPreconditioner< X >, Kaskade::JacobiPreconditioner< AssembledGalerkinOperator< Assembler, firstRow, lastRow, firstCol, lastCol, BlockFilter, symmetric > >, Kaskade::JacobiPreconditionerDetail::JacobiPreconditionerBase< Matrix, Domain, Range >, Kaskade::JacobiPreconditionerDetail::JacobiPreconditionerBase< Kaskade::AssembledGalerkinOperator< Assembler, firstRow, firstRow+1, firstCol, firstCol+1, IstlInterfaceDetail::RangeBlockSelector< firstRow, firstRow+1, firstCol, firstCol+1 >, true >::matrix_type, Kaskade::AssembledGalerkinOperator< Assembler, firstRow, firstRow+1, firstCol, firstCol+1, IstlInterfaceDetail::RangeBlockSelector< firstRow, firstRow+1, firstCol, firstCol+1 >, true >::domain_type, Kaskade::AssembledGalerkinOperator< Assembler, firstRow, firstRow+1, firstCol, firstCol+1, IstlInterfaceDetail::RangeBlockSelector< firstRow, firstRow+1, firstCol, firstCol+1 >, true >::range_type >, Kaskade::JacobiPreconditionerDetail::JacobiPreconditionerBase< Operator::matrix_type, Operator::domain_type, Operator::range_type >, Kaskade::JacobiPreconditionerDetail::JacobiPreconditionerBase< typename Operator::matrix_type, typename Operator::domain_type, typename Operator::range_type >, Kaskade::MultiplicativeMultiGrid< Entry, Index, Smoother, Prolongation >, Kaskade::PatchDomainDecompositionPreconditioner< Space, m, StorageTag, SparseMatrixIndex >, Kaskade::SymmetricPreconditionerWrapper< X, Xstar >, and Kaskade::TrivialPreconditioner< Operator >.