Teko Version of the Day
Public Member Functions | Protected Attributes
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]

List of all members.

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.
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_

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 &  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.


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:
 All Classes Files Functions Variables