PPL Logo

util/topomanager/XTTorus.h File Reference

Author: Abhinav S Bhatele Date created: August 19th, 2008. More...

Go to the source code of this file.

Data Structures

struct  loc
class  XTTorusManager

Functions

int pidtonid (int numpes)
 pidtonid finds nids for pids 1 to CmiNumPes and stores them in an array correspondingly also creates an array for nids to pids
int getMeshCoord (int nid, int *x, int *y, int *z)
 getMeshCoord wrapper function for rca_get_meshcoord 0: success, -1: failure
void getDimension (int *, int *, int *, int *)

Variables

intpid2nid
rca_mesh_coord_t * rca_coords


Detailed Description

Author: Abhinav S Bhatele Date created: August 19th, 2008.

Definition in file XTTorus.h.


Function Documentation

int pidtonid ( int  numpes  ) 

pidtonid finds nids for pids 1 to CmiNumPes and stores them in an array correspondingly also creates an array for nids to pids

Definition at line 112 of file CrayNid.c.

References CmiLock(), CmiNodeOf(), CmiUnlock(), cray_lock, getDimension(), malloc(), maxNID, maxX, maxY, maxZ, pid2nid, and rca_coords.

Referenced by XTTorusManager::XTTorusManager().

Here is the call graph for this function:

Here is the caller graph for this function:

int getMeshCoord ( int  nid,
int x,
int y,
int z 
)

getMeshCoord wrapper function for rca_get_meshcoord 0: success, -1: failure

Definition at line 83 of file CrayNid.c.

References CmiAbort(), and rca_coords.

Referenced by getDimension(), and XTTorusManager::XTTorusManager().

Here is the call graph for this function:

Here is the caller graph for this function:

void getDimension ( int ,
int ,
int ,
int  
)


Variable Documentation

Definition at line 32 of file XTTorus.h.

rca_mesh_coord_t* rca_coords

Definition at line 37 of file XTTorus.h.


Generated on Mon Sep 21 08:12:23 2020 for Charm++ by  doxygen 1.5.5