Thyra::LinearOpDefaultBase< RangeScalar, DomainScalar > Class Template Reference
[Development of linear Abstract Numerical Algorithms (ANAs)]

Node subclass that provides a good default implementation for the describe() function. More...

#include <Thyra_LinearOpDefaultBaseDecl.hpp>

Inheritance diagram for Thyra::LinearOpDefaultBase< RangeScalar, DomainScalar >:

Inheritance graph
[legend]
List of all members.

Public functions overridden from Teuchos::Describable

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.

Detailed Description

template<class RangeScalar, class DomainScalar = RangeScalar>
class Thyra::LinearOpDefaultBase< RangeScalar, DomainScalar >

Node subclass that provides a good default implementation for the describe() function.

Definition at line 42 of file Thyra_LinearOpDefaultBaseDecl.hpp.


Member Function Documentation

template<class RangeScalar, class DomainScalar>
std::string Thyra::LinearOpDefaultBase< RangeScalar, DomainScalar >::description (  )  const [virtual]

Default description that gives the label, type, and dimenstion .

Reimplemented from Teuchos::Describable.

Reimplemented in Thyra::DefaultAddedLinearOp< Scalar >, Thyra::DefaultBlockedLinearOp< Scalar >, Thyra::DefaultIdentityLinearOp< Scalar >, Thyra::DefaultMultipliedLinearOp< Scalar >, Thyra::DefaultMultiVectorProductVector< Scalar >, Thyra::DefaultProductMultiVector< Scalar >, Thyra::DefaultProductVector< Scalar >, Thyra::DefaultScaledAdjointLinearOp< Scalar >, Thyra::DefaultZeroLinearOp< Scalar >, Thyra::VectorDefaultBase< Scalar >, Thyra::SpmdVectorBase< Scalar >, ExampleTridiagSerialLinearOp< Scalar >, and ExampleTridiagSpmdLinearOp< Scalar >.

Definition at line 43 of file Thyra_LinearOpDefaultBase.hpp.

template<class RangeScalar, class DomainScalar>
void Thyra::LinearOpDefaultBase< RangeScalar, DomainScalar >::describe ( Teuchos::FancyOStream out,
const Teuchos::EVerbosityLevel  verbLevel 
) const [virtual]

Generates a default outputting for all linear operators.

Calls on the this->description() function for the name of the class (and possibly its instance name) and then if verbLevel >= VERB_EXTREME, then the linear operators elements themselves are printed as well. The format of the output is as follows:

   type = 'this->description()', rangeDim = m, domainDim = n
     1:1:a11 1:2:a12 ... 1:n:a1n
     2:1:a21 2:2:a22 ... 1:n:a2n
     .       .           .
     .       .           .
     .       .           .
     m:1:am1 m:2:am2 ... m:n:amn
   

The above matrix coefficients are with respect to the natural basis as defined by the scalar products.

Before type = 'this->description()' is printed and after each newline, leadingIndent is output. The index:value lines are offset an additional indentSpacer amount. A newline is printed after the last m:n:amn entry.

Reimplemented from Teuchos::Describable.

Reimplemented in Thyra::DefaultAddedLinearOp< Scalar >, Thyra::DefaultBlockedLinearOp< Scalar >, Thyra::DefaultMultipliedLinearOp< Scalar >, Thyra::DefaultMultiVectorProductVector< Scalar >, Thyra::DefaultProductMultiVector< Scalar >, Thyra::DefaultProductVector< Scalar >, Thyra::DefaultScaledAdjointLinearOp< Scalar >, and Thyra::VectorDefaultBase< Scalar >.

Definition at line 65 of file Thyra_LinearOpDefaultBase.hpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:42:33 2010 for Thyra Operator/Vector Support by  doxygen 1.4.7