![]() |
G+Smo
25.01.0
Geometry + Simulation Modules
|
Base class for block F of (modified) block preconditioner of the form.
\[ \left[ \begin{array}{cc} F & B^T \\ 0 & S \end{array} \right], \]
.
Implements action of \fF^{-1}\f. Assumes that the block F is not block-diagonal, solves a system with lower block-triangular submatrix of F (neglects the upper triangle).
Inheritance diagram for gsINSPrecondBlockFmod< T, MatOrder >:
Collaboration diagram for gsINSPrecondBlockFmod< T, MatOrder >:Public Member Functions | |
| void | apply (const gsMatrix< T > &input, gsMatrix< T > &x) const |
| Apply the block. Computes the vector \fx = F^{-1} y\f. | |
| int | cols () const |
| Returns the number of columns of the block. | |
| gsSparseSolver< T > * | createLinSolver () |
| Returns a pointer to new linear solver (direct or iterative). | |
| virtual std::string | getName () const |
| Returns the block name as a string. | |
| gsINSPrecondBlockFmod (const gsSparseMatrix< T, MatOrder > &matNS, const gsOptionList &opt) | |
| Constructor. | |
| int | rows () const |
| Returns the number of rows of the block. | |
| virtual void | setOptions (const gsOptionList &) |
| Set options based on a gsOptionList object. | |
| void | setupLinSolver (gsSparseSolver< T > &solver) |
| Set up the linear solver for the block. | |
Static Public Member Functions | |
| static gsOptionList | defaultOptions () |
| Get the default options as gsOptionList object. | |
| static gsIdentityOp< T > | Identity (const index_t dim) |
| Identity operator. | |
| static uPtr | make (const gsSparseMatrix< T, MatOrder > &matNS, const gsOptionList &opt) |
| Returns a unique pointer to a newly created instance. | |
|
inline |
Constructor.
| [in] | matNS | a const reference to the saddle-point system matrix |
| [in] | opt | a list of options for the preconditioner |
|
virtual |
Apply the block. Computes the vector \fx = F^{-1} y\f.
| [in] | input | a const reference the vector \f y \f |
| [out] | x | a reference to the resulting vector \f x \f |
Implements gsLinearOperator< T >.
|
inlinestatic |
Returns a unique pointer to a newly created instance.
| [in] | matNS | a const reference to the saddle-point system matrix |
| [in] | opt | a list of options for the preconditioner |
|
inherited |
Set up the linear solver for the block.
| [out] | solver | a reference to the solver object |