MsmGridCutoffMap Class Reference

List of all members.

Public Member Functions

 MsmGridCutoffMap ()
int registerArray (CkArrayIndex &numElements, CkArrayID aid)
int procNum (int, const CkArrayIndex &idx)

Detailed Description

Definition at line 1692 of file ComputeMsm.C.


Constructor & Destructor Documentation

MsmGridCutoffMap::MsmGridCutoffMap (  )  [inline]

Definition at line 1696 of file ComputeMsm.C.

References msm::Array< T >::buffer(), and ComputeMsmMgr::gcutAssign.

01696                        {
01697       ComputeMsmMgr *mgrLocal = CProxy_ComputeMsmMgr::ckLocalBranch(
01698           CkpvAccess(BOCclass_group).computeMsmMgr);
01699 #ifdef MSM_NODE_MAPPING
01700       penum = mgrLocal->gcutAssign.buffer();
01701 #else
01702       penum = 0;
01703 #endif
01704     }


Member Function Documentation

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

Definition at line 1708 of file ComputeMsm.C.

01708                                                            {
01709 #if 1
01710       int n = *((int *)idx.data());
01711 #ifdef MSM_NODE_MAPPING
01712       return penum[n];
01713 #else
01714       return 0;
01715 #endif
01716 #else
01717       return 0;  // XXX to test load balancing
01718 #endif
01719     }

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

Definition at line 1705 of file ComputeMsm.C.

01705                                                                 {
01706       return 0;
01707     }


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