NAMD
|
#include <ComputeGlobal.h>
Public Member Functions | |
ComputeGlobal (ComputeID, ComputeMgr *) | |
virtual | ~ComputeGlobal () |
void | doWork () |
void | recvResults (ComputeGlobalResultsMsg *) |
void | saveTotalForces (HomePatch *) |
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 35 of file ComputeGlobal.h.
ComputeGlobal::ComputeGlobal | ( | ComputeID | c, |
ComputeMgr * | m | ||
) |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 35 of file ComputeGlobal.C.
References SimParameters::colvarsOn, DebugM, SimParameters::FMAOn, SimParameters::fullDirectOn, SimParameters::GBISOn, SimParameters::GBISserOn, PatchMap::numPatches(), numPatches, PatchMap::Object(), Node::Object(), ReductionMgr::Object(), SimParameters::PMEOn, REDUCTIONS_BASIC, ResizeArray< T >::resize(), Node::simParameters, SimParameters::tclForcesOn, and ReductionMgr::willSubmit().
|
virtual |
Definition at line 69 of file ComputeGlobal.C.
Reimplemented from Compute.
Definition at line 322 of file ComputeGlobal.C.
References ResizeArray< T >::add(), ResizeArrayIter< Type >::begin(), ComputeGlobalDataMsg::count, DebugM, ComputeMgr::enableComputeGlobalResults(), ResizeArrayIter< Type >::end(), ComputeHomePatches::hasPatchZero, ComputeGlobalDataMsg::lat, ComputeGlobalDataMsg::patchcount, ComputeHomePatches::patchList, ComputeMgr::sendComputeGlobalData(), ComputeGlobalDataMsg::step, and x.
void ComputeGlobal::recvResults | ( | ComputeGlobalResultsMsg * | msg | ) |
Definition at line 210 of file ComputeGlobal.C.
References ADD_TENSOR_OBJECT, ADD_VECTOR_OBJECT, ComputeGlobalResultsMsg::aid, ResizeArray< T >::begin(), ResizeArrayIter< Type >::begin(), DebugM, ResizeArray< T >::end(), ResizeArrayIter< Type >::end(), ComputeGlobalResultsMsg::f, ComputeGlobalResultsMsg::gforce, LocalID::index, AtomMap::localID(), FullAtom::mass, NAMD_bug(), ComputeGlobalResultsMsg::newaid, ComputeGlobalResultsMsg::newgdef, ComputeGlobalResultsMsg::newgridobjid, Results::normal, notUsed, AtomMap::Object(), outer(), ComputeHomePatches::patchList, LocalID::pid, CompAtom::position, ComputeGlobalResultsMsg::reconfig, ComputeGlobalResultsMsg::resendCoordinates, ResizeArray< T >::resize(), Lattice::reverse_transform(), ResizeArray< T >::size(), SubmitReduction::submit(), ComputeGlobalResultsMsg::totalforces, FullAtom::transform, and x.
Referenced by ComputeMgr::recvComputeGlobalResults().
Definition at line 612 of file ComputeGlobal.C.
References SimParameters::accelMDDebugOn, SimParameters::accelMDdihe, ResizeArray< T >::add(), Results::amdf, atoms, ResizeArray< T >::begin(), ResizeArray< T >::end(), Patch::f, intpair::first, SimParameters::fixedAtomsOn, NAMD_bug(), Results::nbond, Results::normal, Patch::numAtoms, Node::Object(), intpair::second, Node::simParameters, and Results::slow.
Referenced by Sequencer::integrate(), and Sequencer::minimize().