NAMD
|
#include <ComputePatchPair.h>
Public Member Functions | |
ComputePatchPair (ComputeID c, PatchID pid[], int t[]) | |
virtual | ~ComputePatchPair () |
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[2], CompAtomExt *pExt[2], Results *r[2]) |
![]() | |
void | enqueueWork () |
Protected Attributes | |
int | numAtoms [2] |
CompAtomExt * | pExt [2] |
CompAtom * | p [2] |
Results * | r [2] |
Patch * | patch [2] |
PatchID | patchID [2] |
int | trans [2] |
Box< Patch, CompAtom > * | positionBox [2] |
Box< Patch, Results > * | forceBox [2] |
![]() | |
int | computeType |
int | basePriority |
int | gbisPhase |
int | gbisPhasePriority [3] |
Additional Inherited Members | |
![]() | |
const ComputeID | cid |
LDObjHandle | ldObjHandle |
LocalWorkMsg *const | localWorkMsg |
Definition at line 25 of file ComputePatchPair.h.
Definition at line 20 of file ComputePatchPair.C.
References forceBox, Compute::gbisPhase, patch, patchID, positionBox, Compute::setNumPatches(), and trans.
|
virtual |
Definition at line 35 of file ComputePatchPair.C.
References Compute::cid, DebugM, forceBox, numAtoms, PatchMap::Object(), patch, PatchMap::patch(), patchID, positionBox, Patch::unregisterForceDeposit(), and Patch::unregisterPositionPickup().
Reimplemented from Compute.
Definition at line 116 of file ComputePatchPair.C.
References Patch::getNumAtoms(), numAtoms, and patch.
|
protectedvirtual |
Reimplemented in ComputeNonbondedPair.
Definition at line 137 of file ComputePatchPair.C.
References numAtoms.
Referenced by doWork().
Reimplemented from Compute.
Definition at line 147 of file ComputePatchPair.C.
References Box< Owner, Data >::close(), computeNonbondedPairType, Compute::computeType, doForce(), LdbCoordinator::endWork(), forceBox, Compute::gbisPhase, Patch::getCompAtomExtInfo(), Compute::ldObjHandle, LdbCoordinator::Object(), Box< Owner, Data >::open(), p, patch, LdbCoordinator::pauseWork(), pExt, positionBox, r, and LdbCoordinator::startWork().
Reimplemented from Compute.
Reimplemented in ComputeNonbondedPair.
Definition at line 55 of file ComputePatchPair.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(), Compute::initialize(), numAtoms, PatchMap::Object(), patch, PATCH_PRIORITY, patchID, positionBox, Patch::registerForceDeposit(), and Patch::registerPositionPickup().
Referenced by ComputeNonbondedPair::initialize().
Definition at line 53 of file ComputePatchPair.h.
Referenced by ComputePatchPair(), doWork(), initialize(), ComputeNonbondedPair::noWork(), and ~ComputePatchPair().
|
protected |
Definition at line 36 of file ComputePatchPair.h.
Referenced by atomUpdate(), ComputeNonbondedPair::doForce(), doForce(), initialize(), ComputeNonbondedPair::noWork(), and ~ComputePatchPair().
|
protected |
Definition at line 38 of file ComputePatchPair.h.
Referenced by doWork().
|
protected |
Definition at line 47 of file ComputePatchPair.h.
Referenced by atomUpdate(), ComputePatchPair(), ComputeNonbondedPair::doForce(), doWork(), ComputeNonbondedPair::initialize(), initialize(), ComputeNonbondedPair::noWork(), ComputeNonbondedPair::~ComputeNonbondedPair(), and ~ComputePatchPair().
|
protected |
Definition at line 50 of file ComputePatchPair.h.
Referenced by ComputePatchPair(), ComputeNonbondedPair::doForce(), ComputeNonbondedPair::initialize(), initialize(), and ~ComputePatchPair().
|
protected |
Definition at line 37 of file ComputePatchPair.h.
Referenced by doWork().
Definition at line 52 of file ComputePatchPair.h.
Referenced by ComputePatchPair(), doWork(), initialize(), ComputeNonbondedPair::noWork(), and ~ComputePatchPair().
|
protected |
Definition at line 39 of file ComputePatchPair.h.
Referenced by doWork().
|
protected |
Definition at line 51 of file ComputePatchPair.h.
Referenced by ComputePatchPair(), ComputeNonbondedPair::doForce(), and ComputeNonbondedPair::initialize().