Tear about a user specified Epetra_Operator (CrsMatrix) using a vector of vectors of GIDs for each block. More...
#include <Teko_BlockedEpetraOperator.hpp>

Public Member Functions | |
| BlockedEpetraOperator (const std::vector< std::vector< int > > &vars, const Teuchos::RCP< const Epetra_Operator > &content, const std::string &label="<ANYM>") | |
| virtual void | SetContent (const std::vector< std::vector< int > > &vars, const Teuchos::RCP< const Epetra_Operator > &content) |
| virtual void | RebuildOps () |
| const Teuchos::RCP< const Epetra_Operator > | GetBlock (int i, int j) const |
| Grab the i,j block. | |
| void | Reorder (const BlockReorderManager &brm) |
| void | RemoveReording () |
| Remove any reordering on this object. | |
| virtual void | WriteBlocks (const std::string &prefix) const |
| virtual int | SetUseTranspose (bool useTranspose) |
| virtual int | ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
| virtual double | NormInf () const |
| virtual bool | UseTranspose () const |
| virtual bool | HasNormInf () const |
| virtual const Epetra_Comm & | Comm () const |
| bool | testAgainstFullOperator (int count, double tol) const |
| Helps perform sanity checks. | |
Protected Attributes | |
| std::string | label_ |
Tear about a user specified Epetra_Operator (CrsMatrix) using a vector of vectors of GIDs for each block.
Definition at line 69 of file Teko_BlockedEpetraOperator.hpp.
| Teko::Epetra::BlockedEpetraOperator::BlockedEpetraOperator | ( | const std::vector< std::vector< int > > & | vars, |
| const Teuchos::RCP< const Epetra_Operator > & | content, | ||
| const std::string & | label = "<ANYM>" |
||
| ) |
Build a blocked operator based on a vector of vector of global IDs.
| [in] | vars | Vector of vectors of global ids specifying how the operator is to be blocked. |
| [in] | content | Operator to be blocked |
| [in] | label | Label for name the operator |
Definition at line 73 of file Teko_BlockedEpetraOperator.cpp.
| void Teko::Epetra::BlockedEpetraOperator::SetContent | ( | const std::vector< std::vector< int > > & | vars, |
| const Teuchos::RCP< const Epetra_Operator > & | content | ||
| ) | [virtual] |
Build a blocked operator based on a vector of vector of global IDs. This function basically sets up the mapping strategy used by this operator.
| [in] | vars | Vector of vectors of global ids specifying how the operator is to be blocked. |
| [in] | content | Operator to be blocked |
Definition at line 81 of file Teko_BlockedEpetraOperator.cpp.
| virtual void Teko::Epetra::BlockedEpetraOperator::RebuildOps | ( | ) | [inline, virtual] |
Force a rebuild of the blocked operator from the stored content operator.
Reimplemented in Teko::NS::ALOperator.
Definition at line 98 of file Teko_BlockedEpetraOperator.hpp.
| const Teuchos::RCP< const Epetra_Operator > Teko::Epetra::BlockedEpetraOperator::GetBlock | ( | int | i, |
| int | j | ||
| ) | const |
Grab the i,j block.
Reimplemented from Teko::Epetra::EpetraOperatorWrapper.
Reimplemented in Teko::NS::ALOperator.
Definition at line 119 of file Teko_BlockedEpetraOperator.cpp.
| void Teko::Epetra::BlockedEpetraOperator::Reorder | ( | const BlockReorderManager & | brm | ) |
Use a reorder manager to block this operator as desired. Multiple calls to the function reorder only the underlying object.
Definition at line 130 of file Teko_BlockedEpetraOperator.cpp.
Remove any reordering on this object.
Definition at line 147 of file Teko_BlockedEpetraOperator.cpp.
| void Teko::Epetra::BlockedEpetraOperator::WriteBlocks | ( | const std::string & | prefix | ) | const [virtual] |
Write out this operator to matrix market files
Definition at line 156 of file Teko_BlockedEpetraOperator.cpp.
| virtual int Teko::Epetra::BlockedEpetraOperator::SetUseTranspose | ( | bool | UseTranspose | ) | [inline, virtual] |
Reimplemented from Teko::Epetra::EpetraOperatorWrapper.
Definition at line 130 of file Teko_BlockedEpetraOperator.hpp.
| virtual int Teko::Epetra::BlockedEpetraOperator::ApplyInverse | ( | const Epetra_MultiVector & | X, |
| Epetra_MultiVector & | Y | ||
| ) | const [inline, virtual] |
Reimplemented from Teko::Epetra::EpetraOperatorWrapper.
Definition at line 133 of file Teko_BlockedEpetraOperator.hpp.
| virtual double Teko::Epetra::BlockedEpetraOperator::NormInf | ( | ) | const [inline, virtual] |
Reimplemented from Teko::Epetra::EpetraOperatorWrapper.
Definition at line 136 of file Teko_BlockedEpetraOperator.hpp.
| virtual bool Teko::Epetra::BlockedEpetraOperator::UseTranspose | ( | ) | const [inline, virtual] |
Reimplemented from Teko::Epetra::EpetraOperatorWrapper.
Definition at line 140 of file Teko_BlockedEpetraOperator.hpp.
| virtual bool Teko::Epetra::BlockedEpetraOperator::HasNormInf | ( | ) | const [inline, virtual] |
Reimplemented from Teko::Epetra::EpetraOperatorWrapper.
Definition at line 141 of file Teko_BlockedEpetraOperator.hpp.
| virtual const Epetra_Comm& Teko::Epetra::BlockedEpetraOperator::Comm | ( | ) | const [inline, virtual] |
Reimplemented from Teko::Epetra::EpetraOperatorWrapper.
Definition at line 142 of file Teko_BlockedEpetraOperator.hpp.
| bool Teko::Epetra::BlockedEpetraOperator::testAgainstFullOperator | ( | int | count, |
| double | tol | ||
| ) | const |
Helps perform sanity checks.
Definition at line 181 of file Teko_BlockedEpetraOperator.cpp.
std::string Teko::Epetra::BlockedEpetraOperator::label_ [protected] |
Reimplemented from Teko::Epetra::EpetraOperatorWrapper.
Definition at line 156 of file Teko_BlockedEpetraOperator.hpp.
1.7.6.1