42 #include "Epetra_config.h"
60 success =
A->SetUseTranspose(useTranspose);
70 success =
A->Apply(Input,Result);
80 ApplyInverseTimer->start();
81 success =
A->ApplyInverse(Input,Result);
82 ApplyInverseTimer->stop();
102 return A->UseTranspose();
108 return A->HasNormInf();
119 return A->OperatorDomainMap();
125 return A->OperatorRangeMap();
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 const Epetra_Comm & Comm() const
Returns a reference to the Epetra_Comm communicator associated with this operator.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual double NormInf() const
Returns an approximate infinity norm of the operator matrix.
virtual bool UseTranspose() const
Returns the current UseTranspose setting.
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 ...