This linear operator prints diagnostics about operator application and creation times. It is useful for debugging problems and determining bottle necks. More...
#include <Teko_DiagnosticLinearOp.hpp>

Public Member Functions | |
| DiagnosticLinearOp (const Teuchos::RCP< std::ostream > &ostrm, const ModifiableLinearOp &A, const std::string &diagnosticString) | |
| This constructor explicitly takes the linear operator that needs to be wrapped and a string for output that describes the diagnostics. | |
| DiagnosticLinearOp (const Teuchos::RCP< std::ostream > &ostrm, const LinearOp &fwdOp, const ModifiableLinearOp &A, const std::string &diagnosticString) | |
| This constructor explicitly takes the linear operator that needs to be wrapped and a string for output that describes the diagnostics. | |
| virtual | ~DiagnosticLinearOp () |
| Destructor prints out timing information about this operator. | |
Inherited methods from Thyra::LinearOpBase | |
| virtual VectorSpace | range () const |
| Range space of this operator. | |
| virtual VectorSpace | domain () const |
| Domain space of this operator. | |
| virtual void | implicitApply (const MultiVector &x, MultiVector &y, const double alpha=1.0, const double beta=0.0) const |
| Perform a matrix vector multiply with this operator. | |
Protected Attributes | |
| ModifiableLinearOp | wrapOpA_ |
inverse of | |
| Teko::LinearOp | fwdOp_ |
inverse of | |
This linear operator prints diagnostics about operator application and creation times. It is useful for debugging problems and determining bottle necks.
Definition at line 69 of file Teko_DiagnosticLinearOp.hpp.
| Teko::DiagnosticLinearOp::DiagnosticLinearOp | ( | const Teuchos::RCP< std::ostream > & | ostrm, |
| const ModifiableLinearOp & | A, | ||
| const std::string & | diagnosticString | ||
| ) |
This constructor explicitly takes the linear operator that needs to be wrapped and a string for output that describes the diagnostics.
Definition at line 59 of file Teko_DiagnosticLinearOp.cpp.
| Teko::DiagnosticLinearOp::DiagnosticLinearOp | ( | const Teuchos::RCP< std::ostream > & | ostrm, |
| const LinearOp & | fwdOp, | ||
| const ModifiableLinearOp & | A, | ||
| const std::string & | diagnosticString | ||
| ) |
This constructor explicitly takes the linear operator that needs to be wrapped and a string for output that describes the diagnostics.
Definition at line 68 of file Teko_DiagnosticLinearOp.cpp.
| Teko::DiagnosticLinearOp::~DiagnosticLinearOp | ( | ) | [virtual] |
Destructor prints out timing information about this operator.
Definition at line 74 of file Teko_DiagnosticLinearOp.cpp.
| virtual VectorSpace Teko::DiagnosticLinearOp::range | ( | ) | const [inline, virtual] |
Range space of this operator.
Implements Teko::ImplicitLinearOp.
Definition at line 91 of file Teko_DiagnosticLinearOp.hpp.
| virtual VectorSpace Teko::DiagnosticLinearOp::domain | ( | ) | const [inline, virtual] |
Domain space of this operator.
Implements Teko::ImplicitLinearOp.
Definition at line 94 of file Teko_DiagnosticLinearOp.hpp.
| void Teko::DiagnosticLinearOp::implicitApply | ( | const MultiVector & | x, |
| MultiVector & | y, | ||
| const double | alpha = 1.0, |
||
| const double | beta = 0.0 |
||
| ) | const [virtual] |
Perform a matrix vector multiply with this operator.
The apply function takes one vector as input and applies the inverse
decomposition. The result is returned in
. If this operator is reprsented as
then
(ignoring conjugation!).
| [in] | x | |
| [in,out] | y | |
| [in] | alpha | (default=1) |
| [in] | beta | (default=0) |
Implements Teko::ImplicitLinearOp.
Definition at line 100 of file Teko_DiagnosticLinearOp.cpp.
ModifiableLinearOp Teko::DiagnosticLinearOp::wrapOpA_ [protected] |
inverse of
Definition at line 136 of file Teko_DiagnosticLinearOp.hpp.
Teko::LinearOp Teko::DiagnosticLinearOp::fwdOp_ [protected] |
inverse of
Definition at line 137 of file Teko_DiagnosticLinearOp.hpp.
1.7.6.1