|
NAMD
|
#include <ComputeMsmSerial.h>
Public Member Functions | |
| ComputeMsmSerial (ComputeID c) | |
| virtual | ~ComputeMsmSerial () |
| void | doWork () |
| void | saveResults (MsmSerialForceMsg *) |
Public Member Functions inherited from ComputeHomePatches | |
| ComputeHomePatches (ComputeID c) | |
| virtual | ~ComputeHomePatches () |
| virtual void | initialize () |
| virtual void | atomUpdate () |
| Flags * | getFlags (void) |
Public Member Functions inherited from Compute | |
| 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 | |
Public Attributes inherited from Compute | |
| const ComputeID | cid |
| LDObjHandle | ldObjHandle |
| LocalWorkMsg *const | localWorkMsg |
Protected Member Functions inherited from Compute | |
| void | enqueueWork () |
Protected Attributes inherited from ComputeHomePatches | |
| int | useAvgPositions |
| int | hasPatchZero |
| ComputeHomePatchList | patchList |
| PatchMap * | patchMap |
Protected Attributes inherited from Compute | |
| int | computeType |
| int | basePriority |
| int | gbisPhase |
| int | gbisPhasePriority [3] |
Definition at line 17 of file ComputeMsmSerial.h.
| ComputeMsmSerial::ComputeMsmSerial | ( | ComputeID | c | ) |
Definition at line 101 of file ComputeMsmSerial.C.
References ReductionMgr::Object(), REDUCTIONS_BASIC, and ReductionMgr::willSubmit().
|
virtual |
Definition at line 109 of file ComputeMsmSerial.C.
|
virtual |
Reimplemented from Compute.
Definition at line 113 of file ComputeMsmSerial.C.
References ResizeArrayIter< T >::begin(), ComputeMsmSerialAtom::charge, CompAtom::charge, MsmSerialCoordMsg::coord, ResizeArrayIter< T >::end(), ComputeMsmSerialAtom::id, CompAtomExt::id, MsmSerialCoordMsg::lattice, MsmSerialCoordMsg::numAtoms, ComputeHomePatches::patchList, ComputeMsmSerialAtom::position, CompAtom::position, MsmSerialCoordMsg::sourceNode, and SubmitReduction::submit().
| void ComputeMsmSerial::saveResults | ( | MsmSerialForceMsg * | msg | ) |
Definition at line 467 of file ComputeMsmSerial.C.
References ResizeArrayIter< T >::begin(), ResizeArrayIter< T >::end(), MsmSerialForceMsg::energy, Results::f, MsmSerialForceMsg::force, SubmitReduction::item(), ComputeHomePatches::patchList, REDUCTION_ELECT_ENERGY_SLOW, Results::slow, SubmitReduction::submit(), MsmSerialForceMsg::virial, Vector::x, Vector::y, and Vector::z.
Referenced by ComputeMsmSerialMgr::recvForce().
1.8.14