NAMD
|
#include <ComputeStir.h>
Public Member Functions | |
ComputeStir (ComputeID c, PatchID pid) | |
virtual | ~ComputeStir () |
virtual void | doForce (FullAtom *p, Results *r) |
Public Member Functions inherited from ComputeHomePatch | |
ComputeHomePatch (ComputeID c, PatchID pid) | |
virtual | ~ComputeHomePatch () |
virtual void | initialize () |
virtual void | atomUpdate () |
virtual void | doWork () |
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) |
Public Attributes | |
SubmitReduction * | reduction |
Public Attributes inherited from Compute | |
const ComputeID | cid |
LDObjHandle | ldObjHandle |
LocalWorkMsg *const | localWorkMsg |
Additional Inherited Members | |
Protected Member Functions inherited from Compute | |
void | enqueueWork () |
Protected Attributes inherited from ComputeHomePatch | |
int | numAtoms |
Patch * | patch |
HomePatch * | homePatch |
Protected Attributes inherited from Compute | |
int | computeType |
int | basePriority |
int | gbisPhase |
int | gbisPhasePriority [3] |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000,2001 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 18 of file ComputeStir.h.
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000, 2001 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 19 of file ComputeStir.C.
References Node::Object(), ReductionMgr::Object(), reduction, REDUCTIONS_BASIC, Node::simParameters, simParams, SimParameters::stirAxis, SimParameters::stirPivot, Vector::unit(), and ReductionMgr::willSubmit().
|
virtual |
Implements ComputeHomePatch.
Definition at line 288 of file ComputeStir.C.
References ADD_TENSOR_OBJECT, ADD_VECTOR_OBJECT, cross(), Vector::dot(), Results::f, Patch::flags, forces, Molecule::get_stir_startTheta(), ComputeHomePatch::homePatch, CompAtomExt::id, Molecule::is_atom_stirred(), SubmitReduction::item(), Patch::lattice, Vector::length(), Node::molecule, Results::normal, ComputeHomePatch::numAtoms, CollectionMgr::Object(), Node::Object(), outer(), ComputeHomePatch::patch, reduction, REDUCTION_MISC_ENERGY, Lattice::reverse_transform(), CollectionMgr::sendDataStream(), Node::simParameters, Flags::step, SimParameters::stirK, SubmitReduction::submit(), Vector::x, Vector::y, and Vector::z.
SubmitReduction* ComputeStir::reduction |
Definition at line 27 of file ComputeStir.h.
Referenced by ComputeStir(), doForce(), and ~ComputeStir().