Strategy for computing
and
in the LU2x2PreconditionerFactory. Uses the diagonal of
to build
.
More...
#include <Teko_LU2x2DiagonalStrategy.hpp>

Public Member Functions | |
| LU2x2DiagonalStrategy () | |
| default Constructor | |
| LU2x2DiagonalStrategy (const Teuchos::RCP< InverseFactory > &invFA, const Teuchos::RCP< InverseFactory > &invS) | |
| Constructor to set the inverse factories. | |
| virtual | ~LU2x2DiagonalStrategy () |
| Destructor (does nothing) | |
| 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 |
| virtual void | initializeFromParameterList (const Teuchos::ParameterList &settings, const InverseLibrary &invLib) |
| This function builds the internals of the state from a parameter list. | |
Protected Member Functions | |
| void | initializeState (const Teko::BlockedLinearOp &A, BlockPreconditionerState &state) const |
Static Protected Member Functions | |
| static void | buildTimers () |
Strategy for computing
and
in the LU2x2PreconditionerFactory. Uses the diagonal of
to build
.
This should be paired with a LU2x2PreconditionerFactory, it build the
and
operators. where the Shur complement is
.
Definition at line 66 of file Teko_LU2x2DiagonalStrategy.hpp.
default Constructor
Definition at line 75 of file Teko_LU2x2DiagonalStrategy.cpp.
| Teko::LU2x2DiagonalStrategy::LU2x2DiagonalStrategy | ( | const Teuchos::RCP< InverseFactory > & | invFA, |
| const Teuchos::RCP< InverseFactory > & | invS | ||
| ) |
Constructor to set the inverse factories.
Definition at line 82 of file Teko_LU2x2DiagonalStrategy.cpp.
| virtual Teko::LU2x2DiagonalStrategy::~LU2x2DiagonalStrategy | ( | ) | [inline, virtual] |
Destructor (does nothing)
Definition at line 76 of file Teko_LU2x2DiagonalStrategy.hpp.
| const Teko::LinearOp Teko::LU2x2DiagonalStrategy::getHatInvA00 | ( | const Teko::BlockedLinearOp & | A, |
| BlockPreconditionerState & | state | ||
| ) | const [virtual] |
returns the first (approximate) inverse of
Implements Teko::LU2x2Strategy.
Definition at line 91 of file Teko_LU2x2DiagonalStrategy.cpp.
| const Teko::LinearOp Teko::LU2x2DiagonalStrategy::getTildeInvA00 | ( | const Teko::BlockedLinearOp & | A, |
| BlockPreconditionerState & | state | ||
| ) | const [virtual] |
returns the second (approximate) inverse of
Implements Teko::LU2x2Strategy.
Definition at line 100 of file Teko_LU2x2DiagonalStrategy.cpp.
| const Teko::LinearOp Teko::LU2x2DiagonalStrategy::getInvS | ( | const Teko::BlockedLinearOp & | A, |
| BlockPreconditionerState & | state | ||
| ) | const [virtual] |
returns an (approximate) inverse of
Implements Teko::LU2x2Strategy.
Definition at line 109 of file Teko_LU2x2DiagonalStrategy.cpp.
| void Teko::LU2x2DiagonalStrategy::initializeFromParameterList | ( | const Teuchos::ParameterList & | pl, |
| const InverseLibrary & | invLib | ||
| ) | [virtual] |
This function builds the internals of the state from a parameter list.
This function builds the internals of the LU 2x2 state from a parameter list. Furthermore, it allows a developer to easily add a factory to the build system.
| [in] | settings | Parameter list to use as the internal settings |
| [in] | invLib | Inverse library to use for building inverse factory objects |
Reimplemented from Teko::LU2x2Strategy.
Definition at line 189 of file Teko_LU2x2DiagonalStrategy.cpp.
| void Teko::LU2x2DiagonalStrategy::buildTimers | ( | ) | [static, protected] |
Build timers for this type of object.
Definition at line 60 of file Teko_LU2x2DiagonalStrategy.cpp.
| void Teko::LU2x2DiagonalStrategy::initializeState | ( | const Teko::BlockedLinearOp & | A, |
| BlockPreconditionerState & | state | ||
| ) | const [protected] |
Initialize the operator's state. This builds the Schur complement and the inverse operators. If the state has already been initialized this method does nothing.
| [in] | A | Operator to intialize with. |
| [in] | state | Storage object for this operator. |
Definition at line 116 of file Teko_LU2x2DiagonalStrategy.cpp.
1.7.6.1