NAMD
|
#include <ComputeEwald.h>
Public Member Functions | |
ComputeEwald (ComputeID, ComputeMgr *) | |
virtual | ~ComputeEwald () |
void | doWork () |
void | recvData (ComputeEwaldMsg *) |
void | recvResults (ComputeEwaldMsg *) |
int | getMasterNode () const |
![]() | |
ComputeHomePatches (ComputeID c) | |
virtual | ~ComputeHomePatches () |
virtual void | initialize () |
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 78 of file ComputeEwald.h.
ComputeEwald::ComputeEwald | ( | ComputeID | c, |
ComputeMgr * | m | ||
) |
Definition at line 51 of file ComputeEwald.C.
References DebugM, ComputeNonbondedUtil::ewaldcof, generateAtomTypeTable(), PatchMap::Object(), Node::Object(), ReductionMgr::Object(), SimParameters::pressureProfileAtomTypes, SimParameters::pressureProfileEwaldX, SimParameters::pressureProfileEwaldY, SimParameters::pressureProfileEwaldZ, SimParameters::pressureProfileSlabs, REDUCTIONS_PPROF_NONBONDED, Node::simParameters, and ReductionMgr::willSubmit().
|
virtual |
Definition at line 97 of file ComputeEwald.C.
|
virtual |
Reimplemented from Compute.
Definition at line 114 of file ComputeEwald.C.
References ResizeArrayIter< T >::begin(), Lattice::c(), EwaldParticle::cg, CompAtom::charge, COULOMB, ComputeNonbondedUtil::dielectric_1, ComputeEwaldMsg::eik, ResizeArrayIter< T >::end(), Lattice::origin(), CompAtom::partition, ComputeHomePatches::patchList, CompAtom::position, ComputeNonbondedUtil::scaling, ComputeMgr::sendComputeEwaldData(), SubmitReduction::submit(), Lattice::wrap_delta(), EwaldParticle::x, Vector::x, EwaldParticle::y, Vector::y, EwaldParticle::z, and Vector::z.
|
inline |
Definition at line 86 of file ComputeEwald.h.
Referenced by ComputeMgr::sendComputeEwaldData().
void ComputeEwald::recvData | ( | ComputeEwaldMsg * | msg | ) |
Definition at line 187 of file ComputeEwald.C.
References ComputeEwaldMsg::eik, and ComputeMgr::sendComputeEwaldResults().
Referenced by ComputeMgr::recvComputeEwaldData().
void ComputeEwald::recvResults | ( | ComputeEwaldMsg * | msg | ) |
Definition at line 204 of file ComputeEwald.C.
References ComputeEwaldMsg::eik, SubmitReduction::item(), M_PI, SubmitReduction::submit(), and Lattice::volume().
Referenced by ComputeMgr::recvComputeEwaldResults().