Public Member Functions
TSFExtended::SimplifiedLinearOpBase< Scalar > Class Template Reference

SimplifiedLinearOpBase provides a simplified apply() interface in terms of handle classes. More...

Inheritance diagram for TSFExtended::SimplifiedLinearOpBase< Scalar >:
TSFExtended::OpWithBackwardsCompatibleApply< Scalar > LinearOpBase Sundance::DefaultObjectWithVerbosity Sundance::ObjectWithVerbosityBase TSFExtended::InverseLTIOp< Scalar > TSFExtended::SimplifiedLinearOpWithSpaces< Scalar > TSFExtended::SimpleAddedOp< Scalar > TSFExtended::SimpleBlockOp< Scalar > TSFExtended::SimpleComposedOp< Scalar > TSFExtended::SimpleDiagonalOp< Scalar > TSFExtended::SimpleIdentityOp< Scalar > TSFExtended::SimpleScaledOp< Scalar > TSFExtended::SimpleTransposedOp< Scalar > TSFExtended::SimpleZeroOp< Scalar >

List of all members.

Public Member Functions

virtual void applyOp (const Thyra::EOpTransp M_trans, const Vector< Scalar > &in, Vector< Scalar > out) const =0
void generalApply (const Thyra::EOpTransp M_trans, const Thyra::VectorBase< Scalar > &x, Thyra::VectorBase< Scalar > *y, const Scalar alpha=Teuchos::ScalarTraits< Scalar >::one(), const Scalar beta=Teuchos::ScalarTraits< Scalar >::zero()) const
 generalApply() applies either the operator or the transpose according to the value of the transpose flag.

Detailed Description

template<class Scalar>
class TSFExtended::SimplifiedLinearOpBase< Scalar >

SimplifiedLinearOpBase provides a simplified apply() interface in terms of handle classes.

Writers of operator subtypes can optionally use this interface to be able to work with handle classes rather than raw pointers and such.

Definition at line 52 of file TSFSimplifiedLinearOpBaseDecl.hpp.


Member Function Documentation

template<class Scalar>
virtual void TSFExtended::SimplifiedLinearOpBase< Scalar >::applyOp ( const Thyra::EOpTransp  M_trans,
const Vector< Scalar > &  in,
Vector< Scalar >  out 
) const [pure virtual]
template<class Scalar>
void TSFExtended::SimplifiedLinearOpBase< Scalar >::generalApply ( const Thyra::EOpTransp  M_trans,
const Thyra::VectorBase< Scalar > &  x,
Thyra::VectorBase< Scalar > *  y,
const Scalar  alpha = Teuchos::ScalarTraits<Scalar>::one(),
const Scalar  beta = Teuchos::ScalarTraits<Scalar>::zero() 
) const [virtual]

generalApply() applies either the operator or the transpose according to the value of the transpose flag.

This method is backwards compatible with TSFCore-based code.

Implements TSFExtended::OpWithBackwardsCompatibleApply< Scalar >.

Definition at line 47 of file TSFSimplifiedLinearOpBaseImpl.hpp.

References TSFExtended::Vector< Scalar >::scale(), and TSFExtended::Vector< Scalar >::update().

Site Contact