Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Private Attributes | Related Functions | List of all members
Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar > Class Template Reference

Create a LinearOpWithSolveFactory for a flattened-out multi-vector. More...

#include <Thyra_ScaledIdentityLinearOpWithSolveFactory.hpp>

Inheritance diagram for Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >:
Thyra::LinearOpWithSolveFactoryBase< Scalar > Teuchos::Describable Teuchos::ParameterListAcceptor Teuchos::LabeledObject

Private Attributes

RCP< const VectorSpaceBase
< Scalar > > 
space_
 
Scalar s_
 

Related Functions

(Note that these are not member functions.)

template<class Scalar >
RCP
< ScaledIdentityLinearOpWithSolveFactory
< Scalar > > 
scaledIdentitySolveFactory (const RCP< const VectorSpaceBase< Scalar > > &space, const Scalar &s)
 Nonmember constructor. More...
 

Overridden from Constructors/Initializers/Accessors

 ScaledIdentityLinearOpWithSolveFactory ()
 Construct to uninitialized. More...
 
void initialize (const RCP< const VectorSpaceBase< Scalar > > &space, const Scalar &s)
 Initialize. More...
 

Overridden from ParameterListAcceptor

void setParameterList (RCP< ParameterList > const &)
 
RCP< ParameterList > getNonconstParameterList ()
 
RCP< ParameterList > unsetParameterList ()
 
RCP< const ParameterList > getParameterList () const
 
RCP< const ParameterList > getValidParameters () const
 

Overridden from LinearOpWithSolveFactoyBase

virtual bool acceptsPreconditionerFactory () const
 returns false. More...
 
virtual void setPreconditionerFactory (const RCP< PreconditionerFactoryBase< Scalar > > &, const std::string &)
 Throws exception. More...
 
virtual RCP
< PreconditionerFactoryBase
< Scalar > > 
getPreconditionerFactory () const
 Returns null . More...
 
virtual void unsetPreconditionerFactory (RCP< PreconditionerFactoryBase< Scalar > > *, std::string *)
 Throws exception. More...
 
virtual bool isCompatible (const LinearOpSourceBase< Scalar > &fwdOpSrc) const
 
virtual RCP
< LinearOpWithSolveBase
< Scalar > > 
createOp () const
 
virtual void initializeOp (const RCP< const LinearOpSourceBase< Scalar > > &fwdOpSrc, LinearOpWithSolveBase< Scalar > *Op, const ESupportSolveUse supportSolveUse) const
 
virtual void initializeAndReuseOp (const RCP< const LinearOpSourceBase< Scalar > > &fwdOpSrc, LinearOpWithSolveBase< Scalar > *Op) const
 
virtual void uninitializeOp (LinearOpWithSolveBase< Scalar > *Op, RCP< const LinearOpSourceBase< Scalar > > *fwdOpSrc, RCP< const PreconditionerBase< Scalar > > *prec, RCP< const LinearOpSourceBase< Scalar > > *approxFwdOpSrc, ESupportSolveUse *supportSolveUse) const
 
virtual bool supportsPreconditionerInputType (const EPreconditionerInputType) const
 
virtual void initializePreconditionedOp (const RCP< const LinearOpSourceBase< Scalar > > &, const RCP< const PreconditionerBase< Scalar > > &, LinearOpWithSolveBase< Scalar > *, const ESupportSolveUse) const
 
virtual void initializeApproxPreconditionedOp (const RCP< const LinearOpSourceBase< Scalar > > &, const RCP< const LinearOpSourceBase< Scalar > > &, LinearOpWithSolveBase< Scalar > *, const ESupportSolveUse) const
 
void informUpdatedVerbosityState () const
 Overridden from Teuchos::VerboseObjectBase. More...
 

Additional Inherited Members

- Public Member Functions inherited from Thyra::LinearOpWithSolveFactoryBase< Scalar >
bool isCompatible (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const LinearOpBase< Scalar > &fwdOp)
 
void setDefaultObjectLabel (const LinearOpBase< Scalar > &fwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &Op)
 
void initializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 
void initializeAndReuseOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &Op)
 
void initializePreconditionedOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const RCP< const PreconditionerBase< Scalar > > &prec, const Ptr< LinearOpWithSolveBase< Scalar > > &Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 
void initializeApproxPreconditionedOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const RCP< const LinearOpBase< Scalar > > &approxFwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 
RCP< LinearOpWithSolveBase
< Scalar > > 
linearOpWithSolve (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 
RCP< LinearOpBase< Scalar > > inverse (const LinearOpWithSolveFactoryBase< Scalar > &LOWSF, const RCP< const LinearOpBase< Scalar > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED, const Ptr< const SolveCriteria< Scalar > > &fwdSolveCriteria=Teuchos::null, const EThrowOnSolveFailure throwOnFwdSolveFailure=THROW_ON_SOLVE_FAILURE, const Ptr< const SolveCriteria< Scalar > > &adjSolveCriteria=Teuchos::null, const EThrowOnSolveFailure throwOnAdjSolveFailure=THROW_ON_SOLVE_FAILURE)
 
void uninitializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Ptr< LinearOpWithSolveBase< Scalar > > &Op, const Ptr< RCP< const LinearOpBase< Scalar > > > &fwdOp=Teuchos::null, const Ptr< RCP< const PreconditionerBase< Scalar > > > &prec=Teuchos::null, const Ptr< RCP< const LinearOpBase< Scalar > > > &approxFwdOp=Teuchos::null, const Ptr< ESupportSolveUse > &supportSolveUse=Teuchos::null)
 
- Public Member Functions inherited from Teuchos::Describable
virtual std::string description () const
 
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 
- Public Member Functions inherited from Teuchos::ParameterListAcceptor
virtual void setParameterList (const RCP< ParameterList > &paramList)=0
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

Detailed Description

template<class Scalar>
class Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >

Create a LinearOpWithSolveFactory for a flattened-out multi-vector.

Definition at line 25 of file Thyra_ScaledIdentityLinearOpWithSolveFactory.hpp.

Constructor & Destructor Documentation

Construct to uninitialized.

Definition at line 32 of file Thyra_ScaledIdentityLinearOpWithSolveFactory.hpp.

Member Function Documentation

template<class Scalar >
void Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::initialize ( const RCP< const VectorSpaceBase< Scalar > > &  space,
const Scalar &  s 
)
inline

Initialize.

Definition at line 36 of file Thyra_ScaledIdentityLinearOpWithSolveFactory.hpp.

template<class Scalar >
void Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::setParameterList ( RCP< ParameterList > const &  )
inline
template<class Scalar >
RCP<ParameterList> Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::getNonconstParameterList ( )
inlinevirtual
template<class Scalar >
RCP<ParameterList> Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::unsetParameterList ( )
inlinevirtual
template<class Scalar >
RCP<const ParameterList> Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::getParameterList ( ) const
inlinevirtual
template<class Scalar >
RCP<const ParameterList> Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::getValidParameters ( ) const
inlinevirtual
template<class Scalar >
virtual bool Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::acceptsPreconditionerFactory ( ) const
inlinevirtual

returns false.

Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.

Definition at line 69 of file Thyra_ScaledIdentityLinearOpWithSolveFactory.hpp.

template<class Scalar >
virtual void Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::setPreconditionerFactory ( const RCP< PreconditionerFactoryBase< Scalar > > &  ,
const std::string &   
)
inlinevirtual

Throws exception.

Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.

Definition at line 72 of file Thyra_ScaledIdentityLinearOpWithSolveFactory.hpp.

template<class Scalar >
virtual RCP<PreconditionerFactoryBase<Scalar> > Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::getPreconditionerFactory ( ) const
inlinevirtual

Returns null .

Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.

Definition at line 80 of file Thyra_ScaledIdentityLinearOpWithSolveFactory.hpp.

template<class Scalar >
virtual void Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::unsetPreconditionerFactory ( RCP< PreconditionerFactoryBase< Scalar > > *  ,
std::string *   
)
inlinevirtual

Throws exception.

Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.

Definition at line 87 of file Thyra_ScaledIdentityLinearOpWithSolveFactory.hpp.

template<class Scalar >
virtual bool Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::isCompatible ( const LinearOpSourceBase< Scalar > &  fwdOpSrc) const
inlinevirtual
template<class Scalar >
virtual RCP<LinearOpWithSolveBase<Scalar> > Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::createOp ( ) const
inlinevirtual
template<class Scalar >
void Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::initializeOp ( const RCP< const LinearOpSourceBase< Scalar > > &  fwdOpSrc,
LinearOpWithSolveBase< Scalar > *  Op,
const ESupportSolveUse  supportSolveUse 
) const
virtual
template<class Scalar >
virtual void Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::initializeAndReuseOp ( const RCP< const LinearOpSourceBase< Scalar > > &  fwdOpSrc,
LinearOpWithSolveBase< Scalar > *  Op 
) const
inlinevirtual
template<class Scalar >
void Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::uninitializeOp ( LinearOpWithSolveBase< Scalar > *  Op,
RCP< const LinearOpSourceBase< Scalar > > *  fwdOpSrc,
RCP< const PreconditionerBase< Scalar > > *  prec,
RCP< const LinearOpSourceBase< Scalar > > *  approxFwdOpSrc,
ESupportSolveUse supportSolveUse 
) const
virtual
template<class Scalar >
virtual bool Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::supportsPreconditionerInputType ( const EPreconditionerInputType  ) const
inlinevirtual
template<class Scalar >
virtual void Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::initializePreconditionedOp ( const RCP< const LinearOpSourceBase< Scalar > > &  ,
const RCP< const PreconditionerBase< Scalar > > &  ,
LinearOpWithSolveBase< Scalar > *  ,
const ESupportSolveUse   
) const
inlinevirtual
template<class Scalar >
virtual void Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::initializeApproxPreconditionedOp ( const RCP< const LinearOpSourceBase< Scalar > > &  ,
const RCP< const LinearOpSourceBase< Scalar > > &  ,
LinearOpWithSolveBase< Scalar > *  ,
const ESupportSolveUse   
) const
inlinevirtual
template<class Scalar >
void Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::informUpdatedVerbosityState ( ) const
inlineprotected

Friends And Related Function Documentation

template<class Scalar >
RCP< ScaledIdentityLinearOpWithSolveFactory< Scalar > > scaledIdentitySolveFactory ( const RCP< const VectorSpaceBase< Scalar > > &  space,
const Scalar &  s 
)
related

Nonmember constructor.

Definition at line 170 of file Thyra_ScaledIdentityLinearOpWithSolveFactory.hpp.

Member Data Documentation

template<class Scalar >
RCP<const VectorSpaceBase<Scalar> > Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::space_
private
template<class Scalar >
Scalar Thyra::ScaledIdentityLinearOpWithSolveFactory< Scalar >::s_
private

The documentation for this class was generated from the following file: