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;
155 #endif // EPETRAEXT_TIMED_EPETRA_OP_HPP virtual const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this matrix operator. ...
virtual bool HasNormInf() const
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Epetra_Timed_Operator(const Teuchos::RCP< Epetra_Operator > &A_)
Constructor.
virtual const Epetra_Comm & Comm() const
Returns a reference to the Epetra_Comm communicator associated with this operator.
virtual ~Epetra_Timed_Operator()
Destructor.
virtual double NormInf() const
Returns an approximate infinity norm of the operator matrix.
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.
EpetraExt::BlockCrsMatrix: A class for constructing a distributed block matrix.
Class allows for timing the action and inverse action of an Epetra_Opetator.
Teuchos::RCP< Epetra_Operator > A
Stores the base 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 bool UseTranspose() const
Returns the current UseTranspose setting.
Epetra_Timed_Operator & operator=(const Epetra_Timed_Operator &)
Private to prohibit copying.
virtual const char * Label() const
Returns a character string describing the operator.
virtual const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this matrix 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 ApplyTime() const
Returns the total time applying this operator.
virtual Teuchos::RCP< const Epetra_Operator > ReturnOperator() const
Returns a pointer to the underlying Epetra_Operator.
virtual double ApplyInverseTime() const
Returns the total time applying the inverse of this operator.