EpetraExt
Development
|
Class allows for timing the action and inverse action of an Epetra_Opetator. More...
#include <EpetraExt_TimedEpetraOperator.hpp>
Public Member Functions | |
Epetra_Timed_Operator (const Teuchos::RCP< Epetra_Operator > &A_) | |
Constructor. More... | |
virtual | ~Epetra_Timed_Operator () |
Destructor. More... | |
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... | |
virtual double | ApplyTime () const |
Returns the total time applying this operator. More... | |
virtual double | ApplyInverseTime () const |
Returns the total time applying the inverse of this operator. More... | |
virtual Teuchos::RCP< const Epetra_Operator > | ReturnOperator () const |
Returns a pointer to the underlying Epetra_Operator. More... | |
Protected Attributes | |
Teuchos::RCP< Epetra_Operator > | A |
Stores the base operator. More... | |
Teuchos::RCP< Teuchos::Time > | ApplyTimer |
Keeps track of the apply time. More... | |
Teuchos::RCP< Teuchos::Time > | ApplyInverseTimer |
Keeps track of the apply inverse time. More... | |
Class allows for timing the action and inverse action of an Epetra_Opetator.
Definition at line 57 of file EpetraExt_TimedEpetraOperator.hpp.
EpetraExt::Epetra_Timed_Operator::Epetra_Timed_Operator | ( | const Teuchos::RCP< Epetra_Operator > & | A_ | ) |
Constructor.
Definition at line 45 of file EpetraExt_TimedEpetraOperator.cpp.
|
virtual |
Destructor.
Definition at line 52 of file EpetraExt_TimedEpetraOperator.cpp.
|
virtual |
Set to true if the transpose of the operator is requested.
Implements Epetra_Operator.
Definition at line 57 of file EpetraExt_TimedEpetraOperator.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 65 of file EpetraExt_TimedEpetraOperator.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 76 of file EpetraExt_TimedEpetraOperator.cpp.
|
virtual |
Returns an approximate infinity norm of the operator matrix.
Implements Epetra_Operator.
Definition at line 87 of file EpetraExt_TimedEpetraOperator.cpp.
|
virtual |
Returns a character string describing the operator.
Implements Epetra_Operator.
Definition at line 94 of file EpetraExt_TimedEpetraOperator.cpp.
|
virtual |
Returns the current UseTranspose setting.
Implements Epetra_Operator.
Definition at line 100 of file EpetraExt_TimedEpetraOperator.cpp.
|
virtual |
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Implements Epetra_Operator.
Definition at line 106 of file EpetraExt_TimedEpetraOperator.cpp.
|
virtual |
Returns a reference to the Epetra_Comm communicator associated with this operator.
Implements Epetra_Operator.
Definition at line 112 of file EpetraExt_TimedEpetraOperator.cpp.
|
virtual |
Returns the Epetra_Map object associated with the domain of this matrix operator.
Implements Epetra_Operator.
Definition at line 117 of file EpetraExt_TimedEpetraOperator.cpp.
|
virtual |
Returns the Epetra_Map object associated with the range of this matrix operator.
Implements Epetra_Operator.
Definition at line 123 of file EpetraExt_TimedEpetraOperator.cpp.
|
inlinevirtual |
Returns the total time applying this operator.
Definition at line 120 of file EpetraExt_TimedEpetraOperator.hpp.
|
inlinevirtual |
Returns the total time applying the inverse of this operator.
Definition at line 125 of file EpetraExt_TimedEpetraOperator.hpp.
|
inlinevirtual |
Returns a pointer to the underlying Epetra_Operator.
Definition at line 130 of file EpetraExt_TimedEpetraOperator.hpp.
|
protected |
Stores the base operator.
Definition at line 143 of file EpetraExt_TimedEpetraOperator.hpp.
|
protected |
Keeps track of the apply time.
Definition at line 146 of file EpetraExt_TimedEpetraOperator.hpp.
|
protected |
Keeps track of the apply inverse time.
Definition at line 149 of file EpetraExt_TimedEpetraOperator.hpp.