42 #ifndef EPETRAEXT_TIMED_EPETRA_OP_HPP
43 #define EPETRAEXT_TIMED_EPETRA_OP_HPP
45 #include "Teuchos_RCP.hpp"
46 #include "Epetra_Operator.h"
47 #include "Epetra_MultiVector.h"
48 #include <Teuchos_Time.hpp>
88 virtual const char*
Label ()
const;
143 Teuchos::RCP<Epetra_Operator>
A;
155 #endif // EPETRAEXT_TIMED_EPETRA_OP_HPP
Epetra_Timed_Operator(const Teuchos::RCP< Epetra_Operator > &A_)
Constructor.
virtual bool HasNormInf() const
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
virtual ~Epetra_Timed_Operator()
Destructor.
int SetUseTranspose(bool useTranspose)
Set to true if the transpose of the operator is requested.
Teuchos::RCP< Teuchos::Time > ApplyTimer
Keeps track of the apply time.
virtual Teuchos::RCP< const Epetra_Operator > ReturnOperator() const
Returns a pointer to the underlying Epetra_Operator.
virtual const Epetra_Comm & Comm() const
Returns a reference to the Epetra_Comm communicator associated with this operator.
Class allows for timing the action and inverse action of an Epetra_Opetator.
Teuchos::RCP< Epetra_Operator > A
Stores the base operator.
virtual double NormInf() const
Returns an approximate infinity norm of the operator matrix.
virtual bool UseTranspose() const
Returns the current UseTranspose setting.
virtual double ApplyTime() const
Returns the total time applying this operator.
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 ...
virtual const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this matrix operator. ...
virtual const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this matrix operator.
virtual const char * Label() const
Returns a character string describing the operator.
Teuchos::RCP< Teuchos::Time > ApplyInverseTimer
Keeps track of the apply inverse time.
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 ...
virtual double ApplyInverseTime() const
Returns the total time applying the inverse of this operator.