| FEAT 3
    Finite Element Analysis Toolbox | 
Provisional Legacy Preconditioners Wrapper class template. More...
#include <precon_wrapper.hpp>
 
  
| Public Types | |
| typedef Matrix_ | MatrixType | 
| typedef MatrixType::VectorTypeR | VectorType | 
| Public Member Functions | |
| template<typename... Args_> | |
| PreconWrapper (const Filter_ &filter, Args_ &&... args) | |
| Constructor.  More... | |
| virtual Status | apply (Matrix_::VectorTypeR &vec_cor, const Matrix_::VectorTypeR &vec_def)=0 | 
| Solver application method.  More... | |
| virtual Status | apply (VectorType &vec_cor, const VectorType &vec_def) override | 
| Applies the preconditioner.  More... | |
| virtual void | done () | 
| Finalization method.  More... | |
| virtual void | done_numeric () | 
| Numeric finalization method.  More... | |
| virtual void | done_symbolic () | 
| Symbolic finalization method.  More... | |
| virtual void | init () | 
| Initialization method.  More... | |
| virtual void | init_numeric () | 
| Numeric initialization method.  More... | |
| virtual void | init_symbolic () | 
| Symbolic initialization method.  More... | |
| virtual String | name () const override | 
| Returns the name of the solver.  More... | |
| Protected Attributes | |
| const Filter_ & | _filter | 
| the filter object  More... | |
| Precon_< MatrixType, VectorType > | _precond | 
| the actual preconditioner object  More... | |
Provisional Legacy Preconditioners Wrapper class template.
This class template acts as a wrapper around the preconditioners implemented in the lafem/preconditioner.hpp header file.
| Matrix_ | The matrix class; is passed as the first parameter to the preconditioner class template. | 
| Precond_ | The preconditioner class template. | 
Example:
To use the ILUPreconditioner class for CSR-matrices, one would have to use the following class template combination: PreconWrapper<SparseMatrixCSR<double>, ILUPreconditioner>.
Definition at line 39 of file precon_wrapper.hpp.
| typedef Matrix_ FEAT::Solver::PreconWrapper< Matrix_, Filter_, Precon_ >::MatrixType | 
Definition at line 43 of file precon_wrapper.hpp.
| typedef MatrixType::VectorTypeR FEAT::Solver::PreconWrapper< Matrix_, Filter_, Precon_ >::VectorType | 
Definition at line 44 of file precon_wrapper.hpp.
| 
 | inlineexplicit | 
Constructor.
| [in] | args | The arguments which are passed to the preconditioner object constructor. For the required set of arguments, see the documentation of the corresponding preconditioner class template. | 
Definition at line 62 of file precon_wrapper.hpp.
| 
 | pure virtualinherited | 
Solver application method.
This method applies the solver represented by this object onto a given defect vector and returns the corresponding correction vector.
correct() method which corrects an initial solution instead of starting with the null vector.| [out] | vec_cor | The vector that shall receive the solution of the linear system. It is assumed to be allocated, but its numerical contents may be undefined upon calling this method. | 
| [in] | vec_def | The vector that represents the right-hand-side of the linear system to be solved. | 
| 
 | inlineoverridevirtual | 
Applies the preconditioner.
Definition at line 75 of file precon_wrapper.hpp.
References FEAT::Solver::PreconWrapper< Matrix_, Filter_, Precon_ >::_precond, and FEAT::Solver::success.
| 
 | inlinevirtualinherited | 
| 
 | inlinevirtualinherited | 
| 
 | inlinevirtualinherited | 
| 
 | inlinevirtualinherited | 
| 
 | inlinevirtualinherited | 
| 
 | inlinevirtualinherited | 
| 
 | inlineoverridevirtual | 
Returns the name of the solver.
Implements FEAT::Solver::SolverBase< Matrix_::VectorTypeR >.
Definition at line 69 of file precon_wrapper.hpp.
References FEAT::Solver::PreconWrapper< Matrix_, Filter_, Precon_ >::_precond.
| 
 | protected | 
the filter object
Definition at line 48 of file precon_wrapper.hpp.
| 
 | protected | 
the actual preconditioner object
Definition at line 50 of file precon_wrapper.hpp.
Referenced by FEAT::Solver::PreconWrapper< Matrix_, Filter_, Precon_ >::apply(), and FEAT::Solver::PreconWrapper< Matrix_, Filter_, Precon_ >::name().