Xpetra
Version of the Day
|
#include <Xpetra_BlockReorderManager.hpp>
Public Member Functions | |
virtual Teuchos::RCP < BlockReorderManager > | Copy () const |
returns copy of this object More... | |
virtual void | SetNumBlocks (size_t sz) |
Sets number of subblocks. More... | |
virtual size_t | GetNumBlocks () const |
Returns number of subblocks. More... | |
virtual void | SetBlock (int blockIndex, int reorder) |
Sets the subblock to a specific index value. More... | |
virtual void | SetBlock (int blockIndex, const Teuchos::RCP< BlockReorderManager > &reorder) |
Sets the subblock to a specific index value. More... | |
virtual const Teuchos::RCP < BlockReorderManager > | GetBlock (int blockIndex) |
Get a particular block. If there is no block at this index location return a new one. More... | |
virtual const Teuchos::RCP < const BlockReorderManager > | GetBlock (int blockIndex) const |
Get a particular block. If there is no block at this index location return a new one. More... | |
virtual std::string | toString () const |
for sanities sake, print a readable string More... | |
virtual int | LargestIndex () const |
returns largest index in this BlockReorderManager class More... | |
Protected Attributes | |
std::vector< Teuchos::RCP < BlockReorderManager > > | children_ |
definitions of the subblocks More... | |
Constructors | |
BlockReorderManager () | |
Basic empty constructor. More... | |
BlockReorderManager (const BlockReorderManager &bmm) | |
Copy constructor. More... | |
virtual | ~BlockReorderManager () |
empty destructor More... | |
Definition at line 55 of file Xpetra_BlockReorderManager.hpp.
|
inline |
Basic empty constructor.
Definition at line 60 of file Xpetra_BlockReorderManager.hpp.
|
inline |
Copy constructor.
Definition at line 63 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
empty destructor
Definition at line 69 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
returns copy of this object
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 74 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
Sets number of subblocks.
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 79 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
Returns number of subblocks.
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 84 of file Xpetra_BlockReorderManager.hpp.
|
virtual |
Sets the subblock to a specific index value.
Sets the subblock to a specific index value
[in] | blockIndex,: | the subblock to be set |
[in] | reorder,: | the value of the index of this subblock |
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 6 of file Xpetra_BlockReorderManager.cpp.
|
virtual |
Sets the subblock to a specific index value.
Sets the subblock to a specific index value
[in] | blockIndex,: | the subblock to be set |
[in] | reorder,: | reorder manager for nested reordering |
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 12 of file Xpetra_BlockReorderManager.cpp.
|
inlinevirtual |
Get a particular block. If there is no block at this index location return a new one.
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 112 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
Get a particular block. If there is no block at this index location return a new one.
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 121 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
for sanities sake, print a readable string
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 127 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
returns largest index in this BlockReorderManager class
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 142 of file Xpetra_BlockReorderManager.hpp.
|
protected |
definitions of the subblocks
Definition at line 155 of file Xpetra_BlockReorderManager.hpp.