NAMD
|
#include <PatchMap.h>
Public Types | |
enum | { MaxTwoAway = 5*5*5 - 3*3*3 } |
enum | { MaxOneAway = 3*3*3 - 1 } |
enum | { MaxOneOrTwoAway = MaxOneAway + MaxTwoAway } |
Public Member Functions | |
int | sizeGrid (ScaledPosition xmin, ScaledPosition xmax, const Lattice &lattice, BigReal patchSize, double maxNumPatches, int staticAtomAssignment, int asplit, int bsplit, int csplit) |
void | makePatches (ScaledPosition xmin, ScaledPosition xmax, const Lattice &lattice, BigReal patchSize, double maxNumPatches, int staticAtomAssignment, int replicaUniformPatchGrids, int lcpo, int asplit, int bsplit, int csplit) |
void | checkMap () |
~PatchMap (void) | |
HomePatchList * | homePatchList () |
void | homePatchIDList (PatchIDList &) |
void | basePatchIDList (int pe, PatchIDList &) |
int | numHomePatches (void) |
int | numPatches (void) const |
int | numPatchesOnNode (int node) |
int | numNodesWithPatches (void) |
int | gridsize_a (void) const |
int | gridsize_b (void) const |
int | gridsize_c (void) const |
int | numaway_a (void) const |
int | numaway_b (void) const |
int | numaway_c (void) const |
int | periodic_a (void) const |
int | periodic_b (void) const |
int | periodic_c (void) const |
ScaledPosition | origin (void) const |
int | pid (int aIndex, int bIndex, int cIndex) |
int | index_a (int pid) const |
int | index_b (int pid) const |
int | index_c (int pid) const |
BigReal | min_a (int pid) const |
BigReal | max_a (int pid) const |
BigReal | min_b (int pid) const |
BigReal | max_b (int pid) const |
BigReal | min_c (int pid) const |
BigReal | max_c (int pid) const |
ScaledPosition | center (int pid) const |
PatchID | assignToPatch (Position p, const Lattice &l) |
int | downstream (int pid1, int pid2) |
int | node (int pid) const |
int | basenode (int pid) const |
int | numCids (int pid) const |
int | cid (int pid, int i) const |
void | assignNode (PatchID, NodeID) |
void | assignBaseNode (PatchID, NodeID) |
void | assignBaseNode (PatchID) |
void | newCid (int pid, int cid) |
int | oneAwayNeighbors (int pid, PatchID *neighbor_ids=0) |
int | oneOrTwoAwayNeighbors (int pid, PatchID *neighbor_ids, PatchID *downstream_ids=0, int *transform_ids=0) |
int | getPatchesInOctet (int pid, PatchID *pids, int *transform_ids=0) |
int | upstreamNeighbors (int pid, PatchID *neighbor_ids) |
int | downstreamNeighbors (int pid, PatchID *neighbor_ids) |
void | printPatchMap (void) |
Patch * | patch (PatchID pid) |
HomePatch * | homePatch (PatchID pid) |
void | registerPatch (PatchID pid, HomePatch *pptr) |
void | unregisterPatch (PatchID pid, HomePatch *pptr) |
void | registerPatch (PatchID pid, Patch *pptr) |
void | unregisterPatch (PatchID pid, Patch *pptr) |
int | getADim () |
int | getBDim () |
int | getCDim () |
int | getAMaxIndex () |
int | getBMaxIndex () |
int | getCMaxIndex () |
void | initTmpPatchAtomsList () |
void | delTmpPatchAtomsList () |
std::vector< int > * | getTmpPatchAtomsList () |
Static Public Member Functions | |
static PatchMap * | Instance () |
static PatchMap * | Object () |
static PatchMap * | ObjectOnPe (int pe) |
static void | registerPatchMgr (PatchMgr *pmgr) |
Public Attributes | |
std::vector< int > | nbond_patchOrdering |
Protected Member Functions | |
int | packSize (void) |
void | pack (char *buf, int size) |
void | unpack (char *buf) |
PatchMap (void) | |
Friends | |
class | WorkDistrib |
Definition at line 23 of file PatchMap.h.
anonymous enum |
anonymous enum |
anonymous enum |
Enumerator | |
---|---|
MaxOneOrTwoAway |
Definition at line 47 of file PatchMap.h.
PatchMap::~PatchMap | ( | void | ) |
Definition at line 291 of file PatchMap.C.
|
protected |
Definition at line 472 of file PatchMap.C.
void PatchMap::assignBaseNode | ( | PatchID | pid | ) |
Definition at line 465 of file PatchMap.C.
Definition at line 14 of file PatchMap.inl.
References pid(), Lattice::scale(), Vector::x, Vector::y, and Vector::z.
Referenced by ParallelIOMgr::calcAtomsInEachPatch(), and WorkDistrib::createAtomLists().
|
inline |
Definition at line 117 of file PatchMap.h.
References pid().
Referenced by assignBaseNode(), basePatchIDList(), and LdbCoordinator::requiredProxies().
void PatchMap::basePatchIDList | ( | int | pe, |
PatchIDList & | pids | ||
) |
Definition at line 454 of file PatchMap.C.
References ResizeArray< Elem >::add(), basenode(), and ResizeArray< Elem >::resize().
Referenced by CudaComputeNonbonded::assignPatches(), and ProxyMgr::createProxies().
|
inline |
Definition at line 99 of file PatchMap.h.
References pid().
Referenced by ComputeNonbondedPair::doForce(), CudaComputeNonbonded::registerComputePair(), and WorkDistrib::sortPmePes().
void PatchMap::checkMap | ( | void | ) |
Definition at line 274 of file PatchMap.C.
References DebugM.
Referenced by ComputeMgr::updateLocalComputes5().
|
inline |
|
inline |
Definition at line 226 of file PatchMap.h.
Referenced by ParallelIOMgr::sendAtomsToHomePatchProcs().
|
inline |
Definition at line 51 of file PatchMap.inl.
References notUsed.
Referenced by ComputeHomeTuples< TholeElem, Thole, TholeValue >::loadTuples().
int PatchMap::downstreamNeighbors | ( | int | pid, |
PatchID * | neighbor_ids | ||
) |
Definition at line 714 of file PatchMap.C.
References DebugM, Lattice::index(), and pid().
Referenced by LdbCoordinator::requiredProxies().
|
inline |
Definition at line 169 of file PatchMap.h.
|
inline |
Definition at line 172 of file PatchMap.h.
|
inline |
Definition at line 170 of file PatchMap.h.
|
inline |
Definition at line 173 of file PatchMap.h.
|
inline |
Definition at line 171 of file PatchMap.h.
|
inline |
Definition at line 174 of file PatchMap.h.
int PatchMap::getPatchesInOctet | ( | int | pid, |
PatchID * | pids, | ||
int * | transform_ids = 0 |
||
) |
|
inline |
Definition at line 233 of file PatchMap.h.
Referenced by ParallelIOMgr::calcAtomsInEachPatch(), and ParallelIOMgr::sendAtomsToHomePatchProcs().
|
inline |
Definition at line 64 of file PatchMap.h.
Referenced by WorkDistrib::createAtomLists(), ComputeLCPO::initialize(), Node::outputPatchComputeMaps(), RecBisection::partition(), and registerUserEventsForAllComputeObjs().
|
inline |
Definition at line 65 of file PatchMap.h.
Referenced by WorkDistrib::createAtomLists(), ComputeLCPO::initialize(), Node::outputPatchComputeMaps(), RecBisection::partition(), and registerUserEventsForAllComputeObjs().
|
inline |
Definition at line 66 of file PatchMap.h.
Referenced by WorkDistrib::createAtomLists(), ComputeLCPO::initialize(), Node::outputPatchComputeMaps(), RecBisection::partition(), and registerUserEventsForAllComputeObjs().
Definition at line 249 of file PatchMap.h.
References pid().
Referenced by ProxyMgr::buildProxySpanningTree(), ProxyMgr::buildProxySpanningTree2(), MigrateAtomsCombinedMsg::distribute(), dumpbench(), LdbCoordinator::initialize(), PatchMgr::moveAtom(), PatchMgr::recvAtoms(), PatchMgr::recvCheckpointAck(), PatchMgr::recvCheckpointLoad(), PatchMgr::recvCheckpointReq(), PatchMgr::recvCheckpointStore(), PatchMgr::recvExchangeMsg(), PatchMgr::recvExchangeReq(), ProxyMgr::recvImmediateResults(), NodeProxyMgr::recvImmediateResults(), ProxyMgr::recvNodeAwareSpanningTree(), ProxyMgr::recvNodeAwareSpanningTreeOnHomePatch(), ProxyMgr::recvRegisterProxy(), ProxyMgr::recvResult(), ProxyMgr::recvResults(), ProxyMgr::recvSpanningTreeOnHomePatch(), ProxyMgr::recvUnregisterProxy(), and PatchMgr::setHomePatchFixedAtomNum().
void PatchMap::homePatchIDList | ( | PatchIDList & | pids | ) |
Definition at line 443 of file PatchMap.C.
References ResizeArray< Elem >::add(), node(), and ResizeArray< Elem >::resize().
Referenced by ProxyMgr::buildProxySpanningTree(), and ProxyMgr::buildProxySpanningTree2().
HomePatchList * PatchMap::homePatchList | ( | ) |
Definition at line 438 of file PatchMap.C.
Referenced by ProxyMgr::buildProxySpanningTree2(), ComputeHomePatches::initialize(), CudaComputeNonbonded::launchWork(), and Node::run().
|
inline |
Definition at line 86 of file PatchMap.h.
References pid().
Referenced by WorkDistrib::createAtomLists(), ComputeLCPO::initialize(), makePatches(), patch_sortop_curve_a::operator()(), patch_sortop_curve_b::operator()(), patch_sortop_curve_c::operator()(), recursive_bisect_with_curve(), and registerUserEventsForAllComputeObjs().
|
inline |
Definition at line 87 of file PatchMap.h.
References pid().
Referenced by WorkDistrib::createAtomLists(), ComputeLCPO::initialize(), makePatches(), patch_sortop_curve_a::operator()(), patch_sortop_curve_b::operator()(), patch_sortop_curve_c::operator()(), recursive_bisect_with_curve(), and registerUserEventsForAllComputeObjs().
|
inline |
Definition at line 88 of file PatchMap.h.
References pid().
Referenced by WorkDistrib::createAtomLists(), ComputeLCPO::initialize(), makePatches(), patch_sortop_curve_a::operator()(), patch_sortop_curve_b::operator()(), patch_sortop_curve_c::operator()(), recursive_bisect_with_curve(), and registerUserEventsForAllComputeObjs().
|
inline |
Definition at line 223 of file PatchMap.h.
Referenced by ParallelIOMgr::calcAtomsInEachPatch().
|
static |
Definition at line 32 of file PatchMap.C.
References PatchMap().
Referenced by Node::Node(), and PatchMgr::PatchMgr().
void PatchMap::makePatches | ( | ScaledPosition | xmin, |
ScaledPosition | xmax, | ||
const Lattice & | lattice, | ||
BigReal | patchSize, | ||
double | maxNumPatches, | ||
int | staticAtomAssignment, | ||
int | replicaUniformPatchGrids, | ||
int | lcpo, | ||
int | asplit, | ||
int | bsplit, | ||
int | csplit | ||
) |
Definition at line 171 of file PatchMap.C.
References endi(), iINFO(), index_a(), index_b(), index_c(), iout, NAMD_bug(), replica_min_double(), sizeGrid(), Vector::x, Vector::y, and Vector::z.
Referenced by WorkDistrib::patchMapInit().
|
inline |
Definition at line 92 of file PatchMap.h.
References pid().
Referenced by WorkDistrib::createAtomLists(), ComputeLCPO::initialize(), ComputePmeMgr::initialize(), and ComputePmeMgr::initialize_pencils().
|
inline |
Definition at line 94 of file PatchMap.h.
References pid().
Referenced by WorkDistrib::createAtomLists(), ComputePmeCUDAMgr::getHomePencil(), ComputeLCPO::initialize(), and ComputePmeMgr::initialize_pencils().
|
inline |
Definition at line 96 of file PatchMap.h.
References pid().
Referenced by WorkDistrib::createAtomLists(), ComputePmeCUDAMgr::getHomePencil(), and ComputeLCPO::initialize().
|
inline |
Definition at line 91 of file PatchMap.h.
References pid().
Referenced by WorkDistrib::createAtomLists(), ComputeLCPO::initialize(), ComputePmeMgr::initialize(), and ComputePmeMgr::initialize_pencils().
|
inline |
Definition at line 93 of file PatchMap.h.
References pid().
Referenced by WorkDistrib::createAtomLists(), ComputePmeCUDAMgr::getHomePencil(), ComputeLCPO::initialize(), and ComputePmeMgr::initialize_pencils().
|
inline |
Definition at line 95 of file PatchMap.h.
References pid().
Referenced by WorkDistrib::createAtomLists(), ComputePmeCUDAMgr::getHomePencil(), and ComputeLCPO::initialize().
void PatchMap::newCid | ( | int | pid, |
int | cid | ||
) |
|
inline |
Definition at line 114 of file PatchMap.h.
References pid().
Referenced by assignBaseNode(), assignNode(), WorkDistrib::assignNodeToPatch(), CudaComputeNonbonded::assignPatchesOnPe(), ProxyMgr::buildSpanningTree0(), ParallelIOMgr::createHomePatches(), ProxyMgr::createProxies(), Rebalancer::createSpanningTree(), WorkDistrib::distributeHomePatches(), homePatchIDList(), LdbCoordinator::initialize(), ComputePmeMgr::initialize(), ComputePmeMgr::initialize_pencils(), numPatchesOnNode(), Node::outputPatchComputeMaps(), pack(), Patch::positionsReady(), printPatchMap(), PatchMgr::recvCheckpointReq(), PatchMgr::recvExchangeReq(), ProxyMgr::registerProxy(), LdbCoordinator::requiredProxies(), PatchMgr::sendAtoms(), ParallelIOMgr::sendAtomsToHomePatchProcs(), ProxyMgr::sendNodeAwareSpanningTreeToHomePatch(), MsmBlock::sendPatch(), MsmC1HermiteBlock::sendPatch(), ProxyMgr::sendResult(), ProxyMgr::sendResults(), ProxyMgr::sendSpanningTreeToHomePatch(), WorkDistrib::sortPmePes(), unpack(), and ProxyMgr::unregisterProxy().
|
inline |
Definition at line 68 of file PatchMap.h.
|
inline |
Definition at line 69 of file PatchMap.h.
|
inline |
Definition at line 70 of file PatchMap.h.
|
inline |
Definition at line 120 of file PatchMap.h.
References pid().
Referenced by newCid(), pack(), printPatchMap(), and unpack().
int PatchMap::numHomePatches | ( | void | ) |
Definition at line 432 of file PatchMap.C.
Referenced by LdbCoordinator::initialize(), CollectionMgr::CollectVectorInstance::reset(), and PatchMgr::sendMigrationMsgs().
|
inline |
Definition at line 61 of file PatchMap.h.
Referenced by HomePatch::buildSpanningTree(), ComputePmeMgr::initialize(), HomePatch::positionsReady(), and HomePatch::positionsReady_SOA().
|
inline |
Definition at line 59 of file PatchMap.h.
Referenced by WorkDistrib::assignNodeToPatch(), LdbCoordinator::awakenSequencers(), ProxyMgr::buildSpanningTree0(), ParallelIOMgr::calcAtomsInEachPatch(), ComputeGlobal::ComputeGlobal(), ComputeHomeTuples< TholeElem, Thole, TholeValue >::ComputeHomeTuples(), WorkDistrib::createAtomLists(), WorkDistrib::createHomePatches(), ParallelIOMgr::createHomePatches(), ProxyMgr::createProxies(), WorkDistrib::distributeHomePatches(), dumpbench(), LdbCoordinator::initialize(), CudaComputeNonbonded::initialize(), ComputeMsmMgr::initialize(), ComputePmeMgr::initialize(), ComputeHomeTuples< TholeElem, Thole, TholeValue >::initialize(), ComputePmeMgr::initialize_pencils(), Node::outputPatchComputeMaps(), LdbCoordinator::printLocalLdbReport(), RecBisection::RecBisection(), ParallelIOMgr::recvAtomsCntPerPatch(), GlobalMasterServer::recvData(), ProxyMgr::recvPatchProxyInfo(), ProxyMgr::recvProxies(), WorkDistrib::reinitAtoms(), ParallelIOMgr::sendAtomsToHomePatchProcs(), ProxyMgr::sendSpanningTrees(), Sequencer::Sequencer(), WorkDistrib::sortPmePes(), and NamdCentLB::Strategy().
|
inline |
Definition at line 60 of file PatchMap.h.
References node().
Referenced by HomePatch::buildSpanningTree(), ParallelIOMgr::createHomePatches(), NodeProxyMgr::createSTForHomePatches(), findRecipEvirPe(), ComputePmeMgr::initialize(), ComputePmeMgr::initialize_computes(), HomePatch::positionsReady(), and HomePatch::positionsReady_SOA().
|
inlinestatic |
Definition at line 27 of file PatchMap.h.
Referenced by WorkDistrib::assignNodeToPatch(), CudaComputeNonbonded::assignPatches(), CudaComputeNonbonded::assignPatchesOnPe(), ProxyMgr::buildProxySpanningTree(), ProxyMgr::buildProxySpanningTree2(), HomePatch::buildSpanningTree(), ProxyMgr::buildSpanningTree0(), ParallelIOMgr::calcAtomsInEachPatch(), ComputeEwald::ComputeEwald(), ComputeGlobal::ComputeGlobal(), ComputeHomePatches::ComputeHomePatches(), ComputeHomeTuples< TholeElem, Thole, TholeValue >::ComputeHomeTuples(), Controller::Controller(), WorkDistrib::createAtomLists(), ComputeMgr::createComputes(), WorkDistrib::createHomePatches(), ParallelIOMgr::createHomePatches(), ProxyMgr::createProxies(), ProxyMgr::createProxy(), Rebalancer::createSpanningTree(), MigrateAtomsCombinedMsg::distribute(), WorkDistrib::distributeHomePatches(), ComputeNonbondedPair::doForce(), ComputeFullDirect::doWork(), dumpbench(), findRecipEvirPe(), Patch::forceBoxClosed(), ComputePmeCUDAMgr::getHomePencil(), Sync::holdComputes(), ComputePmeCUDA::initialize(), ComputePatch::initialize(), ComputePatchPair::initialize(), ComputeHomePatch::initialize(), ComputePme::initialize(), ComputeLCPO::initialize(), CudaComputeNonbonded::initialize(), ComputeSelfTuples< TholeElem, Thole, TholeValue >::initialize(), ComputeMsmMgr::initialize(), ComputePmeMgr::initialize(), ComputePmeMgr::initialize_computes(), ComputePmeMgr::initialize_pencils(), CudaComputeNonbonded::launchWork(), WorkDistrib::mapComputes(), Sync::openSync(), Node::outputPatchComputeMaps(), WorkDistrib::patchMapInit(), Patch::positionsReady(), HomePatch::positionsReady(), HomePatch::positionsReady_SOA(), ProxyPatch::ProxyPatch(), recursive_bisect_with_curve(), ParallelIOMgr::recvAtomsCntPerPatch(), ComputeMgr::recvComputeDPMEData(), ComputeMgr::recvComputeDPMEResults(), ComputeMgr::recvComputeEwaldResults(), ComputeMgr::recvComputeGlobalResults(), ComputeExtMgr::recvCoord(), ComputeMsmSerialMgr::recvCoord(), ComputeLjPmeSerialMgr::recvCoord(), ComputeFmmSerialMgr::recvCoord(), ComputeGBISserMgr::recvCoord(), GlobalMasterServer::recvData(), ProxyMgr::recvData(), ProxyMgr::recvImmediateProxyAll(), ProxyMgr::recvImmediateProxyData(), ProxyMgr::recvImmediateResults(), ProxyMgr::recvNodeAwareSpanningTree(), ProxyMgr::recvNodeAwareSpanningTreeOnHomePatch(), ProxyMgr::recvNodeAwareSTParent(), ComputeQMMgr::recvPartQM(), ProxyMgr::recvPatchProxyInfo(), ProxyMgr::recvProxies(), ProxyMgr::recvProxyAll(), ProxyMgr::recvProxyData(), ProxyMgr::recvRegisterProxy(), ProxyMgr::recvResult(), ProxyMgr::recvResults(), ProxyMgr::recvSpanningTree(), ProxyMgr::recvSpanningTreeOnHomePatch(), ProxyMgr::recvUnregisterProxy(), CudaComputeNonbonded::registerComputePair(), ProxyMgr::registerProxy(), registerUserEventsForAllComputeObjs(), WorkDistrib::reinitAtoms(), ProxyMgr::removeProxy(), CollectionMgr::CollectVectorInstance::reset(), CollectionMaster::CollectVectorInstance::reset(), LdbCoordinator::resume(), Node::run(), WorkDistrib::savePatchMap(), ParallelIOMgr::sendAtomsToHomePatchProcs(), ComputeMgr::sendComputeDPMEData(), ComputeMgr::sendComputeEwaldData(), ProxyMgr::sendNodeAwareSpanningTreeToHomePatch(), MsmBlock::sendPatch(), MsmC1HermiteBlock::sendPatch(), WorkDistrib::sendPatchMap(), ProxyMgr::sendResult(), ProxyMgr::sendResults(), ProxyMgr::sendSpanningTrees(), ProxyMgr::sendSpanningTreeToHomePatch(), Sequencer::Sequencer(), WorkDistrib::sortPmePes(), Node::startup(), NamdCentLB::Strategy(), ProxyMgr::unregisterProxy(), ComputeMgr::updateLocalComputes5(), ComputeHomePatch::~ComputeHomePatch(), ComputeLCPO::~ComputeLCPO(), ComputePatch::~ComputePatch(), ComputePatchPair::~ComputePatchPair(), and ComputePmeCUDA::~ComputePmeCUDA().
|
inlinestatic |
Definition at line 28 of file PatchMap.h.
Referenced by CudaComputeNonbonded::assignPatches(), and findProxyPatchPes().
int PatchMap::oneAwayNeighbors | ( | int | pid, |
PatchID * | neighbor_ids = 0 |
||
) |
int PatchMap::oneOrTwoAwayNeighbors | ( | int | pid, |
PatchID * | neighbor_ids, | ||
PatchID * | downstream_ids = 0 , |
||
int * | transform_ids = 0 |
||
) |
|
inline |
Definition at line 78 of file PatchMap.h.
|
protected |
Definition at line 328 of file PatchMap.C.
References DebugM, NAMD_bug(), node(), numCids(), PACK, and PACKN.
Referenced by WorkDistrib::sendPatchMap().
|
protected |
Definition at line 314 of file PatchMap.C.
Referenced by WorkDistrib::sendPatchMap().
Definition at line 244 of file PatchMap.h.
References pid().
Referenced by WorkDistrib::assignNodeToPatch(), ProxyMgr::createProxy(), ComputeLCPO::initialize(), ComputeHomeTuples< TholeElem, Thole, TholeValue >::initialize(), Node::outputPatchComputeMaps(), recursive_bisect_with_curve(), ProxyMgr::recvData(), ProxyMgr::recvImmediateProxyAll(), NodeProxyMgr::recvImmediateProxyAll(), ProxyMgr::recvImmediateProxyData(), NodeProxyMgr::recvImmediateProxyData(), ProxyMgr::recvImmediateResults(), NodeProxyMgr::recvImmediateResults(), ProxyMgr::recvNodeAwareSpanningTree(), ProxyMgr::recvNodeAwareSTParent(), ProxyMgr::recvProxyAll(), ProxyMgr::recvProxyData(), ProxyMgr::recvSpanningTree(), ProxyMgr::sendResults(), ComputeHomePatch::~ComputeHomePatch(), ComputeLCPO::~ComputeLCPO(), ComputePatch::~ComputePatch(), ComputePatchPair::~ComputePatchPair(), and ComputePmeCUDA::~ComputePmeCUDA().
|
inline |
Definition at line 73 of file PatchMap.h.
|
inline |
Definition at line 74 of file PatchMap.h.
|
inline |
Definition at line 75 of file PatchMap.h.
|
inline |
Definition at line 27 of file PatchMap.inl.
References MODULO.
Referenced by assignBaseNode(), assignNode(), assignToPatch(), basenode(), center(), cid(), downstreamNeighbors(), getPatchesInOctet(), homePatch(), index_a(), index_b(), index_c(), max_a(), max_b(), max_c(), min_a(), min_b(), min_c(), newCid(), node(), numCids(), oneAwayNeighbors(), oneOrTwoAwayNeighbors(), patch(), registerPatch(), unregisterPatch(), and upstreamNeighbors().
void PatchMap::printPatchMap | ( | void | ) |
Definition at line 786 of file PatchMap.C.
References endi(), iERRORF, iout, iPE(), and pid().
Referenced by PatchMgr::createHomePatch(), ProxyMgr::createProxies(), and ProxyMgr::createProxy().
|
inlinestatic |
Definition at line 49 of file PatchMap.h.
Referenced by PatchMgr::PatchMgr().
int PatchMap::sizeGrid | ( | ScaledPosition | xmin, |
ScaledPosition | xmax, | ||
const Lattice & | lattice, | ||
BigReal | patchSize, | ||
double | maxNumPatches, | ||
int | staticAtomAssignment, | ||
int | asplit, | ||
int | bsplit, | ||
int | csplit | ||
) |
Definition at line 62 of file PatchMap.C.
References Lattice::a(), Lattice::a_p(), Lattice::a_r(), Lattice::b(), Lattice::b_p(), Lattice::b_r(), Lattice::c(), Lattice::c_p(), Lattice::c_r(), NAMD_die(), Vector::unit(), Vector::x, Vector::y, and Vector::z.
Referenced by makePatches(), and WorkDistrib::patchMapInit().
|
protected |
Definition at line 365 of file PatchMap.C.
References DebugM, ObjectArena< Type >::getNewArray(), node(), numCids(), ObjectArena< Type >::setBlockSize(), UNPACK, and UNPACKN.
Referenced by WorkDistrib::savePatchMap().
Definition at line 796 of file PatchMap.C.
Referenced by ProxyMgr::removeProxy(), PatchMgr::sendMovePatches(), and PatchMgr::sendOneHomePatch().
Definition at line 815 of file PatchMap.C.
int PatchMap::upstreamNeighbors | ( | int | pid, |
PatchID * | neighbor_ids | ||
) |
Definition at line 669 of file PatchMap.C.
References DebugM, Lattice::index(), and pid().
Referenced by ProxyMgr::createProxies(), and ComputeHomeTuples< TholeElem, Thole, TholeValue >::initialize().
|
friend |
Definition at line 177 of file PatchMap.h.
std::vector<int> PatchMap::nbond_patchOrdering |
Definition at line 237 of file PatchMap.h.