00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef THYRA_PHYSICALLY_BLOCKED_LINEAR_OP_BASE_HPP
00030 #define THYRA_PHYSICALLY_BLOCKED_LINEAR_OP_BASE_HPP
00031
00032 #include "Thyra_BlockedLinearOpBase.hpp"
00033
00034 namespace Thyra {
00035
00047 template<class RangeScalar, class DomainScalar=RangeScalar>
00048 class PhysicallyBlockedLinearOpBase
00049 : virtual public BlockedLinearOpBase<RangeScalar,DomainScalar>
00050 {
00051 public:
00052
00063 virtual void beginBlockFill() = 0;
00064
00080 virtual void beginBlockFill(
00081 const int numRowBlocks, const int numColBlocks
00082 ) = 0;
00083
00103 virtual void beginBlockFill(
00104 const Teuchos::RCP<const ProductVectorSpaceBase<RangeScalar> > &productRange
00105 ,const Teuchos::RCP<const ProductVectorSpaceBase<DomainScalar> > &productDomain
00106 ) = 0;
00107
00109 virtual bool blockFillIsActive() const = 0;
00110
00125 virtual bool acceptsBlock(const int i, const int j) const = 0;
00126
00138 virtual void setNonconstBlock(
00139 const int i, const int j
00140 ,const Teuchos::RCP<LinearOpBase<RangeScalar,DomainScalar> > &block
00141 ) = 0;
00142
00154 virtual void setBlock(
00155 const int i, const int j
00156 ,const Teuchos::RCP<const LinearOpBase<RangeScalar,DomainScalar> > &block
00157 ) = 0;
00158
00170 virtual void endBlockFill() = 0;
00171
00180 virtual void uninitialize() = 0;
00181
00182 };
00183
00184 }
00185
00186 #endif // THYRA_PHYSICALLY_BLOCKED_LINEAR_OP_BASE_HPP