PPL Logo

util/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 * 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 134 of file CrayNid.c.

References CmiLock(), CmiNodeOf(), CmiNumCores(), CmiUnlock(), coords, free(), getDimension(), and malloc().

Referenced by craynid_init(), and XT3TorusManager::XT3TorusManager().

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

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

Definition at line 106 of file CrayNid.c.

References CmiAbort(), and coords.

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

void getDimension ( int ,
int ,
int ,
int  
)


Variable Documentation

Definition at line 78 of file XTTorus.h.

rca_mesh_coord_t* coords

Definition at line 83 of file XTTorus.h.


Generated on Tue May 22 07:44:31 2012 for Charm++ by  doxygen 1.5.5