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 18 of file Xpetra_BlockReorderManager.hpp.
|
inline |
Basic empty constructor.
Definition at line 23 of file Xpetra_BlockReorderManager.hpp.
|
inline |
Copy constructor.
Definition at line 27 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
empty destructor
Definition at line 33 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
returns copy of this object
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 38 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
Sets number of subblocks.
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 43 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
Returns number of subblocks.
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 49 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 14 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 20 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 77 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 86 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
for sanities sake, print a readable string
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 92 of file Xpetra_BlockReorderManager.hpp.
|
inlinevirtual |
returns largest index in this BlockReorderManager class
Reimplemented in Xpetra::BlockReorderLeaf.
Definition at line 107 of file Xpetra_BlockReorderManager.hpp.
|
protected |
definitions of the subblocks
Definition at line 120 of file Xpetra_BlockReorderManager.hpp.