MsmBlockMap Class Reference

List of all members.

Public Member Functions

 MsmBlockMap (int lvl)
 MsmBlockMap (CkMigrateMessage *m)
int registerArray (CkArrayIndex &numElements, CkArrayID aid)
int procNum (int, const CkArrayIndex &idx)

Detailed Description

Definition at line 1658 of file ComputeMsm.C.


Constructor & Destructor Documentation

MsmBlockMap::MsmBlockMap ( int  lvl  )  [inline]

Definition at line 1664 of file ComputeMsm.C.

01664                          {
01665       mgrLocal = CProxy_ComputeMsmMgr::ckLocalBranch(
01666           CkpvAccess(BOCclass_group).computeMsmMgr);
01667 #ifdef MSM_NODE_MAPPING
01668       penum = mgrLocal->blockAssign.buffer();
01669 #else
01670       penum = 0;
01671 #endif
01672       level = lvl;
01673     }

MsmBlockMap::MsmBlockMap ( CkMigrateMessage *  m  )  [inline]

Definition at line 1674 of file ComputeMsm.C.

01674 { }


Member Function Documentation

int MsmBlockMap::procNum ( int  ,
const CkArrayIndex &  idx 
) [inline]

Definition at line 1678 of file ComputeMsm.C.

01678                                                            {
01679       int *pn = (int *)idx.data();
01680 #ifdef MSM_NODE_MAPPING
01681       int n = mgrLocal->blockFlatIndex(level, pn[0], pn[1], pn[2]);
01682       return penum[n];
01683 #else
01684       return 0;
01685 #endif
01686     }

int MsmBlockMap::registerArray ( CkArrayIndex &  numElements,
CkArrayID  aid 
) [inline]

Definition at line 1675 of file ComputeMsm.C.

01675                                                                 {
01676       return 0;
01677     }


The documentation for this class was generated from the following file:
Generated on Thu Nov 23 01:17:19 2017 for NAMD by  doxygen 1.4.7