Teko  Version of the Day
 All Classes Files Functions Variables Pages
Public Member Functions | Protected Attributes | List of all members
Teko::StaticLU2x2Strategy Class Reference

A simple strategy for use with LU2x2PreconditionerFactory, that offers static objects for inv(F) and inv(S) More...

#include <Teko_LU2x2Strategy.hpp>

Inheritance diagram for Teko::StaticLU2x2Strategy:
Inheritance graph
[legend]

Public Member Functions

 StaticLU2x2Strategy (const Teko::LinearOp &hInvA00, const Teko::LinearOp &tInvA00, const Teko::LinearOp &invS)
 Constructor that takes the static $A_{00}^{-1}$ and $S^{-1}$ objects. More...
 
Methods inherited from LU2x2Strategy.
virtual const Teko::LinearOp getHatInvA00 (const Teko::BlockedLinearOp &, BlockPreconditionerState &) const
 
virtual const Teko::LinearOp getTildeInvA00 (const Teko::BlockedLinearOp &, BlockPreconditionerState &) const
 
virtual const Teko::LinearOp getInvS (const Teko::BlockedLinearOp &, BlockPreconditionerState &) const
 
- Public Member Functions inherited from Teko::LU2x2Strategy
virtual void initializeFromParameterList (const Teuchos::ParameterList &, const InverseLibrary &)
 This function builds the internals of the state from a parameter list. More...
 
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< RequestHandlergetRequestHandler () const
 This method gets the request handler uses by this object. More...
 

Protected Attributes

const Teko::LinearOp hatInvA00_
 
const Teko::LinearOp tildeInvA00_
 
const Teko::LinearOp invS_
 

Detailed Description

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.

Constructor & Destructor Documentation

Teko::StaticLU2x2Strategy::StaticLU2x2Strategy ( const Teko::LinearOp &  hInvA00,
const Teko::LinearOp &  tInvA00,
const Teko::LinearOp &  invS 
)
inline

Constructor that takes the static $A_{00}^{-1}$ and $S^{-1}$ objects.

Constructor that takes the static $A_{00}^{-1}$ and $S^{-1}$ objects.

Parameters
[in]hInvA00Inverse of $\hat{A}_{00}$ in the source matrix.
[in]tInvA00Inverse of $\tilde{A}_{00}$ in the source matrix.
[in]invSInverse of the Schur complement of the source matrix.

Definition at line 198 of file Teko_LU2x2Strategy.hpp.

Member Function Documentation

virtual const Teko::LinearOp Teko::StaticLU2x2Strategy::getHatInvA00 ( const Teko::BlockedLinearOp &  ,
BlockPreconditionerState  
) const
inlinevirtual

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 &  ,
BlockPreconditionerState  
) const
inlinevirtual

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 &  ,
BlockPreconditionerState  
) const
inlinevirtual

returns a static (approximate) inverse of S = -D + L*inv(F)*U

Implements Teko::LU2x2Strategy.

Definition at line 221 of file Teko_LU2x2Strategy.hpp.

Member Data Documentation

const Teko::LinearOp Teko::StaticLU2x2Strategy::hatInvA00_
protected

Stored value of $\hat{A}_{00}^{-1}$

Definition at line 227 of file Teko_LU2x2Strategy.hpp.

const Teko::LinearOp Teko::StaticLU2x2Strategy::tildeInvA00_
protected

Stored value of $\tilde{A}_{00}^{-1}$

Definition at line 228 of file Teko_LU2x2Strategy.hpp.

const Teko::LinearOp Teko::StaticLU2x2Strategy::invS_
protected

Stored value of $S^{-1}$

Definition at line 229 of file Teko_LU2x2Strategy.hpp.


The documentation for this class was generated from the following file: