Thyra::DefaultLinearOpSource< Scalar > Class Template Reference

Default implementation of a LinearOpSourceBase that just accepts and gives up a single linear operator object. More...

#include <Thyra_DefaultLinearOpSource_decl.hpp>

Inheritance diagram for Thyra::DefaultLinearOpSource< Scalar >:
Inheritance graph
[legend]

List of all members.

Related Functions

(Note that these are not member functions.)



template<class Scalar >
Teuchos::RCP< const
DefaultLinearOpSource< Scalar > > 
defaultLinearOpSource (const Teuchos::RCP< const LinearOpBase< Scalar > > &op)
 Create a DefaultLinearOpSource object out of a LinearOpBase object.

Constructors/initializers/accessors



 DefaultLinearOpSource ()
 Construct to uninitialized.
 DefaultLinearOpSource (const Teuchos::RCP< LinearOpBase< Scalar > > &op)
 Construct with a non-const linear operator.
 DefaultLinearOpSource (const Teuchos::RCP< const LinearOpBase< Scalar > > &op)
 Construct with a const linear operator.
void initialize (const Teuchos::RCP< LinearOpBase< Scalar > > &op)
 Initialize with a non-const linear operator.
void initialize (const Teuchos::RCP< const LinearOpBase< Scalar > > &op)
 Initialize with a const linear operator.
void uninitialize ()
 Uninitialize.

Overridden from LinearOpSourceBase



bool isOpConst () const
 
Teuchos::RCP< LinearOpBase
< Scalar > > 
getNonconstOp ()
 
Teuchos::RCP< const
LinearOpBase< Scalar > > 
getOp () const
 

Detailed Description

template<class Scalar>
class Thyra::DefaultLinearOpSource< Scalar >

Default implementation of a LinearOpSourceBase that just accepts and gives up a single linear operator object.

Definition at line 41 of file Thyra_DefaultLinearOpSource_decl.hpp.


Constructor & Destructor Documentation

template<class Scalar >
Thyra::DefaultLinearOpSource< Scalar >::DefaultLinearOpSource (  )  [inline]

Construct to uninitialized.

Definition at line 44 of file Thyra_DefaultLinearOpSource_def.hpp.

template<class Scalar >
Thyra::DefaultLinearOpSource< Scalar >::DefaultLinearOpSource ( const Teuchos::RCP< LinearOpBase< Scalar > > &  op  )  [inline]

Construct with a non-const linear operator.

Definition at line 49 of file Thyra_DefaultLinearOpSource_def.hpp.

template<class Scalar >
Thyra::DefaultLinearOpSource< Scalar >::DefaultLinearOpSource ( const Teuchos::RCP< const LinearOpBase< Scalar > > &  op  )  [inline]

Construct with a const linear operator.

Definition at line 58 of file Thyra_DefaultLinearOpSource_def.hpp.


Member Function Documentation

template<class Scalar >
void Thyra::DefaultLinearOpSource< Scalar >::initialize ( const Teuchos::RCP< LinearOpBase< Scalar > > &  op  )  [inline]

Initialize with a non-const linear operator.

Definition at line 67 of file Thyra_DefaultLinearOpSource_def.hpp.

template<class Scalar >
void Thyra::DefaultLinearOpSource< Scalar >::initialize ( const Teuchos::RCP< const LinearOpBase< Scalar > > &  op  )  [inline]

Initialize with a const linear operator.

Definition at line 76 of file Thyra_DefaultLinearOpSource_def.hpp.

template<class Scalar >
void Thyra::DefaultLinearOpSource< Scalar >::uninitialize (  )  [inline]

Uninitialize.

Note: If the client wants to access the underlying linear operator, then it had better grab them with the below access functions before calling this function.

Definition at line 85 of file Thyra_DefaultLinearOpSource_def.hpp.

template<class Scalar >
bool Thyra::DefaultLinearOpSource< Scalar >::isOpConst (  )  const [inline, virtual]
template<class Scalar >
Teuchos::RCP< LinearOpBase< Scalar > > Thyra::DefaultLinearOpSource< Scalar >::getNonconstOp (  )  [inline, virtual]
template<class Scalar >
Teuchos::RCP< const LinearOpBase< Scalar > > Thyra::DefaultLinearOpSource< Scalar >::getOp (  )  const [inline, virtual]

Friends And Related Function Documentation

template<class Scalar >
Teuchos::RCP< const DefaultLinearOpSource< Scalar > > defaultLinearOpSource ( const Teuchos::RCP< const LinearOpBase< Scalar > > &  op  )  [related]

Create a DefaultLinearOpSource object out of a LinearOpBase object.

Definition at line 114 of file Thyra_DefaultLinearOpSource_decl.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:00:50 2011 for Thyra by  doxygen 1.6.3