NAMD
|
#include <ComputeExt.h>
Public Member Functions | |
ComputeExt (ComputeID c) | |
virtual | ~ComputeExt () |
void | doWork () |
void | saveResults (ExtForceMsg *) |
![]() | |
ComputeHomePatches (ComputeID c) | |
virtual | ~ComputeHomePatches () |
virtual void | initialize () |
virtual void | atomUpdate () |
Flags * | getFlags (void) |
![]() | |
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) |
Additional Inherited Members | |
![]() | |
const ComputeID | cid |
LDObjHandle | ldObjHandle |
LocalWorkMsg *const | localWorkMsg |
![]() | |
void | enqueueWork () |
![]() | |
int | useAvgPositions |
int | hasPatchZero |
ComputeHomePatchList | patchList |
PatchMap * | patchMap |
![]() | |
int | computeType |
int | basePriority |
int | gbisPhase |
int | gbisPhasePriority [3] |
Definition at line 17 of file ComputeExt.h.
ComputeExt::ComputeExt | ( | ComputeID | c | ) |
Definition at line 91 of file ComputeExt.C.
References ReductionMgr::Object(), REDUCTIONS_BASIC, and ReductionMgr::willSubmit().
|
virtual |
Definition at line 101 of file ComputeExt.C.
|
virtual |
Reimplemented from Compute.
Definition at line 105 of file ComputeExt.C.
References ResizeArrayIter< T >::begin(), ComputeExtAtom::charge, CompAtom::charge, ExtCoordMsg::coord, ResizeArrayIter< T >::end(), ComputeExtAtom::id, CompAtomExt::id, ExtCoordMsg::lattice, ExtCoordMsg::numAtoms, ComputeHomePatches::patchList, ComputeExtAtom::position, CompAtom::position, ExtCoordMsg::sourceNode, and SubmitReduction::submit().
void ComputeExt::saveResults | ( | ExtForceMsg * | msg | ) |
Definition at line 298 of file ComputeExt.C.
References ResizeArrayIter< T >::begin(), ResizeArrayIter< T >::end(), ExtForceMsg::energy, Results::f, ExtForceMsg::force, ExtForce::force, SubmitReduction::item(), Results::normal, ComputeHomePatches::patchList, REDUCTION_MISC_ENERGY, ExtForce::replace, SubmitReduction::submit(), and ExtForceMsg::virial.
Referenced by ComputeExtMgr::recvForce().