Teko  Version of the Day
 All Classes Files Functions Variables Pages
Public Member Functions | Protected Attributes | List of all members
Teko::BlockReorderLeaf Class Reference

#include <Teko_BlockedReordering.hpp>

Inheritance diagram for Teko::BlockReorderLeaf:
Inheritance graph
[legend]

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

Detailed Description

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.

Constructor & Destructor Documentation

Teko::BlockReorderLeaf::BlockReorderLeaf ( int  ind)
inline

Simple constructor that sets the index.

Definition at line 220 of file Teko_BlockedReordering.hpp.

Teko::BlockReorderLeaf::BlockReorderLeaf ( const BlockReorderLeaf brl)
inline

Copy constructor.

Definition at line 223 of file Teko_BlockedReordering.hpp.

Member Function Documentation

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

Make a copy of this object.

Reimplemented from Teko::BlockReorderManager.

Definition at line 228 of file Teko_BlockedReordering.hpp.

virtual int Teko::BlockReorderLeaf::GetNumBlocks ( ) const
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.

virtual void Teko::BlockReorderLeaf::SetNumBlocks ( int  )
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.

virtual void Teko::BlockReorderLeaf::SetBlock ( int  ,
int   
)
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.

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

Get a particular subblock...this returns null.

Reimplemented from Teko::BlockReorderManager.

Definition at line 241 of file Teko_BlockedReordering.hpp.

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

Get a particular subblock...this returns null.

Reimplemented from Teko::BlockReorderManager.

Definition at line 245 of file Teko_BlockedReordering.hpp.

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

Get the the index that is stored in this block.

Definition at line 249 of file Teko_BlockedReordering.hpp.

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

Return a string description of this leaf class.

Reimplemented from Teko::BlockReorderManager.

Definition at line 252 of file Teko_BlockedReordering.hpp.

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

Largest index in this manager.

Reimplemented from Teko::BlockReorderManager.

Definition at line 256 of file Teko_BlockedReordering.hpp.

Member Data Documentation

int Teko::BlockReorderLeaf::value_
protected

The value of the index for this leaf.

Definition at line 262 of file Teko_BlockedReordering.hpp.


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