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

A one-size-fits-most left preconditioner that can be constructed by accepting an operator for the left op of the preconditioner. More...

Inheritance diagram for TSFExtended::GenericLeftPreconditioner< Scalar >:
TSFExtended::PreconditionerBase< Scalar > TSFExtended::PreconditionerBase< Scalar > Sundance::Handleable< PreconditionerBase< Scalar > > Sundance::Handleable< PreconditionerBase< Scalar > >

List of all members.

Public Member Functions

 GenericLeftPreconditioner (const LinearOperator< Scalar > &left)
 construct with an operator for the left preconditioner
virtual ~GenericLeftPreconditioner ()
 virtual dtor
virtual LinearOperator< Scalar > left () const
 Return the left operator.
virtual LinearOperator< Scalar > right () const
 A call to right() results in an error for a left precond.
virtual bool hasLeft () const
 return true because this preconditioner has a nontrivial left component.
virtual bool hasRight () const
 return false, because this preconditioner has no nontrivial right component
 GenericLeftPreconditioner (const LinearOperator< Scalar > &left)
 construct with
virtual ~GenericLeftPreconditioner ()
 virtual dtor
virtual LinearOperator< Scalar > left () const
 Return the left operator.
virtual LinearOperator< Scalar > right () const
 A call to right() results in an error for a left precond.
virtual bool hasLeft () const
 return true because this preconditioner has a nontrivial left component.
virtual bool hasRight () const
 return false, because this preconditioner has no nontrivial right component

Private Attributes

Handleable interface
LinearOperator< Scalar > left_

Detailed Description

template<class Scalar>
class TSFExtended::GenericLeftPreconditioner< Scalar >

A one-size-fits-most left preconditioner that can be constructed by accepting an operator for the left op of the preconditioner.

Definition at line 47 of file TSFGenericLeftPreconditioner.hpp.


Constructor & Destructor Documentation

template<class Scalar >
TSFExtended::GenericLeftPreconditioner< Scalar >::GenericLeftPreconditioner ( const LinearOperator< Scalar > &  left) [inline]

construct with an operator for the left preconditioner

Definition at line 51 of file TSFGenericLeftPreconditioner.hpp.

template<class Scalar >
virtual TSFExtended::GenericLeftPreconditioner< Scalar >::~GenericLeftPreconditioner ( ) [inline, virtual]

virtual dtor

Definition at line 55 of file TSFGenericLeftPreconditioner.hpp.

template<class Scalar >
TSFExtended::GenericLeftPreconditioner< Scalar >::GenericLeftPreconditioner ( const LinearOperator< Scalar > &  left) [inline]

construct with

Definition at line 51 of file TSFLeftPreconditioner.hpp.

template<class Scalar >
virtual TSFExtended::GenericLeftPreconditioner< Scalar >::~GenericLeftPreconditioner ( ) [inline, virtual]

virtual dtor

Definition at line 55 of file TSFLeftPreconditioner.hpp.


Member Function Documentation

template<class Scalar >
virtual bool TSFExtended::GenericLeftPreconditioner< Scalar >::hasLeft ( ) const [inline, virtual]

return true because this preconditioner has a nontrivial left component.

Implements TSFExtended::PreconditionerBase< Scalar >.

Definition at line 71 of file TSFGenericLeftPreconditioner.hpp.

template<class Scalar >
virtual bool TSFExtended::GenericLeftPreconditioner< Scalar >::hasLeft ( ) const [inline, virtual]

return true because this preconditioner has a nontrivial left component.

Implements TSFExtended::PreconditionerBase< Scalar >.

Definition at line 71 of file TSFLeftPreconditioner.hpp.

template<class Scalar >
virtual bool TSFExtended::GenericLeftPreconditioner< Scalar >::hasRight ( ) const [inline, virtual]

return false, because this preconditioner has no nontrivial right component

Implements TSFExtended::PreconditionerBase< Scalar >.

Definition at line 75 of file TSFGenericLeftPreconditioner.hpp.

template<class Scalar >
virtual bool TSFExtended::GenericLeftPreconditioner< Scalar >::hasRight ( ) const [inline, virtual]

return false, because this preconditioner has no nontrivial right component

Implements TSFExtended::PreconditionerBase< Scalar >.

Definition at line 75 of file TSFLeftPreconditioner.hpp.

template<class Scalar >
virtual LinearOperator<Scalar> TSFExtended::GenericLeftPreconditioner< Scalar >::left ( ) const [inline, virtual]

Return the left operator.

Implements TSFExtended::PreconditionerBase< Scalar >.

Definition at line 59 of file TSFLeftPreconditioner.hpp.

References TSFExtended::GenericLeftPreconditioner< Scalar >::left_.

template<class Scalar >
virtual LinearOperator<Scalar> TSFExtended::GenericLeftPreconditioner< Scalar >::left ( ) const [inline, virtual]
template<class Scalar >
virtual LinearOperator<Scalar> TSFExtended::GenericLeftPreconditioner< Scalar >::right ( ) const [inline, virtual]

A call to right() results in an error for a left precond.

Implements TSFExtended::PreconditionerBase< Scalar >.

Definition at line 62 of file TSFGenericLeftPreconditioner.hpp.

template<class Scalar >
virtual LinearOperator<Scalar> TSFExtended::GenericLeftPreconditioner< Scalar >::right ( ) const [inline, virtual]

A call to right() results in an error for a left precond.

Implements TSFExtended::PreconditionerBase< Scalar >.

Definition at line 62 of file TSFLeftPreconditioner.hpp.


Member Data Documentation

template<class Scalar >
LinearOperator< Scalar > TSFExtended::GenericLeftPreconditioner< Scalar >::left_ [private]

Site Contact