template<class T, int MatOrder>
class gismo::gsINSPrecondBlockFmod< T, MatOrder >
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).
|
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.
|
|