Strategy for computing and in the LU2x2PreconditionerFactory. Uses the diagonal of to build . More...
#include <Teko_LU2x2DiagonalStrategy.hpp>
Public Member Functions | |
LU2x2DiagonalStrategy () | |
default Constructor More... | |
LU2x2DiagonalStrategy (const Teuchos::RCP< InverseFactory > &invFA, const Teuchos::RCP< InverseFactory > &invS) | |
Constructor to set the inverse factories. More... | |
virtual | ~LU2x2DiagonalStrategy () |
Destructor (does nothing) More... | |
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. More... | |
Public Member Functions inherited from Teko::LU2x2Strategy | |
virtual Teuchos::RCP < Teuchos::ParameterList > | getRequestedParameters () const |
Request the additional parameters this preconditioner factory needs. More... | |
virtual bool | updateRequestedParameters (const Teuchos::ParameterList &) |
Update this object with the fields from a parameter list. More... | |
void | setRequestHandler (const Teuchos::RCP< RequestHandler > &rh) |
This method sets the request handler for this object. More... | |
Teuchos::RCP< RequestHandler > | getRequestHandler () const |
This method gets the request handler uses by this object. More... | |
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 29 of file Teko_LU2x2DiagonalStrategy.hpp.
Teko::LU2x2DiagonalStrategy::LU2x2DiagonalStrategy | ( | ) |
default Constructor
Definition at line 37 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 40 of file Teko_LU2x2DiagonalStrategy.cpp.
|
inlinevirtual |
Destructor (does nothing)
Definition at line 39 of file Teko_LU2x2DiagonalStrategy.hpp.
|
virtual |
returns the first (approximate) inverse of
Implements Teko::LU2x2Strategy.
Definition at line 47 of file Teko_LU2x2DiagonalStrategy.cpp.
|
virtual |
returns the second (approximate) inverse of
Implements Teko::LU2x2Strategy.
Definition at line 55 of file Teko_LU2x2DiagonalStrategy.cpp.
|
virtual |
returns an (approximate) inverse of
Implements Teko::LU2x2Strategy.
Definition at line 64 of file Teko_LU2x2DiagonalStrategy.cpp.
|
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 143 of file Teko_LU2x2DiagonalStrategy.cpp.
|
staticprotected |
Build timers for this type of object.
Definition at line 23 of file Teko_LU2x2DiagonalStrategy.cpp.
|
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 71 of file Teko_LU2x2DiagonalStrategy.cpp.