42 #ifndef THYRA_LINEAR_OP_DEFAULT_BASE_HPP 43 #define THYRA_LINEAR_OP_DEFAULT_BASE_HPP 45 #include "Thyra_LinearOpDefaultBase_decl.hpp" 46 #include "Thyra_LinearOpBase.hpp" 47 #include "Thyra_VectorSpaceBase.hpp" 48 #include "Thyra_describeLinearOp.hpp" 56 template<
class Scalar>
59 std::ostringstream oss;
60 const Teuchos::RCP<const VectorSpaceBase<Scalar> >
61 l_range = this->range();
62 const Teuchos::RCP<const VectorSpaceBase<Scalar> >
63 l_domain = this->domain();
64 oss << Teuchos::Describable::description();
66 oss <<
"{range=NULL,domain=NULL}";
69 const Ordinal dimDomain = l_domain->dim(), dimRange = l_range->dim();
71 <<
"{rangeDim=" << dimRange
72 <<
",domainDim=" << dimDomain <<
"}";
78 template<
class Scalar>
80 Teuchos::FancyOStream &out,
81 const Teuchos::EVerbosityLevel verbLevel
84 describeLinearOp(*
this, out, verbLevel);
90 #endif // THYRA_LINEAR_OP_DEFAULT_BASE_HPP std::string description() const
Default description that gives the label, type, and dimenstion .
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
Generates a default outputting for all linear operators.
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.