Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar > Class Template Reference

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

#include <Thyra_DefaultLinearOpSourceDecl.hpp>

Inheritance diagram for Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >:

[legend]
List of all members.

Constructors/initializers/accessors

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

Overridden from LinearOpSourceBase

bool isOpConst () const
 
Teuchos::RefCountPtr< LinearOpBase<
RangeScalar, DomainScalar > > 
getNonconstOp ()
 
Teuchos::RefCountPtr< const
LinearOpBase< RangeScalar,
DomainScalar > > 
getOp () const
 

Related Functions

(Note that these are not member functions.)

Teuchos::RefCountPtr< const
DefaultLinearOpSource< RangeScalar,
DomainScalar > > 
defaultLinearOpSource (const Teuchos::RefCountPtr< const LinearOpBase< RangeScalar, DomainScalar > > &op)
 Create a DefaultLinearOpSource object out of a LinearOpBase object.

Detailed Description

template<class RangeScalar, class DomainScalar = RangeScalar>
class Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >

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

Definition at line 41 of file Thyra_DefaultLinearOpSourceDecl.hpp.


Constructor & Destructor Documentation

template<class RangeScalar, class DomainScalar>
Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >::DefaultLinearOpSource  ) 
 

Construct to uninitialized.

Definition at line 39 of file Thyra_DefaultLinearOpSource.hpp.

template<class RangeScalar, class DomainScalar>
Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >::DefaultLinearOpSource const Teuchos::RefCountPtr< LinearOpBase< RangeScalar, DomainScalar > > &  op  ) 
 

Construct with a non-const linear operator.

Definition at line 43 of file Thyra_DefaultLinearOpSource.hpp.

template<class RangeScalar, class DomainScalar>
Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >::DefaultLinearOpSource const Teuchos::RefCountPtr< const LinearOpBase< RangeScalar, DomainScalar > > &  op  ) 
 

Construct with a const linear operator.

Definition at line 51 of file Thyra_DefaultLinearOpSource.hpp.


Member Function Documentation

template<class RangeScalar, class DomainScalar>
void Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >::initialize const Teuchos::RefCountPtr< LinearOpBase< RangeScalar, DomainScalar > > &  op  ) 
 

Initialize with a non-const linear operator.

Definition at line 59 of file Thyra_DefaultLinearOpSource.hpp.

template<class RangeScalar, class DomainScalar>
void Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >::initialize const Teuchos::RefCountPtr< const LinearOpBase< RangeScalar, DomainScalar > > &  op  ) 
 

Initialize with a const linear operator.

Definition at line 67 of file Thyra_DefaultLinearOpSource.hpp.

template<class RangeScalar, class DomainScalar>
void Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >::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 75 of file Thyra_DefaultLinearOpSource.hpp.

template<class RangeScalar, class DomainScalar>
bool Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >::isOpConst  )  const [virtual]
 

Implements Thyra::LinearOpSourceBase< RangeScalar, DomainScalar >.

Definition at line 83 of file Thyra_DefaultLinearOpSource.hpp.

template<class RangeScalar, class DomainScalar>
Teuchos::RefCountPtr< LinearOpBase< RangeScalar, DomainScalar > > Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >::getNonconstOp  )  [virtual]
 

Implements Thyra::LinearOpSourceBase< RangeScalar, DomainScalar >.

Definition at line 90 of file Thyra_DefaultLinearOpSource.hpp.

template<class RangeScalar, class DomainScalar>
Teuchos::RefCountPtr< const LinearOpBase< RangeScalar, DomainScalar > > Thyra::DefaultLinearOpSource< RangeScalar, DomainScalar >::getOp  )  const [virtual]
 

Implements Thyra::LinearOpSourceBase< RangeScalar, DomainScalar >.

Definition at line 97 of file Thyra_DefaultLinearOpSource.hpp.


Friends And Related Function Documentation

template<class RangeScalar, class DomainScalar = RangeScalar>
Teuchos::RefCountPtr< const DefaultLinearOpSource< RangeScalar, DomainScalar > > defaultLinearOpSource const Teuchos::RefCountPtr< const LinearOpBase< RangeScalar, DomainScalar > > &  op  )  [related]
 

Create a DefaultLinearOpSource object out of a LinearOpBase object.

Definition at line 114 of file Thyra_DefaultLinearOpSourceDecl.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:32:46 2008 for Thyra Operator Solve Support by doxygen 1.3.9.1