Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Related Functions | List of all members
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]

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. More...
 

Constructors/initializers/accessors

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

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 54 of file Thyra_DefaultLinearOpSource_decl.hpp.

Constructor & Destructor Documentation

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

Construct to uninitialized.

Definition at line 57 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 62 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 71 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 80 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 89 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 98 of file Thyra_DefaultLinearOpSource_def.hpp.

template<class Scalar >
bool Thyra::DefaultLinearOpSource< Scalar >::isOpConst ( ) const
virtual
template<class Scalar >
Teuchos::RCP< LinearOpBase< Scalar > > Thyra::DefaultLinearOpSource< Scalar >::getNonconstOp ( )
virtual
template<class Scalar >
Teuchos::RCP< const LinearOpBase< Scalar > > Thyra::DefaultLinearOpSource< Scalar >::getOp ( ) const
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 127 of file Thyra_DefaultLinearOpSource_decl.hpp.


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