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.

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
 

Related Functions

(Note that these are not member functions.)

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

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 (  ) 

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  ) 

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  ) 

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  ) 

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  ) 

Initialize with a const linear operator.

Definition at line 76 of file Thyra_DefaultLinearOpSource_def.hpp.

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

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 [virtual]

Implements Thyra::LinearOpSourceBase< Scalar >.

Definition at line 95 of file Thyra_DefaultLinearOpSource_def.hpp.

template<class Scalar>
Teuchos::RCP< LinearOpBase< Scalar > > Thyra::DefaultLinearOpSource< Scalar >::getNonconstOp (  )  [virtual]

Implements Thyra::LinearOpSourceBase< Scalar >.

Definition at line 103 of file Thyra_DefaultLinearOpSource_def.hpp.

template<class Scalar>
Teuchos::RCP< const LinearOpBase< Scalar > > Thyra::DefaultLinearOpSource< Scalar >::getOp (  )  const [virtual]

Implements Thyra::LinearOpSourceBase< Scalar >.

Definition at line 111 of file Thyra_DefaultLinearOpSource_def.hpp.


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:
Generated on Tue Jul 13 09:26:40 2010 for Thyra by  doxygen 1.4.7