|
FEAT 3
Finite Element Analysis Toolbox
|
Matrix preconditioner implementation. More...
#include <matrix_precond.hpp>
Public Types | |
| typedef SolverBase< VectorType > | BaseClass |
| typedef MatrixType::DataType | DataType |
| typedef Filter_ | FilterType |
| typedef Matrix_ | MatrixType |
| typedef MatrixType::VectorTypeL | VectorType |
Public Member Functions | |
| MatrixPrecond (const MatrixType &matrix, const FilterType &filter) | |
| Constructor. More... | |
| MatrixPrecond (const String §ion_name, const PropertyMap *section, const MatrixType &matrix, const FilterType &filter) | |
| Constructor. More... | |
| virtual Status | apply (Matrix_::VectorTypeL &vec_cor, const Matrix_::VectorTypeL &vec_def)=0 |
| Solver application method. More... | |
| virtual Status | apply (VectorType &vec_cor, const VectorType &vec_def) override |
| virtual void | done () |
| Finalization method. More... | |
| virtual void | done_numeric () |
| Numeric finalization method. More... | |
| virtual void | done_symbolic () override |
| Symbolic finalization method. More... | |
| virtual void | init () |
| Initialization method. More... | |
| virtual void | init_numeric () override |
| Numeric initialization method. More... | |
| virtual void | init_symbolic () override |
| Symbolic initialization method. More... | |
| virtual String | name () const override |
| Returns the name of the solver. More... | |
Protected Attributes | |
| const FilterType & | _filter |
| const MatrixType & | _matrix |
Matrix preconditioner implementation.
This class wraps a matrix to be used as a preconditioner
Definition at line 23 of file matrix_precond.hpp.
| typedef SolverBase<VectorType> FEAT::Solver::MatrixPrecond< Matrix_, Filter_ >::BaseClass |
Definition at line 31 of file matrix_precond.hpp.
| typedef MatrixType::DataType FEAT::Solver::MatrixPrecond< Matrix_, Filter_ >::DataType |
Definition at line 30 of file matrix_precond.hpp.
| typedef Filter_ FEAT::Solver::MatrixPrecond< Matrix_, Filter_ >::FilterType |
Definition at line 28 of file matrix_precond.hpp.
| typedef Matrix_ FEAT::Solver::MatrixPrecond< Matrix_, Filter_ >::MatrixType |
Definition at line 27 of file matrix_precond.hpp.
| typedef MatrixType::VectorTypeL FEAT::Solver::MatrixPrecond< Matrix_, Filter_ >::VectorType |
Definition at line 29 of file matrix_precond.hpp.
|
inlineexplicit |
Constructor.
| [in] | matrix | The matrix to be used. |
| [in] | filter | The system filter. |
Definition at line 47 of file matrix_precond.hpp.
|
inlineexplicit |
Constructor.
| [in] | section_name | The name of the config section, which it does not know by itself |
| [in] | section | A pointer to the PropertyMap section configuring this solver |
| [in] | matrix | The matrix to be used. |
| [in] | filter | The system filter. |
Definition at line 68 of file matrix_precond.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. |
Implemented in FEAT::Solver::AmaVanka< Matrix_, Filter_ >.
|
inlineoverridevirtual |
Definition at line 94 of file matrix_precond.hpp.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Numeric finalization method.
This method is called to release any data allocated in the numeric initialization step.
Reimplemented in FEAT::Solver::GenericUmfpack< Matrix_ >.
|
inlineoverridevirtual |
Symbolic finalization method.
This method is called to release any data allocated in the symbolic initialization step.
Reimplemented from FEAT::Solver::SolverBase< Matrix_::VectorTypeL >.
Definition at line 86 of file matrix_precond.hpp.
|
inlinevirtualinherited |
|
inlineoverridevirtual |
Numeric initialization method.
This method is called to perform numeric initialization of the solver.
Before this function can be called, the symbolic initialization must be performed.
Reimplemented from FEAT::Solver::SolverBase< Matrix_::VectorTypeL >.
Definition at line 90 of file matrix_precond.hpp.
|
inlineoverridevirtual |
Symbolic initialization method.
This method is called to perform symbolic initialization of the solver.
Reimplemented from FEAT::Solver::SolverBase< Matrix_::VectorTypeL >.
Definition at line 82 of file matrix_precond.hpp.
|
inlineoverridevirtual |
Returns the name of the solver.
Implements FEAT::Solver::SolverBase< Matrix_::VectorTypeL >.
Definition at line 77 of file matrix_precond.hpp.
|
protected |
Definition at line 35 of file matrix_precond.hpp.
|
protected |
Definition at line 34 of file matrix_precond.hpp.