Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
An adaptor that supplies the operator interface to a multi-vector. More...
#include <Stokhos_EpetraMultiVectorOperator.hpp>
Public Member Functions | |
EpetraMultiVectorOperator (const Teuchos::RCP< const Epetra_MultiVector > &multi_vec, bool is_multi_vec_transposed) | |
Constructor. More... | |
EpetraMultiVectorOperator (const Teuchos::RCP< Epetra_MultiVector > &multi_vec, bool is_multi_vec_transposed) | |
Constructor. More... | |
virtual | ~EpetraMultiVectorOperator () |
Destructor. More... | |
Teuchos::RCP< const Epetra_MultiVector > | getMultiVector () const |
Teuchos::RCP< Epetra_MultiVector > | getMultiVector () |
virtual int | SetUseTranspose (bool UseTranspose) |
Set to true if the transpose of the operator is requested. More... | |
virtual int | Apply (const Epetra_MultiVector &Input, Epetra_MultiVector &Result) const |
Returns the result of a Epetra_Operator applied to a Epetra_MultiVector Input in Result as described above. More... | |
virtual int | ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
Returns the result of the inverse of the operator applied to a Epetra_MultiVector Input in Result as described above. More... | |
virtual double | NormInf () const |
Returns an approximate infinity norm of the operator matrix. More... | |
virtual const char * | Label () const |
Returns a character string describing the operator. More... | |
virtual bool | UseTranspose () const |
Returns the current UseTranspose setting. More... | |
virtual bool | HasNormInf () const |
Returns true if the this object can provide an approximate Inf-norm, false otherwise. More... | |
virtual const Epetra_Comm & | Comm () const |
Returns a reference to the Epetra_Comm communicator associated with this operator. More... | |
virtual const Epetra_Map & | OperatorDomainMap () const |
Returns the Epetra_Map object associated with the domain of this matrix operator. More... | |
virtual const Epetra_Map & | OperatorRangeMap () const |
Returns the Epetra_Map object associated with the range of this matrix operator. More... | |
Protected Attributes | |
std::string | label |
Label for operator. More... | |
Teuchos::RCP< const Epetra_MultiVector > | multi_vec |
Multi-vector. More... | |
Teuchos::RCP< Epetra_MultiVector > | nonconst_multi_vec |
Non-const multi-vector. More... | |
bool | is_multi_vec_transposed |
Whether the multivector is already transposed. More... | |
bool | useTranspose |
Flag indicating whether transpose was selected. More... | |
Teuchos::RCP< Epetra_Map > | domain_map |
Domain map ( = number of columns of multi_vec) More... | |
Private Member Functions | |
EpetraMultiVectorOperator (const EpetraMultiVectorOperator &) | |
Private to prohibit copying. More... | |
EpetraMultiVectorOperator & | operator= (const EpetraMultiVectorOperator &) |
Private to prohibit copying. More... | |
An adaptor that supplies the operator interface to a multi-vector.
Supplies the operator interface for the operator C = op(A)*B where A, B, and C are multi-vectors, and op() is the identity or transpose operator. The convention is when the transpose is not requested, A is treated as a row-oriented multi-vector and therefore the domain map is the map of A. The corresponding range map is a local map of size given by the number of vectors When the transpose is selected, these are reversed.
This should really live somewhere else as it has nothing to do with Stokhos.
Definition at line 34 of file Stokhos_EpetraMultiVectorOperator.hpp.
Stokhos::EpetraMultiVectorOperator::EpetraMultiVectorOperator | ( | const Teuchos::RCP< const Epetra_MultiVector > & | multi_vec, |
bool | is_multi_vec_transposed | ||
) |
Constructor.
Definition at line 15 of file Stokhos_EpetraMultiVectorOperator.cpp.
Stokhos::EpetraMultiVectorOperator::EpetraMultiVectorOperator | ( | const Teuchos::RCP< Epetra_MultiVector > & | multi_vec, |
bool | is_multi_vec_transposed | ||
) |
Constructor.
Definition at line 30 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
virtual |
Destructor.
Definition at line 45 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
private |
Private to prohibit copying.
|
inline |
Definition at line 52 of file Stokhos_EpetraMultiVectorOperator.hpp.
|
inline |
Definition at line 55 of file Stokhos_EpetraMultiVectorOperator.hpp.
|
virtual |
Set to true if the transpose of the operator is requested.
Implements Epetra_Operator.
Definition at line 51 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
virtual |
Returns the result of a Epetra_Operator applied to a Epetra_MultiVector Input in Result as described above.
Implements Epetra_Operator.
Definition at line 63 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
virtual |
Returns the result of the inverse of the operator applied to a Epetra_MultiVector Input in Result as described above.
Implements Epetra_Operator.
Definition at line 79 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
virtual |
Returns an approximate infinity norm of the operator matrix.
Implements Epetra_Operator.
Definition at line 88 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
virtual |
Returns a character string describing the operator.
Implements Epetra_Operator.
Definition at line 107 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
virtual |
Returns the current UseTranspose setting.
Implements Epetra_Operator.
Definition at line 114 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
virtual |
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Implements Epetra_Operator.
Definition at line 123 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
virtual |
Returns a reference to the Epetra_Comm communicator associated with this operator.
Implements Epetra_Operator.
Definition at line 130 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
virtual |
Returns the Epetra_Map object associated with the domain of this matrix operator.
Implements Epetra_Operator.
Definition at line 136 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
virtual |
Returns the Epetra_Map object associated with the range of this matrix operator.
Implements Epetra_Operator.
Definition at line 145 of file Stokhos_EpetraMultiVectorOperator.cpp.
|
private |
Private to prohibit copying.
|
protected |
Label for operator.
Definition at line 118 of file Stokhos_EpetraMultiVectorOperator.hpp.
|
protected |
Multi-vector.
Definition at line 121 of file Stokhos_EpetraMultiVectorOperator.hpp.
|
protected |
Non-const multi-vector.
Definition at line 124 of file Stokhos_EpetraMultiVectorOperator.hpp.
|
protected |
Whether the multivector is already transposed.
Definition at line 127 of file Stokhos_EpetraMultiVectorOperator.hpp.
|
protected |
Flag indicating whether transpose was selected.
Definition at line 130 of file Stokhos_EpetraMultiVectorOperator.hpp.
|
protected |
Domain map ( = number of columns of multi_vec)
Definition at line 133 of file Stokhos_EpetraMultiVectorOperator.hpp.