NAMD
Public Member Functions | List of all members
PmePencilXYZMap Class Reference

#include <PmeSolver.h>

Inheritance diagram for PmePencilXYZMap:

Public Member Functions

 PmePencilXYZMap (int pe)
 
int registerArray (CkArrayIndex &numElements, CkArrayID aid)
 
virtual int procNum (int, const CkArrayIndex &idx)
 
virtual void populateInitial (int, CkArrayOptions &, void *msg, CkArrMgr *mgr)
 

Detailed Description

Definition at line 9 of file PmeSolver.h.

Constructor & Destructor Documentation

PmePencilXYZMap::PmePencilXYZMap ( int  pe)
inline

Definition at line 11 of file PmeSolver.h.

11  : pe(pe) {
12  }

Member Function Documentation

virtual void PmePencilXYZMap::populateInitial ( int  ,
CkArrayOptions &  ,
void msg,
CkArrMgr *  mgr 
)
inlinevirtual

Definition at line 20 of file PmeSolver.h.

References NAMD_bug().

20  {
21  if (pe == CkMyPe()) {
22  if ( ! msg ) NAMD_bug("PmePencilXYZMap::populateInitial, multiple pencils on a pe?");
23  mgr->insertInitial(CkArrayIndex1D(0), msg);
24  msg = NULL;
25  }
26  mgr->doneInserting();
27  if (msg != NULL) CkFreeMsg(msg);
28  }
void NAMD_bug(const char *err_msg)
Definition: common.C:123
virtual int PmePencilXYZMap::procNum ( int  ,
const CkArrayIndex &  idx 
)
inlinevirtual

Definition at line 17 of file PmeSolver.h.

17  {
18  return pe;
19  }
int PmePencilXYZMap::registerArray ( CkArrayIndex &  numElements,
CkArrayID  aid 
)
inline

Definition at line 14 of file PmeSolver.h.

14  {
15  return 0;
16  }

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