NAMD
|
#include <ComputeMsm.h>
Public Member Functions | |
ComputeMsm (ComputeID c) | |
virtual | ~ComputeMsm () |
void | doWork () |
void | saveResults () |
void | setMgr (ComputeMsmMgr *mgr) |
![]() | |
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 25 of file ComputeMsm.h.
ComputeMsm::ComputeMsm | ( | ComputeID | c | ) |
Definition at line 6057 of file ComputeMsm.C.
References COULOMB, Node::Object(), ReductionMgr::Object(), REDUCTIONS_BASIC, Node::simParameters, simParams, and ReductionMgr::willSubmit().
|
virtual |
Definition at line 6069 of file ComputeMsm.C.
|
virtual |
Reimplemented from Compute.
Definition at line 6077 of file ComputeMsm.C.
References msm::Array< T >::append(), ASSERT, ResizeArrayIter< T >::begin(), CompAtom::charge, ComputeMsmMgr::compute(), msm::PatchData::coordArray(), ResizeArrayIter< T >::end(), CompAtomExt::id, msm::PatchData::init(), msm::Array< T >::len(), ComputeMsmMgr::mapData(), ComputeHomePatches::patchList, ComputeMsmMgr::patchPtrArray(), CompAtom::position, msm::Array< T >::resize(), Compute::sequence(), msm::PatchData::sequence, ResizeArray< Elem >::size(), and SubmitReduction::submit().
void ComputeMsm::saveResults | ( | ) |
Definition at line 6161 of file ComputeMsm.C.
References ASSERT, ResizeArrayIter< T >::begin(), ResizeArrayIter< T >::end(), msm::PatchData::energy, Results::f, msm::PatchData::force, SubmitReduction::item(), msm::Array< T >::len(), ComputeMsmMgr::mapData(), NAMD_die(), ComputeHomePatches::patchList, msm::Map::patchList, ComputeMsmMgr::patchPtrArray(), REDUCTION_ELECT_ENERGY_SLOW, Results::slow, SubmitReduction::submit(), ComputeMsmMgr::virial, ComputeMsmMgr::VXX, ComputeMsmMgr::VXY, ComputeMsmMgr::VXZ, ComputeMsmMgr::VYY, ComputeMsmMgr::VYZ, and ComputeMsmMgr::VZZ.
Referenced by ComputeMsmMgr::doneCompute().
|
inline |
Definition at line 32 of file ComputeMsm.h.