#include <Teko_BlockedReordering.hpp>
Public Member Functions | |
virtual Teuchos::RCP < BlockReorderManager > | Copy () const |
Make a copy of this object. More... | |
virtual int | GetNumBlocks () const |
Get the number of subblocks (this one returns 0 b/c its a leaf) More... | |
virtual void | SetNumBlocks (int) |
Set the number of subblocks (this one does nothing b/c its a leaf) More... | |
virtual void | SetBlock (int, int) |
Set the sub block, this does nothing b/c its a leaf. More... | |
virtual const Teuchos::RCP < BlockReorderManager > | GetBlock (int) |
Get a particular subblock...this returns null. More... | |
virtual const Teuchos::RCP < const BlockReorderManager > | GetBlock (int) const |
Get a particular subblock...this returns null. More... | |
int | GetIndex () const |
Get the the index that is stored in this block. More... | |
virtual std::string | toString () const |
Return a string description of this leaf class. More... | |
virtual int | LargestIndex () const |
Largest index in this manager. More... | |
Constructors | |
BlockReorderLeaf (int ind) | |
Simple constructor that sets the index. More... | |
BlockReorderLeaf (const BlockReorderLeaf &brl) | |
Copy constructor. More... | |
Public Member Functions inherited from Teko::BlockReorderManager | |
virtual void | SetBlock (int blockIndex, const Teuchos::RCP< BlockReorderManager > &reorder) |
Set the subblock to a use a particular reorder manager. More... | |
BlockReorderManager () | |
Basic empty constructor. More... | |
BlockReorderManager (int sz) | |
Set this level to have size sz. More... | |
BlockReorderManager (const BlockReorderManager &bmm) | |
Copy constructor. More... | |
virtual | ~BlockReorderManager () |
Do nothing destructor. More... | |
Protected Attributes | |
int | value_ |
The value of the index for this leaf. More... | |
Protected Attributes inherited from Teko::BlockReorderManager | |
std::vector< Teuchos::RCP < BlockReorderManager > > | children_ |
Definitions of the subblocks. More... | |
Additional Inherited Members | |
Related Functions inherited from Teko::BlockReorderManager | |
Teuchos::RCP< const Thyra::VectorSpaceBase< double > > | buildReorderedVectorSpace (const BlockReorderManager &mgr, const Teuchos::RCP< const Thyra::ProductVectorSpaceBase< double > > &blkSpc) |
Use the BlockReorderManager to change a flat vector space into a composite vector space. More... | |
Teuchos::RCP< const Thyra::LinearOpBase< double > > | buildReorderedLinearOp (const BlockReorderManager &bmm, const Teuchos::RCP< const Thyra::BlockedLinearOpBase< double > > &blkOp) |
Use the BlockReorderManager to change a flat square blocked operator into a composite operator. More... | |
Teuchos::RCP< const Thyra::LinearOpBase< double > > | buildReorderedLinearOp (const BlockReorderManager &rowMgr, const BlockReorderManager &colMgr, const Teuchos::RCP< const Thyra::BlockedLinearOpBase< double > > &blkOp) |
Use the BlockReorderManager to change a flat blocked operator into a composite operator. More... | |
Teuchos::RCP< const Thyra::VectorSpaceBase< double > > | buildReorderedVectorSpace (const BlockReorderManager &mgr, const Teuchos::RCP< const Thyra::ProductVectorSpaceBase< double > > &blkSpc) |
Use the BlockReorderManager to change a flat vector space into a composite vector space. More... | |
Teuchos::RCP < Thyra::MultiVectorBase < double > > | buildReorderedMultiVector (const BlockReorderManager &mgr, const Teuchos::RCP< Thyra::ProductMultiVectorBase< double > > &blkVec) |
Convert a flat multi vector into a reordered multivector. More... | |
Teuchos::RCP< const Thyra::MultiVectorBase< double > > | buildReorderedMultiVector (const BlockReorderManager &mgr, const Teuchos::RCP< const Thyra::ProductMultiVectorBase< double > > &blkVec) |
Convert a flat multi vector into a reordered multivector. More... | |
Teuchos::RCP < Thyra::MultiVectorBase < double > > | buildFlatMultiVector (const BlockReorderManager &mgr, const Teuchos::RCP< Thyra::ProductMultiVectorBase< double > > &blkVec) |
Convert a reordered multivector into a flat multivector. More... | |
Teuchos::RCP< const Thyra::MultiVectorBase< double > > | buildFlatMultiVector (const BlockReorderManager &mgr, const Teuchos::RCP< const Thyra::ProductMultiVectorBase< double > > &blkVec) |
Convert a reordered multivector into a flat multivector. More... | |
Teuchos::RCP< const BlockReorderManager > | blockedReorderFromString (std::string &reorder) |
Convert a string to a block reorder manager object. More... | |
A class that corresponds to the leaf, or stopping critera for BlockReorderManager. This class should not be used directly.
Definition at line 214 of file Teko_BlockedReordering.hpp.
|
inline |
Simple constructor that sets the index.
Definition at line 220 of file Teko_BlockedReordering.hpp.
|
inline |
Copy constructor.
Definition at line 223 of file Teko_BlockedReordering.hpp.
|
inlinevirtual |
Make a copy of this object.
Reimplemented from Teko::BlockReorderManager.
Definition at line 228 of file Teko_BlockedReordering.hpp.
|
inlinevirtual |
Get the number of subblocks (this one returns 0 b/c its a leaf)
Reimplemented from Teko::BlockReorderManager.
Definition at line 232 of file Teko_BlockedReordering.hpp.
|
inlinevirtual |
Set the number of subblocks (this one does nothing b/c its a leaf)
Reimplemented from Teko::BlockReorderManager.
Definition at line 235 of file Teko_BlockedReordering.hpp.
|
inlinevirtual |
Set the sub block, this does nothing b/c its a leaf.
Reimplemented from Teko::BlockReorderManager.
Definition at line 238 of file Teko_BlockedReordering.hpp.
|
inlinevirtual |
Get a particular subblock...this returns null.
Reimplemented from Teko::BlockReorderManager.
Definition at line 241 of file Teko_BlockedReordering.hpp.
|
inlinevirtual |
Get a particular subblock...this returns null.
Reimplemented from Teko::BlockReorderManager.
Definition at line 245 of file Teko_BlockedReordering.hpp.
|
inline |
Get the the index that is stored in this block.
Definition at line 249 of file Teko_BlockedReordering.hpp.
|
inlinevirtual |
Return a string description of this leaf class.
Reimplemented from Teko::BlockReorderManager.
Definition at line 252 of file Teko_BlockedReordering.hpp.
|
inlinevirtual |
Largest index in this manager.
Reimplemented from Teko::BlockReorderManager.
Definition at line 256 of file Teko_BlockedReordering.hpp.
|
protected |
The value of the index for this leaf.
Definition at line 262 of file Teko_BlockedReordering.hpp.