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;
61 l_range = this->range();
63 l_domain = this->domain();
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>
84 describeLinearOp(*
this, out, verbLevel);
90 #endif // THYRA_LINEAR_OP_DEFAULT_BASE_HPP
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.
virtual std::string description() const
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
Generates a default outputting for all linear operators.
std::string description() const
Default description that gives the label, type, and dimenstion .