NAMD
|
#include <ParallelIOMgr.h>
Public Attributes | |
CthThread | sendAtomsThread |
int | numAcksOutstanding |
Definition at line 153 of file ParallelIOMgr.h.
ParallelIOMgr::ParallelIOMgr | ( | ) |
Definition at line 157 of file ParallelIOMgr.C.
ParallelIOMgr::~ParallelIOMgr | ( | ) |
Definition at line 198 of file ParallelIOMgr.C.
void ParallelIOMgr::ackAtomsToHomePatchProcs | ( | ) |
Definition at line 1503 of file ParallelIOMgr.C.
void ParallelIOMgr::bcastHydroBasedCounter | ( | HydroBasedMsg * | msg | ) |
Definition at line 1211 of file ParallelIOMgr.C.
References endi(), iINFO(), iout, HydroBasedMsg::numFixedGroups, and HydroBasedMsg::numFixedRigidBonds.
void ParallelIOMgr::bcastMolInfo | ( | MolInfoMsg * | msg | ) |
Definition at line 1152 of file ParallelIOMgr.C.
References endi(), iINFO(), iout, MolInfoMsg::numAngles, MolInfoMsg::numBonds, MolInfoMsg::numCalcAngles, MolInfoMsg::numCalcBonds, MolInfoMsg::numCalcCrossterms, MolInfoMsg::numCalcDihedrals, MolInfoMsg::numCalcExclusions, MolInfoMsg::numCalcFullExclusions, MolInfoMsg::numCalcImpropers, MolInfoMsg::numCrossterms, MolInfoMsg::numDihedrals, MolInfoMsg::numExclusions, MolInfoMsg::numImpropers, MolInfoMsg::numRigidBonds, PDBVELFACTOR, MolInfoMsg::totalMass, and MolInfoMsg::totalMV.
void ParallelIOMgr::calcAtomsInEachPatch | ( | ) |
Definition at line 1295 of file ParallelIOMgr.C.
References PatchMap::assignToPatch(), AtomsCntPerPatchMsg::atomsCntList, AtomsCntPerPatchMsg::fixedAtomsCntList, PatchMap::getTmpPatchAtomsList(), PatchMap::initTmpPatchAtomsList(), InputAtom::isMP, InputAtom::isValid, AtomsCntPerPatchMsg::length, NAMD_die(), PatchMap::numPatches(), PatchMap::Object(), AtomsCntPerPatchMsg::pidList, and CompAtom::position.
void ParallelIOMgr::createHomePatches | ( | ) |
Definition at line 1576 of file ParallelIOMgr.C.
References PatchMgr::createHomePatch(), PatchMap::node(), PatchMap::numPatches(), PatchMap::numPatchesOnNode(), PatchMap::Object(), Node::Object(), and Node::workDistrib.
void ParallelIOMgr::disposeForces | ( | int | seq, |
double | prevT | ||
) |
Definition at line 1819 of file ParallelIOMgr.C.
void ParallelIOMgr::disposePositions | ( | int | seq, |
double | prevT | ||
) |
Definition at line 1767 of file ParallelIOMgr.C.
void ParallelIOMgr::disposeVelocities | ( | int | seq, |
double | prevT | ||
) |
Definition at line 1793 of file ParallelIOMgr.C.
void ParallelIOMgr::freeMolSpace | ( | ) |
Definition at line 1622 of file ParallelIOMgr.C.
|
inline |
Definition at line 388 of file ParallelIOMgr.h.
void ParallelIOMgr::initialize | ( | Node * | node | ) |
Definition at line 217 of file ParallelIOMgr.C.
References endi(), CollectionMgr::getMasterChareID(), iINFO(), iout, Node::molecule, NAMD_bug(), CollectionMgr::Object(), WorkDistrib::peCompactOrderingIndex, WorkDistrib::peDiffuseOrdering, and Node::simParameters.
void ParallelIOMgr::integrateClusterSize | ( | ) |
Definition at line 682 of file ParallelIOMgr.C.
References ClusterSizeMsg::atomsCnt, ClusterSizeMsg::clusterId, and ClusterSizeMsg::srcRank.
void ParallelIOMgr::integrateMigratedAtoms | ( | ) |
Definition at line 841 of file ParallelIOMgr.C.
References CompAtomExt::atomFixed, CompAtom::hydrogenGroupSize, InputAtom::isGP, InputAtom::isValid, HydroBasedMsg::numFixedGroups, HydroBasedMsg::numFixedRigidBonds, and FullAtom::rigidBondLength.
bool ParallelIOMgr::isOutputProcessor | ( | int | pe | ) |
Definition at line 353 of file ParallelIOMgr.C.
void ParallelIOMgr::migrateAtomsMGrp | ( | ) |
Definition at line 781 of file ParallelIOMgr.C.
References ResizeArray< Elem >::add(), MoveInputAtomsMsg::atomList, ResizeArray< Elem >::begin(), ResizeArray< Elem >::clear(), MoveInputAtomsMsg::length, and ResizeArray< Elem >::size().
void ParallelIOMgr::readPerAtomInfo | ( | ) |
Definition at line 363 of file ParallelIOMgr.C.
void ParallelIOMgr::receiveForces | ( | CollectVectorVarMsg * | msg | ) |
Definition at line 1743 of file ParallelIOMgr.C.
References NAMD_bug(), and CollectVectorVarMsg::seq.
void ParallelIOMgr::receivePositions | ( | CollectVectorVarMsg * | msg | ) |
Definition at line 1697 of file ParallelIOMgr.C.
References NAMD_bug(), and CollectVectorVarMsg::seq.
void ParallelIOMgr::receiveVelocities | ( | CollectVectorVarMsg * | msg | ) |
Definition at line 1720 of file ParallelIOMgr.C.
References NAMD_bug(), and CollectVectorVarMsg::seq.
void ParallelIOMgr::recvAtomsCntPerPatch | ( | AtomsCntPerPatchMsg * | msg | ) |
Definition at line 1373 of file ParallelIOMgr.C.
References AtomsCntPerPatchMsg::atomsCntList, endi(), AtomsCntPerPatchMsg::fixedAtomsCntList, iINFO(), iout, AtomsCntPerPatchMsg::length, NAMD_die(), PatchMap::numPatches(), PatchMap::Object(), Node::Object(), and AtomsCntPerPatchMsg::pidList.
void ParallelIOMgr::recvAtomsMGrp | ( | MoveInputAtomsMsg * | msg | ) |
Definition at line 833 of file ParallelIOMgr.C.
References MoveInputAtomsMsg::atomList, and MoveInputAtomsMsg::length.
void ParallelIOMgr::recvAtomsToHomePatchProcs | ( | MovePatchAtomsMsg * | msg | ) |
Definition at line 1512 of file ParallelIOMgr.C.
References MovePatchAtomsMsg::allAtoms, MovePatchAtomsMsg::from, MovePatchAtomsMsg::patchCnt, MovePatchAtomsMsg::pidList, and MovePatchAtomsMsg::sizeList.
void ParallelIOMgr::recvClusterCoor | ( | ClusterCoorMsg * | msg | ) |
Definition at line 1920 of file ParallelIOMgr.C.
void ParallelIOMgr::recvClusterSize | ( | ClusterSizeMsg * | msg | ) |
Definition at line 674 of file ParallelIOMgr.C.
void ParallelIOMgr::recvFinalClusterCoor | ( | ClusterCoorMsg * | msg | ) |
Definition at line 1992 of file ParallelIOMgr.C.
References ClusterCoorElem::clusterId, ClusterCoorMsg::clusterId, ClusterCoorElem::dsum, ClusterCoorMsg::dsum, ResizeArray< Elem >::size(), Lattice::wrap_delta(), and Lattice::wrap_nearest_delta().
void ParallelIOMgr::recvFinalClusterSize | ( | ClusterSizeMsg * | msg | ) |
Definition at line 734 of file ParallelIOMgr.C.
References ClusterElem::atomsCnt, ClusterSizeMsg::atomsCnt, ClusterElem::clusterId, and ClusterSizeMsg::clusterId.
void ParallelIOMgr::recvHydroBasedCounter | ( | HydroBasedMsg * | msg | ) |
Definition at line 1198 of file ParallelIOMgr.C.
References HydroBasedMsg::numFixedGroups, and HydroBasedMsg::numFixedRigidBonds.
void ParallelIOMgr::recvMolInfo | ( | MolInfoMsg * | msg | ) |
Definition at line 1096 of file ParallelIOMgr.C.
References MolInfoMsg::numAngles, MolInfoMsg::numBonds, MolInfoMsg::numCalcAngles, MolInfoMsg::numCalcBonds, MolInfoMsg::numCalcCrossterms, MolInfoMsg::numCalcDihedrals, MolInfoMsg::numCalcExclusions, MolInfoMsg::numCalcFullExclusions, MolInfoMsg::numCalcImpropers, MolInfoMsg::numCrossterms, MolInfoMsg::numDihedrals, MolInfoMsg::numExclusions, MolInfoMsg::numImpropers, MolInfoMsg::numRigidBonds, MolInfoMsg::totalCharge, MolInfoMsg::totalMass, and MolInfoMsg::totalMV.
void ParallelIOMgr::sendAtomsToHomePatchProcs | ( | ) |
Definition at line 1423 of file ParallelIOMgr.C.
References ResizeArray< Elem >::add(), MovePatchAtomsMsg::allAtoms, ResizeArray< Elem >::begin(), call_sendAtomsToHomePatchProcs(), ResizeArray< Elem >::clear(), PatchMap::delTmpPatchAtomsList(), MovePatchAtomsMsg::from, PatchMap::getTmpPatchAtomsList(), PatchMap::node(), PatchMap::numPatches(), PatchMap::Object(), MovePatchAtomsMsg::patchCnt, MovePatchAtomsMsg::pidList, Random::reorder(), ResizeArray< Elem >::size(), and MovePatchAtomsMsg::sizeList.
void ParallelIOMgr::updateMolInfo | ( | ) |
Definition at line 908 of file ParallelIOMgr.C.
References AtomSignature::angleCnt, AtomSignature::angleSigs, atomSigPool, AtomSignature::bondCnt, AtomSignature::bondSigs, AtomSignature::crosstermCnt, AtomSignature::crosstermSigs, AtomSignature::dihedralCnt, AtomSignature::dihedralSigs, ExclusionSignature::fullExclCnt, ExclusionSignature::fullOffset, AtomSignature::gromacsPairCnt, AtomSignature::gromacsPairSigs, AtomSignature::improperCnt, AtomSignature::improperSigs, ExclusionSignature::modExclCnt, ExclusionSignature::modOffset, MolInfoMsg::numAngles, MolInfoMsg::numBonds, MolInfoMsg::numCalcAngles, MolInfoMsg::numCalcBonds, MolInfoMsg::numCalcCrossterms, MolInfoMsg::numCalcDihedrals, MolInfoMsg::numCalcExclusions, MolInfoMsg::numCalcFullExclusions, MolInfoMsg::numCalcImpropers, MolInfoMsg::numCalcLJPairs, MolInfoMsg::numCrossterms, MolInfoMsg::numDihedrals, MolInfoMsg::numExclusions, MolInfoMsg::numImpropers, MolInfoMsg::numLJPairs, MolInfoMsg::numRigidBonds, TupleSignature::offset, MolInfoMsg::totalCharge, MolInfoMsg::totalMass, and MolInfoMsg::totalMV.
void ParallelIOMgr::wrapCoor | ( | int | seq, |
Lattice | lat | ||
) |
Definition at line 1846 of file ParallelIOMgr.C.
References ResizeArray< Elem >::add(), UniqueSetIter< T >::begin(), ClusterCoorElem::clusterId, ClusterCoorMsg::clusterId, ClusterCoorElem::dsum, ClusterCoorMsg::dsum, UniqueSetIter< T >::end(), ResizeArray< Elem >::size(), and ClusterCoorMsg::srcRank.
int ParallelIOMgr::numAcksOutstanding |
Definition at line 377 of file ParallelIOMgr.h.
CthThread ParallelIOMgr::sendAtomsThread |
Definition at line 375 of file ParallelIOMgr.h.