NAMD
|
#include <ComputeSphericalBC.h>
Public Member Functions | |
ComputeSphericalBC (ComputeID c, PatchID pid) | |
virtual | ~ComputeSphericalBC () |
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 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 13 of file ComputeSphericalBC.h.
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 25 of file ComputeSphericalBC.C.
References FALSE, Node::Object(), ReductionMgr::Object(), reduction, REDUCTIONS_BASIC, Node::simParameters, simParams, SimParameters::sphericalBCexp1, SimParameters::sphericalBCexp2, SimParameters::sphericalBCk1, SimParameters::sphericalBCk2, SimParameters::sphericalBCr1, SimParameters::sphericalBCr2, SimParameters::sphericalCenter, TRUE, and ReductionMgr::willSubmit().
|
virtual |
Implements ComputeHomePatch.
Definition at line 86 of file ComputeSphericalBC.C.
References Results::f, forces, SubmitReduction::item(), Results::normal, ComputeHomePatch::numAtoms, CompAtom::position, reduction, REDUCTION_BC_ENERGY, SubmitReduction::submit(), Vector::x, x, Vector::y, and Vector::z.
SubmitReduction* ComputeSphericalBC::reduction |
Definition at line 32 of file ComputeSphericalBC.h.
Referenced by ComputeSphericalBC(), doForce(), and ~ComputeSphericalBC().