Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra::BlockReorderLeaf Class Reference

#include <Xpetra_BlockReorderManager.hpp>

Inheritance diagram for Xpetra::BlockReorderLeaf:
Xpetra::BlockReorderManager

Public Member Functions

 BlockReorderLeaf (int ind)
 
 BlockReorderLeaf (const BlockReorderLeaf &brl)
 
virtual Teuchos::RCP
< BlockReorderManager
Copy () const
 returns copy of this object More...
 
virtual size_t GetNumBlocks () const
 Returns number of subblocks. More...
 
virtual void SetNumBlocks (size_t)
 Sets number of subblocks. More...
 
virtual void SetBlock (int, int)
 Sets the subblock to a specific index value. More...
 
virtual void SetBlock (int, const Teuchos::RCP< BlockReorderManager > &)
 Sets the subblock to a specific index value. More...
 
virtual const Teuchos::RCP
< BlockReorderManager
GetBlock (int)
 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) const
 Get a particular block. If there is no block at this index location return a new one. More...
 
int GetIndex () const
 Get the index that is stored in this block/leaf. 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...
 
- Public Member Functions inherited from Xpetra::BlockReorderManager
 BlockReorderManager ()
 Basic empty constructor. More...
 
 BlockReorderManager (const BlockReorderManager &bmm)
 Copy constructor. More...
 
virtual ~BlockReorderManager ()
 empty destructor More...
 

Protected Attributes

int value_
 The value of the index for this leaf. More...
 
- Protected Attributes inherited from Xpetra::BlockReorderManager
std::vector< Teuchos::RCP
< BlockReorderManager > > 
children_
 definitions of the subblocks More...
 

Private Member Functions

 BlockReorderLeaf ()
 

Detailed Description

Definition at line 160 of file Xpetra_BlockReorderManager.hpp.

Constructor & Destructor Documentation

Xpetra::BlockReorderLeaf::BlockReorderLeaf ( int  ind)
inline

Definition at line 162 of file Xpetra_BlockReorderManager.hpp.

Xpetra::BlockReorderLeaf::BlockReorderLeaf ( const BlockReorderLeaf brl)
inline

Definition at line 164 of file Xpetra_BlockReorderManager.hpp.

Xpetra::BlockReorderLeaf::BlockReorderLeaf ( )
inlineprivate

Definition at line 195 of file Xpetra_BlockReorderManager.hpp.

Member Function Documentation

virtual Teuchos::RCP<BlockReorderManager> Xpetra::BlockReorderLeaf::Copy ( ) const
inlinevirtual

returns copy of this object

Reimplemented from Xpetra::BlockReorderManager.

Definition at line 167 of file Xpetra_BlockReorderManager.hpp.

virtual size_t Xpetra::BlockReorderLeaf::GetNumBlocks ( ) const
inlinevirtual

Returns number of subblocks.

Reimplemented from Xpetra::BlockReorderManager.

Definition at line 171 of file Xpetra_BlockReorderManager.hpp.

virtual void Xpetra::BlockReorderLeaf::SetNumBlocks ( size_t  sz)
inlinevirtual

Sets number of subblocks.

Reimplemented from Xpetra::BlockReorderManager.

Definition at line 172 of file Xpetra_BlockReorderManager.hpp.

virtual void Xpetra::BlockReorderLeaf::SetBlock ( int  blockIndex,
int  reorder 
)
inlinevirtual

Sets the subblock to a specific index value.

Sets the subblock to a specific index value

Parameters
[in]blockIndex,:the subblock to be set
[in]reorder,:the value of the index of this subblock

Reimplemented from Xpetra::BlockReorderManager.

Definition at line 173 of file Xpetra_BlockReorderManager.hpp.

virtual void Xpetra::BlockReorderLeaf::SetBlock ( int  blockIndex,
const Teuchos::RCP< BlockReorderManager > &  reorder 
)
inlinevirtual

Sets the subblock to a specific index value.

Sets the subblock to a specific index value

Parameters
[in]blockIndex,:the subblock to be set
[in]reorder,:reorder manager for nested reordering

Reimplemented from Xpetra::BlockReorderManager.

Definition at line 174 of file Xpetra_BlockReorderManager.hpp.

virtual const Teuchos::RCP<BlockReorderManager> Xpetra::BlockReorderLeaf::GetBlock ( int  blockIndex)
inlinevirtual

Get a particular block. If there is no block at this index location return a new one.

Reimplemented from Xpetra::BlockReorderManager.

Definition at line 175 of file Xpetra_BlockReorderManager.hpp.

virtual const Teuchos::RCP<const BlockReorderManager> Xpetra::BlockReorderLeaf::GetBlock ( int  blockIndex) const
inlinevirtual

Get a particular block. If there is no block at this index location return a new one.

Reimplemented from Xpetra::BlockReorderManager.

Definition at line 178 of file Xpetra_BlockReorderManager.hpp.

int Xpetra::BlockReorderLeaf::GetIndex ( ) const
inline

Get the index that is stored in this block/leaf.

Definition at line 182 of file Xpetra_BlockReorderManager.hpp.

virtual std::string Xpetra::BlockReorderLeaf::toString ( ) const
inlinevirtual

for sanities sake, print a readable string

Reimplemented from Xpetra::BlockReorderManager.

Definition at line 183 of file Xpetra_BlockReorderManager.hpp.

virtual int Xpetra::BlockReorderLeaf::LargestIndex ( ) const
inlinevirtual

returns largest index in this BlockReorderManager class

Reimplemented from Xpetra::BlockReorderManager.

Definition at line 188 of file Xpetra_BlockReorderManager.hpp.

Member Data Documentation

int Xpetra::BlockReorderLeaf::value_
protected

The value of the index for this leaf.

Definition at line 192 of file Xpetra_BlockReorderManager.hpp.


The documentation for this class was generated from the following file: