NAMD
|
#include <ComputeHomePatch.h>
Public Member Functions | |
ComputeHomePatch (ComputeID c, PatchID pid) | |
virtual | ~ComputeHomePatch () |
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 (FullAtom *p, Results *r)=0 |
![]() | |
void | enqueueWork () |
Protected Attributes | |
int | numAtoms |
Patch * | patch |
HomePatch * | homePatch |
![]() | |
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 ComputeHomePatch.h.
Definition at line 23 of file ComputeHomePatch.C.
References homePatch, patch, and Compute::setNumPatches().
|
virtual |
Definition at line 32 of file ComputeHomePatch.C.
References Compute::cid, DebugM, numAtoms, PatchMap::Object(), PatchMap::patch(), Patch::unregisterForceDeposit(), and Patch::unregisterPositionPickup().
Reimplemented from Compute.
Definition at line 70 of file ComputeHomePatch.C.
References Patch::getNumAtoms(), numAtoms, and patch.
Implemented in ComputeRestraints, ComputeCylindricalBC, ComputeSphericalBC, ComputeGridForce, ComputeStir, ComputeConsTorque, ComputeEField, and ComputeConsForce.
Referenced by doWork().
Reimplemented from Compute.
Definition at line 76 of file ComputeHomePatch.C.
References ResizeArray< T >::begin(), Box< Owner, Data >::close(), DebugM, doForce(), HomePatch::getAtomList(), homePatch, and Box< Owner, Data >::open().
Reimplemented from Compute.
Definition at line 45 of file ComputeHomePatch.C.
References Compute::basePriority, Compute::cid, COMPUTE_HOME_PRIORITY, DebugM, Patch::getNumAtoms(), Patch::getPatchID(), homePatch, Compute::initialize(), NAMD_bug(), numAtoms, PatchMap::Object(), patch, PATCH_PRIORITY, Patch::registerForceDeposit(), and Patch::registerPositionPickup().
|
protected |
Definition at line 39 of file ComputeHomePatch.h.
Referenced by ComputeHomePatch(), ComputeGridForce::do_calc(), ComputeConsForce::doForce(), ComputeEField::doForce(), ComputeConsTorque::doForce(), ComputeStir::doForce(), ComputeGridForce::doForce(), doWork(), and initialize().
|
protected |
Definition at line 36 of file ComputeHomePatch.h.
Referenced by atomUpdate(), ComputeGridForce::do_calc(), ComputeConsForce::doForce(), ComputeEField::doForce(), ComputeConsTorque::doForce(), ComputeStir::doForce(), ComputeGridForce::doForce(), ComputeSphericalBC::doForce(), ComputeCylindricalBC::doForce(), ComputeRestraints::doForce(), initialize(), and ~ComputeHomePatch().
|
protected |
Definition at line 38 of file ComputeHomePatch.h.
Referenced by atomUpdate(), ComputeHomePatch(), ComputeEField::doForce(), ComputeStir::doForce(), ComputeRestraints::doForce(), and initialize().