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 179 of file Teko_BlockedReordering.hpp.

Constructor & Destructor Documentation

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

Simple constructor that sets the index.

Definition at line 185 of file Teko_BlockedReordering.hpp.

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

Copy constructor.

Definition at line 188 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 192 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 197 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 200 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 203 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 206 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 211 of file Teko_BlockedReordering.hpp.

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

Get the the index that is stored in this block.

Definition at line 216 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 219 of file Teko_BlockedReordering.hpp.

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

Largest index in this manager.

Reimplemented from Teko::BlockReorderManager.

Definition at line 226 of file Teko_BlockedReordering.hpp.

Member Data Documentation

int Teko::BlockReorderLeaf::value_
protected

The value of the index for this leaf.

Definition at line 232 of file Teko_BlockedReordering.hpp.


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