NAMD
|
#include <ComputeConsForce.h>
Public Member Functions | |
ComputeConsForce (ComputeID, PatchID) | |
virtual | ~ComputeConsForce () |
virtual void | doForce (FullAtom *, Results *) |
![]() | |
ComputeHomePatch (ComputeID c, PatchID pid) | |
virtual | ~ComputeHomePatch () |
virtual void | initialize () |
virtual void | atomUpdate () |
virtual void | doWork () |
![]() | |
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 | numAtoms |
Patch * | patch |
HomePatch * | homePatch |
![]() | |
int | computeType |
int | basePriority |
int | gbisPhase |
int | gbisPhasePriority [3] |
Definition at line 7 of file ComputeConsForce.h.
Definition at line 11 of file ComputeConsForce.C.
References ReductionMgr::Object(), REDUCTIONS_BASIC, and ReductionMgr::willSubmit().
|
virtual |
Definition at line 17 of file ComputeConsForce.C.
Implements ComputeHomePatch.
Definition at line 22 of file ComputeConsForce.C.
References ADD_TENSOR_OBJECT, ADD_VECTOR_OBJECT, Molecule::consForce, Molecule::consForceIndexes, SimParameters::consForceScaling, Results::f, forces, ComputeHomePatch::homePatch, Patch::lattice, Node::molecule, Results::normal, ComputeHomePatch::numAtoms, Node::Object(), outer(), Lattice::reverse_transform(), Node::simParameters, and SubmitReduction::submit().