A simple strategy for use with LU2x2PreconditionerFactory, that offers static objects for inv(F) and inv(S) More...
#include <Teko_LU2x2Strategy.hpp>

Public Member Functions | |
| StaticLU2x2Strategy (const Teko::LinearOp &hInvA00, const Teko::LinearOp &tInvA00, const Teko::LinearOp &invS) | |
Constructor that takes the static and objects. | |
Methods inherited from LU2x2Strategy. | |
| virtual const Teko::LinearOp | getHatInvA00 (const Teko::BlockedLinearOp &A, BlockPreconditionerState &state) const |
| virtual const Teko::LinearOp | getTildeInvA00 (const Teko::BlockedLinearOp &A, BlockPreconditionerState &state) const |
| virtual const Teko::LinearOp | getInvS (const Teko::BlockedLinearOp &A, BlockPreconditionerState &state) const |
Protected Attributes | |
| const Teko::LinearOp | hatInvA00_ |
| const Teko::LinearOp | tildeInvA00_ |
| const Teko::LinearOp | invS_ |
A simple strategy for use with LU2x2PreconditionerFactory, that offers static objects for inv(F) and inv(S)
This is a simple startegy for a LU2x2PreconditionerFactory it simply returns statically set RCP pointers to the passed in inv(F) and inv(Schur) operators. Note this will not permit efficient implementations when the preconditioner has to be rebuilt
Definition at line 188 of file Teko_LU2x2Strategy.hpp.
| Teko::StaticLU2x2Strategy::StaticLU2x2Strategy | ( | const Teko::LinearOp & | hInvA00, |
| const Teko::LinearOp & | tInvA00, | ||
| const Teko::LinearOp & | invS | ||
| ) | [inline] |
Constructor that takes the static
and
objects.
Constructor that takes the static
and
objects.
| [in] | hInvA00 | Inverse of in the source matrix. |
| [in] | tInvA00 | Inverse of in the source matrix. |
| [in] | invS | Inverse of the Schur complement of the source matrix. |
Definition at line 198 of file Teko_LU2x2Strategy.hpp.
| virtual const Teko::LinearOp Teko::StaticLU2x2Strategy::getHatInvA00 | ( | const Teko::BlockedLinearOp & | A, |
| BlockPreconditionerState & | state | ||
| ) | const [inline, virtual] |
returns a static (approximate) inverse of F
Implements Teko::LU2x2Strategy.
Definition at line 211 of file Teko_LU2x2Strategy.hpp.
| virtual const Teko::LinearOp Teko::StaticLU2x2Strategy::getTildeInvA00 | ( | const Teko::BlockedLinearOp & | A, |
| BlockPreconditionerState & | state | ||
| ) | const [inline, virtual] |
returns a static (approximate) inverse of F
Implements Teko::LU2x2Strategy.
Definition at line 216 of file Teko_LU2x2Strategy.hpp.
| virtual const Teko::LinearOp Teko::StaticLU2x2Strategy::getInvS | ( | const Teko::BlockedLinearOp & | A, |
| BlockPreconditionerState & | state | ||
| ) | const [inline, virtual] |
returns a static (approximate) inverse of S = -D + L*inv(F)*U
Implements Teko::LU2x2Strategy.
Definition at line 221 of file Teko_LU2x2Strategy.hpp.
const Teko::LinearOp Teko::StaticLU2x2Strategy::hatInvA00_ [protected] |
Stored value of
Definition at line 227 of file Teko_LU2x2Strategy.hpp.
const Teko::LinearOp Teko::StaticLU2x2Strategy::tildeInvA00_ [protected] |
Stored value of
Definition at line 228 of file Teko_LU2x2Strategy.hpp.
const Teko::LinearOp Teko::StaticLU2x2Strategy::invS_ [protected] |
Stored value of
Definition at line 229 of file Teko_LU2x2Strategy.hpp.
1.7.6.1