NAMD
|
#include <ComputeQM.h>
Public Member Functions | |
ComputeQM (ComputeID c) | |
virtual | ~ComputeQM () |
void | initialize () |
void | doWork () |
void | saveResults (QMForceMsg *) |
void | processFullQM (QMCoordMsg *) |
![]() | |
ComputeHomePatches (ComputeID c) | |
virtual | ~ComputeHomePatches () |
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 114 of file ComputeQM.h.
ComputeQM::ComputeQM | ( | ComputeID | c | ) |
Definition at line 600 of file ComputeQM.C.
References ReductionMgr::Object(), REDUCTIONS_BASIC, and ReductionMgr::willSubmit().
|
virtual |
Definition at line 610 of file ComputeQM.C.
|
virtual |
Reimplemented from Compute.
Definition at line 676 of file ComputeQM.C.
References ResizeArrayIter< T >::begin(), ComputeQMAtom::charge, QMCoordMsg::coord, DebugM, ResizeArrayIter< T >::end(), SortedArray< Elem >::find(), ComputeQMAtom::homeIndx, ComputeQMAtom::id, CompAtomExt::id, QMCoordMsg::numAtoms, ComputeHomePatches::patchList, ComputeQMAtom::position, ComputeQMAtom::qmGrpID, ResizeArray< Elem >::size(), QMCoordMsg::sourceNode, QMCoordMsg::timestep, ComputeQMAtom::vdwType, and CompAtom::vdwType.
|
virtual |
Reimplemented from ComputeHomePatches.
Definition at line 616 of file ComputeQM.C.
References SortedArray< Elem >::add(), ResizeArray< Elem >::add(), SimParameters::cutoff, Molecule::get_noPC(), Molecule::get_numQMAtoms(), Molecule::get_qmAtmChrg(), Molecule::get_qmAtmIndx(), Molecule::get_qmAtomGroup(), Molecule::get_qmCustomPCIdxs(), Molecule::get_qmCustPCSizes(), Molecule::get_qmGrpID(), Molecule::get_qmMeMMindx(), Molecule::get_qmMeNumBonds(), Molecule::get_qmMeQMGrp(), Molecule::get_qmNumGrps(), Molecule::get_qmTotCustPCs(), ComputeHomePatches::initialize(), Node::molecule, Node::Object(), SimParameters::qmCustomPCSel, ResizeArray< Elem >::resize(), and Node::simParameters.
void ComputeQM::processFullQM | ( | QMCoordMsg * | qmFullMsg | ) |
Definition at line 1293 of file ComputeQM.C.
References ResizeArray< Elem >::add(), CompAtom::charge, ResizeArray< Elem >::clear(), QMCoordMsg::coord, DebugM, Lattice::delta(), SortedArray< Elem >::find(), CompAtomExt::id, Vector::length(), SortedArray< Elem >::load(), FullAtom::mass, QMCoordMsg::numAtoms, QMCoordMsg::numPCIndxs, ComputeHomePatches::patchList, QMCoordMsg::pcIndxs, PCMODECUSTOMSEL, PCMODEUPDATEPOS, PCMODEUPDATESEL, QMCoordMsg::pcSelMode, ComputeQMAtom::position, ComputeQMAtom::qmGrpID, ResizeArray< Elem >::size(), SortedArray< Elem >::sort(), QMCoordMsg::sourceNode, QMPntChrgMsg::sourceNode, and CompAtom::vdwType.
Referenced by ComputeQMMgr::recvFullQM().
void ComputeQM::saveResults | ( | QMForceMsg * | fmsg | ) |
Definition at line 2674 of file ComputeQM.C.
References ResizeArrayIter< T >::begin(), QMForce::charge, DebugM, ResizeArrayIter< T >::end(), QMForceMsg::energy, Results::f, QMForce::force, QMForceMsg::force, ExtForce::force, Molecule::get_numQMAtoms(), Molecule::get_qmAtmChrg(), Molecule::get_qmAtmIndx(), Molecule::get_qmAtomGroup(), Molecule::get_qmNumGrps(), getComputes(), QMForce::homeIndx, QMForce::id, SubmitReduction::item(), Node::molecule, Results::normal, QMForceMsg::numForces, Node::Object(), ComputeHomePatches::patchList, QMForceMsg::PMEOn, REDUCTION_MISC_ENERGY, QMForce::replace, ExtForce::replace, ResizeArray< Elem >::size(), SubmitReduction::submit(), and QMForceMsg::virial.
Referenced by ComputeQMMgr::recvForce().