Public Member Functions | Private Attributes
TSFExtended::MLOperator Class Reference
Inheritance diagram for TSFExtended::MLOperator:
TSFExtended::OpWithBackwardsCompatibleApply< double > LinearOpBase Sundance::DefaultObjectWithVerbosity Sundance::ObjectWithVerbosityBase

List of all members.

Public Member Functions

 MLOperator (const LinearOperator< double > &op, const ParameterList &mlParams)
void apply (const Thyra::EConj conj, const Thyra::MultiVectorBase< double > &X, Thyra::MultiVectorBase< double > *Y, const double alpha, const double beta) const
 Thyra apply method.
void applyTranspose (const Thyra::EConj conj, const Thyra::MultiVectorBase< double > &X, Thyra::MultiVectorBase< double > *Y, const double alpha, const double beta) const
 Thyra apply transpose method.
virtual void generalApply (const Thyra::EOpTransp M_trans, const Thyra::VectorBase< double > &x, Thyra::VectorBase< double > *y, const double alpha=1.0, const double beta=0.0) const
 Apply operator to a vector in the domain space and return a vector in the range space.
virtual RCP< const
Thyra::VectorSpaceBase< double > > 
domain () const
 Return the domain of the operator.
virtual RCP< const
Thyra::VectorSpaceBase< double > > 
range () const
 Return the range of the operator.

Private Attributes

RCP
< ML_Epetra::MultiLevelPreconditioner > 
mlPrec_
RCP< const
Thyra::VectorSpaceBase< double > > 
domain_
RCP< const
Thyra::VectorSpaceBase< double > > 
range_

Detailed Description

Definition at line 44 of file TSFMLOperator.hpp.


Constructor & Destructor Documentation

MLOperator::MLOperator ( const LinearOperator< double > &  op,
const ParameterList &  mlParams 
)

Definition at line 44 of file TSFMLOperator.cpp.

References TSFExtended::EpetraMatrix::getConcrete(), and mlPrec_.


Member Function Documentation

void TSFExtended::MLOperator::apply ( const Thyra::EConj  conj,
const Thyra::MultiVectorBase< double > &  X,
Thyra::MultiVectorBase< double > *  Y,
const double  alpha,
const double  beta 
) const [inline]

Thyra apply method.

Definition at line 54 of file TSFMLOperator.hpp.

Referenced by applyTranspose().

void TSFExtended::MLOperator::applyTranspose ( const Thyra::EConj  conj,
const Thyra::MultiVectorBase< double > &  X,
Thyra::MultiVectorBase< double > *  Y,
const double  alpha,
const double  beta 
) const [inline]

Thyra apply transpose method.

Definition at line 69 of file TSFMLOperator.hpp.

References apply().

virtual RCP< const Thyra::VectorSpaceBase<double> > TSFExtended::MLOperator::domain ( ) const [inline, virtual]

Return the domain of the operator.

Definition at line 93 of file TSFMLOperator.hpp.

References domain_.

void MLOperator::generalApply ( const Thyra::EOpTransp  M_trans,
const Thyra::VectorBase< double > &  x,
Thyra::VectorBase< double > *  y,
const double  alpha = 1.0,
const double  beta = 0.0 
) const [virtual]

Apply operator to a vector in the domain space and return a vector in the range space.

Implements TSFExtended::OpWithBackwardsCompatibleApply< double >.

Definition at line 58 of file TSFMLOperator.cpp.

References TSFExtended::EpetraVector::epetraVec(), and mlPrec_.

virtual RCP< const Thyra::VectorSpaceBase<double> > TSFExtended::MLOperator::range ( ) const [inline, virtual]

Return the range of the operator.

Definition at line 96 of file TSFMLOperator.hpp.

References range_.


Member Data Documentation

RCP<const Thyra::VectorSpaceBase<double> > TSFExtended::MLOperator::domain_ [private]

Definition at line 102 of file TSFMLOperator.hpp.

Referenced by domain().

RCP<ML_Epetra::MultiLevelPreconditioner> TSFExtended::MLOperator::mlPrec_ [private]

Definition at line 100 of file TSFMLOperator.hpp.

Referenced by generalApply(), and MLOperator().

RCP<const Thyra::VectorSpaceBase<double> > TSFExtended::MLOperator::range_ [private]

Definition at line 104 of file TSFMLOperator.hpp.

Referenced by range().

Site Contact