10 #ifndef THYRA_LINEAR_OP_DEFAULT_BASE_HPP
11 #define THYRA_LINEAR_OP_DEFAULT_BASE_HPP
13 #include "Thyra_LinearOpDefaultBase_decl.hpp"
14 #include "Thyra_LinearOpBase.hpp"
15 #include "Thyra_VectorSpaceBase.hpp"
16 #include "Thyra_describeLinearOp.hpp"
24 template<
class Scalar>
27 std::ostringstream oss;
29 l_range = this->range();
31 l_domain = this->domain();
34 oss <<
"{range=NULL,domain=NULL}";
37 const Ordinal dimDomain = l_domain->dim(), dimRange = l_range->dim();
39 <<
"{rangeDim=" << dimRange
40 <<
",domainDim=" << dimDomain <<
"}";
46 template<
class Scalar>
52 describeLinearOp(*
this, out, verbLevel);
58 #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 .