NAMD
|
#include <ProxyPatch.h>
Protected Member Functions | |
virtual void | boxClosed (int) |
Definition at line 19 of file ProxyPatch.h.
ProxyPatch::ProxyPatch | ( | PatchID | pd | ) |
Definition at line 26 of file ProxyPatch.C.
References Patch::child, DebugM, Patch::nChild, Patch::numAtoms, PatchMap::Object(), ProxyMgr::Object(), Patch::patchID, proxySpanDim, and ProxyMgr::registerProxy().
|
virtual |
Definition at line 66 of file ProxyPatch.C.
References Patch::atomMapper, ResizeArray< Elem >::begin(), Patch::child, DebugM, ResizeArray< Elem >::end(), Patch::lcpoType, ProxyMgr::Object(), Patch::p, Patch::patchID, Patch::pExt, ResizeArray< Elem >::resize(), AtomMapper::unregisterIDsCompAtomExt(), and ProxyMgr::unregisterProxy().
|
protectedvirtual |
Implements Patch.
Definition at line 107 of file ProxyPatch.C.
References Patch::boxesOpen, DebugM, ProxyGBISP2ResultMsg::dEdaSum, Patch::dEdaSum, ProxyGBISP2ResultMsg::dEdaSumLen, Flags::doFullElectrostatics, Flags::doNonbonded, Patch::flags, GB1_PROXY_RESULTS_PRIORITY, GB2_PROXY_RESULTS_PRIORITY, Patch::numAtoms, ProxyMgr::Object(), ProxyGBISP1ResultMsg::origPe, ProxyGBISP2ResultMsg::origPe, ProxyGBISP1ResultMsg::patch, ProxyGBISP2ResultMsg::patch, PATCH_PRIORITY, Patch::patchID, PRIORITY_SIZE, PROXYALLMSGBUFFERED, PROXYDATAMSGBUFFERED, ProxyGBISP1ResultMsg::psiSum, Patch::psiSum, ProxyGBISP1ResultMsg::psiSumLen, receiveAll(), receiveData(), ProxyMgr::sendResult(), Flags::sequence, and SET_PRIORITY.
ProxyCombinedResultMsg * ProxyPatch::depositCombinedResultMsg | ( | ProxyCombinedResultMsg * | msg | ) |
Definition at line 476 of file ProxyPatch.C.
References ResizeArray< Elem >::add(), ResizeArray< Elem >::begin(), ResizeArray< Elem >::end(), ProxyCombinedResultMsg::forceList, Results::maxNumForces, Patch::nChild, ProxyCombinedResultMsg::nodes, Vector::x, Vector::y, and Vector::z.
Referenced by ProxyMgr::sendResults().
ProxyCombinedResultMsg * ProxyPatch::depositCombinedResultRawMsg | ( | ProxyCombinedResultRawMsg * | msg | ) |
Definition at line 540 of file ProxyPatch.C.
References ResizeArray< Elem >::add(), ResizeArray< Elem >::begin(), ProxyCombinedResultRawMsg::flLen, ProxyCombinedResultRawMsg::forceArr, ProxyCombinedResultMsg::forceList, ProxyCombinedResultMsg::fromRaw(), ProxyCombinedResultRawMsg::isForceNonZero, Results::maxNumForces, Patch::nChild, ProxyCombinedResultRawMsg::nodes, ProxyCombinedResultMsg::nodes, ProxyCombinedResultRawMsg::nodeSize, Vector::x, Vector::y, and Vector::z.
Referenced by ProxyMgr::recvImmediateResults(), and NodeProxyMgr::recvImmediateResults().
int ProxyPatch::getSpanningTreeChild | ( | int * | c | ) |
|
inline |
Definition at line 35 of file ProxyPatch.h.
References Patch::child.
Referenced by ProxyMgr::recvImmediateProxyAll(), and ProxyMgr::recvImmediateProxyData().
|
inline |
Definition at line 36 of file ProxyPatch.h.
References Patch::nChild.
Referenced by ProxyMgr::recvImmediateProxyAll(), and ProxyMgr::recvImmediateProxyData().
|
inline |
Definition at line 33 of file ProxyPatch.h.
Referenced by ProxyMgr::recvImmediateResults(), NodeProxyMgr::recvImmediateResults(), and ProxyMgr::sendResults().
void ProxyPatch::receiveAll | ( | ProxyDataMsg * | msg | ) |
Definition at line 245 of file ProxyPatch.C.
References Patch::atomMapper, ProxyDataMsg::avgPlLen, ProxyDataMsg::avgPositionList, Patch::avgPositionPtrBegin, Patch::avgPositionPtrEnd, ResizeArray< Elem >::begin(), Patch::boxesOpen, ProxyDataMsg::cudaAtomList, Patch::cudaAtomPtr, DebugM, Flags::doGBIS, Flags::doLCPO, ResizeArray< Elem >::end(), ProxyDataMsg::flags, Patch::flags, Patch::intRad, ProxyDataMsg::intRadList, Patch::lcpoType, ProxyDataMsg::lcpoTypeList, NAMD_bug(), Patch::numAtoms, Node::Object(), Patch::p, Patch::patchID, Patch::pExt, ProxyDataMsg::plExtLen, ProxyDataMsg::plLen, ProxyDataMsg::positionExtList, ProxyDataMsg::positionList, Patch::positionsReady(), PROXYALLMSGBUFFERED, ResizeArray< Elem >::resize(), Node::simParameters, AtomMapper::unregisterIDsCompAtomExt(), SimParameters::useAVXTiles, ProxyDataMsg::velocityList, Patch::velocityPtrBegin, Patch::velocityPtrEnd, and ProxyDataMsg::vlLen.
Referenced by boxClosed(), and ProxyMgr::recvProxyAll().
void ProxyPatch::receiveData | ( | ProxyDataMsg * | msg | ) |
Definition at line 168 of file ProxyPatch.C.
References ProxyDataMsg::avgPlLen, ProxyDataMsg::avgPositionList, Patch::avgPositionPtrBegin, Patch::avgPositionPtrEnd, ResizeArray< Elem >::begin(), Patch::boxesOpen, ProxyDataMsg::cudaAtomList, Patch::cudaAtomPtr, DebugM, ProxyDataMsg::flags, Patch::flags, NAMD_bug(), Patch::numAtoms, Node::Object(), Patch::p, Patch::patchID, Patch::pExt, ProxyDataMsg::plExtLen, ProxyDataMsg::plLen, ProxyDataMsg::positionExtList, ProxyDataMsg::positionList, Patch::positionsReady(), PROXYDATAMSGBUFFERED, ResizeArray< Elem >::resize(), Node::simParameters, SimParameters::useAVXTiles, ProxyDataMsg::velocityList, Patch::velocityPtrBegin, Patch::velocityPtrEnd, and ProxyDataMsg::vlLen.
Referenced by boxClosed(), ProxyMgr::recvData(), and ProxyMgr::recvProxyData().
void ProxyPatch::receiveData | ( | ProxyGBISP2DataMsg * | msg | ) |
Definition at line 528 of file ProxyPatch.C.
References ResizeArray< Elem >::begin(), ProxyGBISP2DataMsg::bornRad, Patch::bornRad, Patch::gbisP2Ready(), and Patch::numAtoms.
void ProxyPatch::receiveData | ( | ProxyGBISP3DataMsg * | msg | ) |
Definition at line 534 of file ProxyPatch.C.
References ResizeArray< Elem >::begin(), ProxyGBISP3DataMsg::dHdrPrefix, Patch::dHdrPrefix, ProxyGBISP3DataMsg::dHdrPrefixLen, and Patch::gbisP3Ready().
void ProxyPatch::setSpanningTree | ( | int | p, |
int * | c, | ||
int | n | ||
) |
Definition at line 455 of file ProxyPatch.C.
References Patch::child, Patch::nChild, and Patch::p.
Referenced by ProxyMgr::recvNodeAwareSpanningTree(), ProxyMgr::recvNodeAwareSTParent(), and ProxyMgr::recvSpanningTree().