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