PPL Logo

NodeAwareMeshRouter Class Reference

#include <VirtualRouter.h>

Inheritance diagram for NodeAwareMeshRouter:

Inheritance graph
[legend]
Collaboration diagram for NodeAwareMeshRouter:

Collaboration graph
[legend]

Public Member Functions

void additionalInitialization ()
void assignRoute (int dimension, int dimensionIndex, Route &routeToDestination)
int nextPeAlongRoute (int dimension, int dimensionIndex)
void determineRoute (int destinationPe, int dimensionReceivedAlong, Route &routeToDestination)
void updateCompletionProgress (CompletionStatus &currentStatus)
int numBuffersPerDimension (int dimension)
int maxNumAllocatedBuffers ()
int numMsgTypes ()
bool isMessagePersonalized (int dimension)
int dimensionReceived (int msgType)
int determineMsgType (int dimension)
bool isBufferInUse (int dimension, int index)
bool isBroadcastSupported ()

Private Types

enum  { personalizedMsgType, forwardMsgType, msgTypeCount }

Private Member Functions

int numSendingToMe (int msgType)

Private Attributes

int myAssignedDim_
int teamSize_
int dimensionOfArrivingMsgs_
std::vector< intforwardingDestinations_

Detailed Description

Definition at line 284 of file VirtualRouter.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
personalizedMsgType 
forwardMsgType 
msgTypeCount 

Definition at line 297 of file VirtualRouter.h.


Member Function Documentation

int NodeAwareMeshRouter::numSendingToMe ( int  msgType  )  [inline, private]

void NodeAwareMeshRouter::additionalInitialization (  )  [inline]

void NodeAwareMeshRouter::assignRoute ( int  dimension,
int  dimensionIndex,
Route routeToDestination 
) [inline]

Reimplemented from MeshRouter< NodeAwareMeshRouter >.

Definition at line 371 of file VirtualRouter.h.

References Route::destinationPe, Route::dimension, Route::dimensionIndex, myAssignedDim_, and nextPeAlongRoute().

Referenced by determineRoute().

Here is the call graph for this function:

Here is the caller graph for this function:

int NodeAwareMeshRouter::nextPeAlongRoute ( int  dimension,
int  dimensionIndex 
) [inline]

Reimplemented from MeshRouter< NodeAwareMeshRouter >.

Definition at line 380 of file VirtualRouter.h.

References forwardingDestinations_, myAssignedDim_, MeshRouter< Derived >::nextPeAlongRoute(), VirtualRouter< NodeAwareMeshRouter >::numDimensions_, and teamSize_.

Referenced by assignRoute().

Here is the call graph for this function:

Here is the caller graph for this function:

void NodeAwareMeshRouter::determineRoute ( int  destinationPe,
int  dimensionReceivedAlong,
Route routeToDestination 
) [inline]

void NodeAwareMeshRouter::updateCompletionProgress ( CompletionStatus currentStatus  )  [inline]

int NodeAwareMeshRouter::numBuffersPerDimension ( int  dimension  )  [inline]

Reimplemented from MeshRouter< NodeAwareMeshRouter >.

Definition at line 450 of file VirtualRouter.h.

References VirtualRouter< NodeAwareMeshRouter >::individualDimensionSizes_, and myAssignedDim_.

Referenced by maxNumAllocatedBuffers().

Here is the caller graph for this function:

int NodeAwareMeshRouter::maxNumAllocatedBuffers (  )  [inline]

Reimplemented from MeshRouter< NodeAwareMeshRouter >.

Definition at line 457 of file VirtualRouter.h.

References numBuffersPerDimension(), and VirtualRouter< NodeAwareMeshRouter >::numDimensions_.

Here is the call graph for this function:

int NodeAwareMeshRouter::numMsgTypes (  )  [inline]

Reimplemented from MeshRouter< NodeAwareMeshRouter >.

Definition at line 465 of file VirtualRouter.h.

References msgTypeCount.

bool NodeAwareMeshRouter::isMessagePersonalized ( int  dimension  )  [inline]

Reimplemented from MeshRouter< NodeAwareMeshRouter >.

Definition at line 469 of file VirtualRouter.h.

References myAssignedDim_, and VirtualRouter< NodeAwareMeshRouter >::numDimensions_.

Referenced by determineMsgType().

Here is the caller graph for this function:

int NodeAwareMeshRouter::dimensionReceived ( int  msgType  )  [inline]

Reimplemented from MeshRouter< NodeAwareMeshRouter >.

Definition at line 474 of file VirtualRouter.h.

References dimensionOfArrivingMsgs_, and forwardMsgType.

int NodeAwareMeshRouter::determineMsgType ( int  dimension  )  [inline]

Reimplemented from MeshRouter< NodeAwareMeshRouter >.

Definition at line 479 of file VirtualRouter.h.

References isMessagePersonalized().

Here is the call graph for this function:

bool NodeAwareMeshRouter::isBufferInUse ( int  dimension,
int  index 
) [inline]

Reimplemented from MeshRouter< NodeAwareMeshRouter >.

Definition at line 483 of file VirtualRouter.h.

bool NodeAwareMeshRouter::isBroadcastSupported (  )  [inline]

Reimplemented from MeshRouter< NodeAwareMeshRouter >.

Definition at line 487 of file VirtualRouter.h.


Field Documentation

Definition at line 290 of file VirtualRouter.h.

Referenced by additionalInitialization(), nextPeAlongRoute(), and numSendingToMe().

Definition at line 292 of file VirtualRouter.h.

Referenced by additionalInitialization(), and nextPeAlongRoute().


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

Generated on Mon Sep 21 08:28:06 2020 for Charm++ by  doxygen 1.5.5