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. More... | |
DiagnosticLinearOp (const Teuchos::RCP< std::ostream > &ostrm, const LinearOp &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. More... | |
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. More... | |
virtual | ~DiagnosticLinearOp () |
Destructor prints out timing information about this operator. More... | |
Inherited methods from Thyra::LinearOpBase | |
virtual VectorSpace | range () const |
Range space of this operator. More... | |
virtual VectorSpace | domain () const |
Domain space of this operator. More... | |
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. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Teko::ImplicitLinearOp | |
virtual bool | opSupportedImpl (const Thyra::EOpTransp M_trans) const |
Functions required by Thyra::LinearOpBase. More... | |
This linear operator prints diagnostics about operator application and creation times. It is useful for debugging problems and determining bottle necks.
Definition at line 32 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 22 of file Teko_DiagnosticLinearOp.cpp.
Teko::DiagnosticLinearOp::DiagnosticLinearOp | ( | const Teuchos::RCP< std::ostream > & | ostrm, |
const LinearOp & | 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 31 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 43 of file Teko_DiagnosticLinearOp.cpp.
|
virtual |
Destructor prints out timing information about this operator.
Definition at line 53 of file Teko_DiagnosticLinearOp.cpp.
|
inlinevirtual |
Range space of this operator.
Implements Teko::ImplicitLinearOp.
Definition at line 63 of file Teko_DiagnosticLinearOp.hpp.
|
inlinevirtual |
Domain space of this operator.
Implements Teko::ImplicitLinearOp.
Definition at line 66 of file Teko_DiagnosticLinearOp.hpp.
|
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 79 of file Teko_DiagnosticLinearOp.cpp.