12 #include "WorkDistrib.decl.h"    19 #define MIN_DEBUG_LEVEL 4    33   DebugM(4, 
"~ComputeHomePatch("<<
cid<<
") numAtoms("<<patchID<<
") = "     35     if (positionBox != NULL) {
    39     if (forceBox != NULL) {
    49         if (positionBox == NULL) { 
    51               NAMD_bug(
"ComputeHomePatch used with unknown patch.");
    54               NAMD_bug(
"ComputeHomePatch used with proxy.");
    62   DebugM(3, 
"initialize("<<
cid<<
") numAtoms("<<patchID<<
") = "     66     int myNode = CkMyPe();
    81   DebugM(3,patchID << 
": doWork() called.\n");
    84   p = positionBox->
open();
    91   positionBox->
close(&p);
    94   DebugM(2,patchID << 
": doWork() completed.\n");
 void setNumPatches(int n)
 
virtual ~ComputeHomePatch()
 
static PatchMap * Object()
 
void unregisterForceDeposit(Compute *cid, Box< Patch, Results > **const box)
 
virtual void initialize()
 
virtual void initialize()
 
Patch * patch(PatchID pid)
 
FullAtomList & getAtomList()
 
#define COMPUTE_HOME_PRIORITY
 
void NAMD_bug(const char *err_msg)
 
PatchID getPatchID() const
 
virtual void doForce(FullAtom *p, Results *r)=0
 
virtual void atomUpdate()
 
void unregisterPositionPickup(Compute *cid, Box< Patch, CompAtom > **const box)
 
void close(Data **const t)
 
Box< Patch, CompAtom > * registerPositionPickup(Compute *cid)
 
ComputeHomePatch(ComputeID c, PatchID pid)
 
#define PATCH_PRIORITY(PID)
 
Box< Patch, Results > * registerForceDeposit(Compute *cid)