![]() |
G+Smo
25.01.0
Geometry + Simulation Modules
|
A base class for individual blocks of block preconditioners.
T | coefficient type |
Public Member Functions | |
virtual void | apply (const gsMatrix< T > &input, gsMatrix< T > &x) const =0 |
apply the operator on the input vector and store the result in x | |
virtual index_t | cols () const =0 |
Returns the number of columns of the operator. | |
gsSparseSolver< T > * | createLinSolver () |
Returns a pointer to new linear solver (direct or iterative). | |
gsINSPrecondBlock () | |
Constructor. | |
gsINSPrecondBlock (const gsOptionList &opt) | |
Constructor. | |
virtual index_t | rows () const =0 |
Returns the number of rows of the operator. | |
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. | |
|
inline |
Constructor.
[in] | opt | a list of options for the preconditioner |
|
pure virtualinherited |
apply the operator on the input vector and store the result in x
input | Input vector |
x | result vector |
Implemented in gsIterativeSolverOp< SolverType >, gsBlockOp< T >, gsINSPrecondBlockF< T, MatOrder >, gsINSPrecondBlockFwhole< T, MatOrder >, gsINSPrecondBlockFdiag< T, MatOrder >, gsINSPrecondBlockFmod< T, MatOrder >, gsINSBlockPrecondBase< T, MatOrder >, gsINSBlockPrecondSIMPLE< T, MatOrder, BlockFType >, gsINSBlockPrecondSIMPLE< T, MatOrder, gsINSPrecondBlockF< T, MatOrder > >, gsINSBlockPrecondSIMPLER< T, MatOrder, BlockFType >, gsINSBlockPrecondMSIMPLER< T, MatOrder, BlockFType >, gsBlockPrecondStokes< T, MatOrder, BlockFType >, gsAdditiveOp< T >, gsKroneckerOp< T >, gsScaledOp< T >, gsIdentityOp< T >, gsLinearLambdaOp< T, L >, gsMatrixOp< MatrixType >, gsSolverOp< SolverType >, gsPreconditionerOp< T >, gsProductOp< T >, gsSumOp< T >, and gsPreconditionerFromOp< T >.
void setupLinSolver | ( | gsSparseSolver< T > & | solver | ) |
Set up the linear solver for the block.
[out] | solver | a reference to the solver object |