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

Base interface for linear operators that can be accessed as sub-blocks. More...

#include <Thyra_BlockedLinearOpBase.hpp>

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

[legend]
List of all members.

Public Member Functions

virtual Teuchos::RefCountPtr<
const ProductVectorSpaceBase<
RangeScalar > > 
productRange () const =0
 Return the product space for the range.
virtual Teuchos::RefCountPtr<
const ProductVectorSpaceBase<
DomainScalar > > 
productDomain () const =0
 Return the product space for the domain.
virtual bool blockExists (const int i, const int j) const =0
 Return if the block (i,j) exists or not.
virtual bool blockIsConst (const int i, const int j) const =0
 Return if the block (i,j) is const only or not.
virtual Teuchos::RefCountPtr<
LinearOpBase< RangeScalar,
DomainScalar > > 
getNonconstBlock (const int i, const int j)=0
 Return a non-const view of the block (i,j) if it exists.
virtual Teuchos::RefCountPtr<
const LinearOpBase< RangeScalar,
DomainScalar > > 
getBlock (const int i, const int j) const =0
 Return a const view of the block (i,j) if it exists.

Detailed Description

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

Base interface for linear operators that can be accessed as sub-blocks.

ToDo: Finish Documentation.

Definition at line 47 of file Thyra_BlockedLinearOpBase.hpp.


Member Function Documentation

template<class RangeScalar, class DomainScalar = RangeScalar>
virtual Teuchos::RefCountPtr<const ProductVectorSpaceBase<RangeScalar> > Thyra::BlockedLinearOpBase< RangeScalar, DomainScalar >::productRange  )  const [pure virtual]
 

Return the product space for the range.

A return value of return.get()==NULL is an indication that *this is not fully initialized.

template<class RangeScalar, class DomainScalar = RangeScalar>
virtual Teuchos::RefCountPtr<const ProductVectorSpaceBase<DomainScalar> > Thyra::BlockedLinearOpBase< RangeScalar, DomainScalar >::productDomain  )  const [pure virtual]
 

Return the product space for the domain.

A return value of return.get()==NULL is an indication that *this is not fully initialized.

template<class RangeScalar, class DomainScalar = RangeScalar>
virtual bool Thyra::BlockedLinearOpBase< RangeScalar, DomainScalar >::blockExists const int  i,
const int  j
const [pure virtual]
 

Return if the block (i,j) exists or not.

Parameters:
i [in] Zero-based index for the block row.
j [in] Zero-based index for the block column.
Preconditions:

template<class RangeScalar, class DomainScalar = RangeScalar>
virtual bool Thyra::BlockedLinearOpBase< RangeScalar, DomainScalar >::blockIsConst const int  i,
const int  j
const [pure virtual]
 

Return if the block (i,j) is const only or not.

Parameters:
i [in] Zero-based index for the block row.
j [in] Zero-based index for the block column.
Preconditions:

template<class RangeScalar, class DomainScalar = RangeScalar>
virtual Teuchos::RefCountPtr<LinearOpBase<RangeScalar,DomainScalar> > Thyra::BlockedLinearOpBase< RangeScalar, DomainScalar >::getNonconstBlock const int  i,
const int  j
[pure virtual]
 

Return a non-const view of the block (i,j) if it exists.

Parameters:
i [in] Zero-based index for the block row.
j [in] Zero-based index for the block column.
Preconditions:

Postconditions:

  • [this->blockExists(i,j)==true] return.get()!=NULL
  • [this->blockExists(i,j)==false] return.get()==NULL

template<class RangeScalar, class DomainScalar = RangeScalar>
virtual Teuchos::RefCountPtr<const LinearOpBase<RangeScalar,DomainScalar> > Thyra::BlockedLinearOpBase< RangeScalar, DomainScalar >::getBlock const int  i,
const int  j
const [pure virtual]
 

Return a const view of the block (i,j) if it exists.

Parameters:
i [in] Zero-based index for the block row.
j [in] Zero-based index for the block column.
Preconditions:

Postconditions:

  • [this->blockExists(i,j)==true] return.get()!=NULL
  • [this->blockExists(i,j)==false] return.get()==NULL


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:32:13 2008 for Extended Thyra ANA Operator/Vector Interfaces by doxygen 1.3.9.1