NAMD
|
#include <ComputeNonbondedSelf.h>
Public Member Functions | |
ComputeNonbondedSelf (ComputeID c, PatchID pid, ComputeNonbondedWorkArrays *_workArrays, int minPartition=0, int maxPartition=1, int numPartitions=1) | |
virtual | ~ComputeNonbondedSelf () |
![]() | |
ComputePatch (ComputeID c, PatchID pid) | |
virtual | ~ComputePatch () |
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 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 | |
nonbonded | params |
GBISParamStruct | gbisParams |
BigReal | reductionData [reductionDataSize] |
![]() | |
const ComputeID | cid |
LDObjHandle | ldObjHandle |
LocalWorkMsg *const | localWorkMsg |
Protected Member Functions | |
virtual void | initialize () |
virtual int | noWork () |
virtual void | doForce (CompAtom *p, CompAtomExt *pExt, Results *r) |
![]() | |
void | enqueueWork () |
Protected Attributes | |
Box< Patch, CompAtom > * | avgPositionBox |
Box< Patch, CompAtom > * | velocityBox |
Real * | intRad |
Box< Patch, Real > * | intRadBox |
Box< Patch, GBReal > * | psiSumBox |
Box< Patch, Real > * | bornRadBox |
Box< Patch, GBReal > * | dEdaSumBox |
Box< Patch, Real > * | dHdrPrefixBox |
Pairlists | gbisStepPairlists [numGBISPairlists] |
SubmitReduction * | reduction |
SubmitReduction * | pressureProfileReduction |
BigReal * | pressureProfileData |
ComputeNonbondedWorkArrays *const | workArrays |
Pairlists | pairlists |
int | pairlistsValid |
BigReal | pairlistTolerance |
int | minPart |
int | maxPart |
int | numParts |
![]() | |
int | numAtoms |
CompAtomExt * | pExt |
CompAtom * | p |
Results * | r |
Patch * | patch |
PatchID | patchID |
Box< Patch, CompAtom > * | positionBox |
Box< Patch, Results > * | forceBox |
![]() | |
int | computeType |
int | basePriority |
int | gbisPhase |
int | gbisPhasePriority [3] |
Static Protected Attributes | |
static const int | numGBISPairlists = 4 |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 14 of file ComputeNonbondedSelf.h.
ComputeNonbondedSelf::ComputeNonbondedSelf | ( | ComputeID | c, |
PatchID | pid, | ||
ComputeNonbondedWorkArrays * | _workArrays, | ||
int | minPartition = 0 , |
||
int | maxPartition = 1 , |
||
int | numPartitions = 1 |
||
) |
Definition at line 23 of file ComputeNonbondedSelf.C.
References Node::Object(), ReductionMgr::Object(), pairlistsValid, pairlistTolerance, Node::parameters, nonbonded::parameters, params, ComputeNonbondedUtil::pressureProfileAtomTypes, pressureProfileData, ComputeNonbondedUtil::pressureProfileOn, pressureProfileReduction, ComputeNonbondedUtil::pressureProfileSlabs, Node::rand, nonbonded::random, reduction, REDUCTIONS_BASIC, REDUCTIONS_PPROF_NONBONDED, Node::simParameters, nonbonded::simParameters, and ReductionMgr::willSubmit().
|
virtual |
Definition at line 78 of file ComputeNonbondedSelf.C.
References avgPositionBox, bornRadBox, dEdaSumBox, dHdrPrefixBox, intRadBox, ComputePatch::patch, pressureProfileData, pressureProfileReduction, psiSumBox, reduction, Patch::unregisterAvgPositionPickup(), Patch::unregisterBornRadPickup(), Patch::unregisterDEdaSumDeposit(), Patch::unregisterDHdrPrefixPickup(), Patch::unregisterIntRadPickup(), Patch::unregisterPsiSumDeposit(), Patch::unregisterVelocityPickup(), and velocityBox.
|
protectedvirtual |
Implements ComputePatch.
Definition at line 159 of file ComputeNonbondedSelf.C.
References GBISParamStruct::a_cut, GBISParamStruct::alpha_max, avgPositionBox, GBISParamStruct::beta, GBISParamStruct::bornRad, bornRadBox, Lattice::c(), ComputeNonbondedUtil::calcFullSelf, ComputeNonbondedUtil::calcFullSelfEnergy, ComputeNonbondedUtil::calcGBIS(), ComputeNonbondedUtil::calcMergeSelf, ComputeNonbondedUtil::calcMergeSelfEnergy, ComputeNonbondedUtil::calcSelf, ComputeNonbondedUtil::calcSelfEnergy, ComputeNonbondedUtil::calcSlowSelf, ComputeNonbondedUtil::calcSlowSelfEnergy, Compute::cid, GBISParamStruct::cid, Box< Owner, Data >::close(), ComputeNonbondedUtil::commOnly, GBISParamStruct::cutoff, ComputeNonbondedUtil::cutoff, DebugM, GBISParamStruct::dEdaSum, dEdaSumBox, GBISParamStruct::delta, GBISParamStruct::dHdrPrefix, dHdrPrefixBox, Flags::doEnergy, GBISParamStruct::doEnergy, Flags::doFullElectrostatics, GBISParamStruct::doFullElectrostatics, Flags::doGBIS, GBISParamStruct::doGBIS, Flags::doLoweAndersen, nonbonded::doLoweAndersen, Flags::doMolly, GBISParamStruct::doSmoothing, GBISParamStruct::epsilon_p, GBISParamStruct::epsilon_s, Results::f, nonbonded::ff, Patch::flags, GBISParamStruct::fsMax, nonbonded::fullf, GBISParamStruct::gamma, GBISParamStruct::gbInterEnergy, gbisParams, Compute::gbisPhase, GBISParamStruct::gbisPhase, gbisStepPairlists, GBISParamStruct::gbisStepPairlists, GBISParamStruct::gbSelfEnergy, Patch::getPatchID(), nonbonded::groupplcutoff, GBISParamStruct::intRad, intRadBox, SubmitReduction::item(), GBISParamStruct::kappa, Patch::lattice, Flags::maxAtomMovement, Flags::maxForceMerged, Flags::maxGroupRadius, GBISParamStruct::maxGroupRadius, maxPart, nonbonded::maxPart, minPart, nonbonded::minPart, NAMD_die(), ComputePatch::numAtoms, nonbonded::numAtoms, numGBISPairlists, numParts, nonbonded::numParts, GBISParamStruct::numPatches, Node::Object(), nonbonded::offset, nonbonded::offset_f, Box< Owner, Data >::open(), Lattice::origin(), ComputePatch::p, nonbonded::p, pairlists, nonbonded::pairlists, pairlistsValid, Flags::pairlistTolerance, pairlistTolerance, ComputeNonbondedUtil::pairlistWarningIndex, params, ComputePatch::patch, GBISParamStruct::patchID, ComputePatch::pExt, nonbonded::pExt, nonbonded::plcutoff, ComputeNonbondedUtil::pressureProfileAtomTypes, pressureProfileData, ComputeNonbondedUtil::pressureProfileMin, ComputeNonbondedUtil::pressureProfileOn, pressureProfileReduction, nonbonded::pressureProfileReduction, ComputeNonbondedUtil::pressureProfileSlabs, ComputeNonbondedUtil::pressureProfileThickness, GBISParamStruct::psiSum, psiSumBox, ComputePatch::r, reduction, nonbonded::reduction, REDUCTION_ELECT_ENERGY, reductionData, ComputeNonbondedUtil::reductionDataSize, GBISParamStruct::rho_0, Flags::savePairlists, nonbonded::savePairlists, Compute::sequence(), GBISParamStruct::sequence, Node::simParameters, simParams, Results::slow, Flags::step, nonbonded::step, SubmitReduction::submit(), ComputeNonbondedUtil::submitPressureProfileData(), ComputeNonbondedUtil::submitReductionData(), TRACE_COMPOBJ_IDOFFSET, Flags::usePairlists, nonbonded::usePairlists, nonbonded::v, velocityBox, workArrays, nonbonded::workArrays, and Vector::z.
|
protectedvirtual |
Reimplemented from ComputePatch.
Definition at line 64 of file ComputeNonbondedSelf.C.
References avgPositionBox, bornRadBox, dEdaSumBox, dHdrPrefixBox, ComputePatch::initialize(), intRadBox, ComputePatch::patch, psiSumBox, Patch::registerAvgPositionPickup(), Patch::registerBornRadPickup(), Patch::registerDEdaSumDeposit(), Patch::registerDHdrPrefixPickup(), Patch::registerIntRadPickup(), Patch::registerPsiSumDeposit(), Patch::registerVelocityPickup(), and velocityBox.
|
protectedvirtual |
Reimplemented from Compute.
Definition at line 104 of file ComputeNonbondedSelf.C.
References avgPositionBox, bornRadBox, dEdaSumBox, dHdrPrefixBox, Flags::doGBIS, Flags::doLoweAndersen, Flags::doMolly, Flags::doNonbonded, Patch::flags, ComputePatch::forceBox, Compute::gbisPhase, intRadBox, SubmitReduction::item(), Compute::ldObjHandle, ComputePatch::numAtoms, LdbCoordinator::Object(), ComputePatch::patch, ComputePatch::positionBox, ComputeNonbondedUtil::pressureProfileOn, pressureProfileReduction, psiSumBox, reduction, REDUCTION_COMPUTE_CHECKSUM, Box< Owner, Data >::skip(), LdbCoordinator::skipWork(), SubmitReduction::submit(), and velocityBox.
Definition at line 36 of file ComputeNonbondedSelf.h.
Referenced by doForce(), initialize(), noWork(), and ~ComputeNonbondedSelf().
Definition at line 44 of file ComputeNonbondedSelf.h.
Referenced by doForce(), initialize(), noWork(), and ~ComputeNonbondedSelf().
Definition at line 45 of file ComputeNonbondedSelf.h.
Referenced by doForce(), initialize(), noWork(), and ~ComputeNonbondedSelf().
Definition at line 46 of file ComputeNonbondedSelf.h.
Referenced by doForce(), initialize(), noWork(), and ~ComputeNonbondedSelf().
GBISParamStruct ComputeNonbondedSelf::gbisParams |
Definition at line 18 of file ComputeNonbondedSelf.h.
Referenced by doForce().
|
protected |
Definition at line 48 of file ComputeNonbondedSelf.h.
Referenced by doForce().
|
protected |
Definition at line 41 of file ComputeNonbondedSelf.h.
Definition at line 42 of file ComputeNonbondedSelf.h.
Referenced by doForce(), initialize(), noWork(), and ~ComputeNonbondedSelf().
|
protected |
Definition at line 61 of file ComputeNonbondedSelf.h.
Referenced by doForce().
|
protected |
Definition at line 61 of file ComputeNonbondedSelf.h.
Referenced by doForce().
|
staticprotected |
Definition at line 47 of file ComputeNonbondedSelf.h.
Referenced by doForce().
|
protected |
Definition at line 61 of file ComputeNonbondedSelf.h.
Referenced by doForce().
|
protected |
Definition at line 56 of file ComputeNonbondedSelf.h.
Referenced by doForce().
|
protected |
Definition at line 57 of file ComputeNonbondedSelf.h.
Referenced by ComputeNonbondedSelf(), and doForce().
|
protected |
Definition at line 58 of file ComputeNonbondedSelf.h.
Referenced by ComputeNonbondedSelf(), and doForce().
nonbonded ComputeNonbondedSelf::params |
Definition at line 17 of file ComputeNonbondedSelf.h.
Referenced by ComputeNonbondedSelf(), and doForce().
|
protected |
Definition at line 52 of file ComputeNonbondedSelf.h.
Referenced by ComputeNonbondedSelf(), doForce(), and ~ComputeNonbondedSelf().
|
protected |
Definition at line 51 of file ComputeNonbondedSelf.h.
Referenced by ComputeNonbondedSelf(), doForce(), noWork(), and ~ComputeNonbondedSelf().
Definition at line 43 of file ComputeNonbondedSelf.h.
Referenced by doForce(), initialize(), noWork(), and ~ComputeNonbondedSelf().
|
protected |
Definition at line 50 of file ComputeNonbondedSelf.h.
Referenced by ComputeNonbondedSelf(), doForce(), noWork(), and ~ComputeNonbondedSelf().
BigReal ComputeNonbondedSelf::reductionData[reductionDataSize] |
Definition at line 23 of file ComputeNonbondedSelf.h.
Referenced by doForce().
Definition at line 38 of file ComputeNonbondedSelf.h.
Referenced by doForce(), initialize(), noWork(), and ~ComputeNonbondedSelf().
|
protected |
Definition at line 54 of file ComputeNonbondedSelf.h.
Referenced by doForce().