NAMD
|
#include <ComputePatch.h>
Public Member Functions | |
ComputePatch (ComputeID c, PatchID pid) | |
virtual | ~ComputePatch () |
virtual void | initialize () |
virtual void | atomUpdate () |
virtual void | doWork () |
![]() | |
Compute (ComputeID) | |
int | type () |
virtual | ~Compute () |
void | setNumPatches (int n) |
int | getNumPatches () |
virtual void | patchReady (PatchID, int doneMigration, int seq) |
virtual int | noWork () |
virtual void | finishPatch (int) |
int | sequence (void) |
int | priority (void) |
int | getGBISPhase (void) |
virtual void | gbisP2PatchReady (PatchID, int seq) |
virtual void | gbisP3PatchReady (PatchID, int seq) |
Protected Member Functions | |
virtual void | doForce (CompAtom *p, CompAtomExt *pExt, Results *r)=0 |
![]() | |
void | enqueueWork () |
Protected Attributes | |
int | numAtoms |
CompAtomExt * | pExt |
CompAtom * | p |
Results * | r |
Patch * | patch |
PatchID | patchID |
Box< Patch, CompAtom > * | positionBox |
Box< Patch, Results > * | forceBox |
![]() | |
int | computeType |
int | basePriority |
int | gbisPhase |
int | gbisPhasePriority [3] |
Additional Inherited Members | |
![]() | |
const ComputeID | cid |
LDObjHandle | ldObjHandle |
LocalWorkMsg *const | localWorkMsg |
Definition at line 24 of file ComputePatch.h.
Definition at line 24 of file ComputePatch.C.
References forceBox, Compute::gbisPhase, p, patch, patchID, positionBox, and Compute::setNumPatches().
|
virtual |
Definition at line 33 of file ComputePatch.C.
References Compute::cid, DebugM, forceBox, numAtoms, PatchMap::Object(), PatchMap::patch(), patchID, positionBox, Patch::unregisterForceDeposit(), and Patch::unregisterPositionPickup().
|
virtual |
Reimplemented from Compute.
Definition at line 78 of file ComputePatch.C.
References Patch::getNumAtoms(), numAtoms, and patch.
|
protectedpure virtual |
Implemented in ComputeNonbondedSelf.
Referenced by doWork().
|
virtual |
Reimplemented from Compute.
Definition at line 89 of file ComputePatch.C.
References Box< Owner, Data >::close(), computeNonbondedSelfType, Compute::computeType, DebugM, doForce(), Flags::doGBIS, LdbCoordinator::endWork(), Patch::flags, forceBox, Compute::gbisPhase, Patch::getCompAtomExtInfo(), Compute::ldObjHandle, LdbCoordinator::Object(), Box< Owner, Data >::open(), p, patch, patchID, LdbCoordinator::pauseWork(), pExt, positionBox, r, and LdbCoordinator::startWork().
|
virtual |
Reimplemented from Compute.
Reimplemented in ComputeNonbondedSelf.
Definition at line 46 of file ComputePatch.C.
References Compute::basePriority, Compute::cid, COMPUTE_HOME_PRIORITY, COMPUTE_PROXY_PRIORITY, DebugM, forceBox, GB1_COMPUTE_HOME_PRIORITY, GB1_COMPUTE_PROXY_PRIORITY, GB2_COMPUTE_HOME_PRIORITY, GB2_COMPUTE_PROXY_PRIORITY, Compute::gbisPhasePriority, Patch::getNumAtoms(), Patch::getPatchID(), Compute::initialize(), NAMD_bug(), numAtoms, PatchMap::Object(), patch, PATCH_PRIORITY, patchID, positionBox, Patch::registerForceDeposit(), and Patch::registerPositionPickup().
Referenced by ComputeNonbondedSelf::initialize().
Definition at line 51 of file ComputePatch.h.
Referenced by ComputePatch(), doWork(), initialize(), ComputeNonbondedSelf::noWork(), and ~ComputePatch().
|
protected |
Definition at line 35 of file ComputePatch.h.
Referenced by atomUpdate(), ComputeNonbondedSelf::doForce(), initialize(), ComputeNonbondedSelf::noWork(), and ~ComputePatch().
|
protected |
Definition at line 37 of file ComputePatch.h.
Referenced by ComputePatch(), ComputeNonbondedSelf::doForce(), and doWork().
|
protected |
Definition at line 46 of file ComputePatch.h.
Referenced by atomUpdate(), ComputePatch(), ComputeNonbondedSelf::doForce(), doWork(), ComputeNonbondedSelf::initialize(), initialize(), ComputeNonbondedSelf::noWork(), and ComputeNonbondedSelf::~ComputeNonbondedSelf().
|
protected |
Definition at line 49 of file ComputePatch.h.
Referenced by ComputePatch(), doWork(), initialize(), and ~ComputePatch().
|
protected |
Definition at line 36 of file ComputePatch.h.
Referenced by ComputeNonbondedSelf::doForce(), and doWork().
Definition at line 50 of file ComputePatch.h.
Referenced by ComputePatch(), doWork(), initialize(), ComputeNonbondedSelf::noWork(), and ~ComputePatch().
|
protected |
Definition at line 38 of file ComputePatch.h.
Referenced by ComputeNonbondedSelf::doForce(), and doWork().