--- trunk/OOPSE/libmdtools/SimInfo.cpp 2004/05/12 16:38:45 1167 +++ trunk/OOPSE/libmdtools/SimInfo.cpp 2004/06/01 17:15:43 1212 @@ -62,7 +62,9 @@ SimInfo::SimInfo(){ useReactionField = 0; useGB = 0; useEAM = 0; - + useSolidThermInt = 0; + useLiquidThermInt = 0; + haveCutoffGroups = false; excludes = Exclude::Instance(); @@ -444,7 +446,7 @@ void SimInfo::refreshSim(){ excl = excludes->getFortranArray(); #ifdef IS_MPI - n_global = mpiSim->getTotAtoms(); + n_global = mpiSim->getNAtomsGlobal(); #else n_global = n_atoms; #endif @@ -600,7 +602,11 @@ void getFortranGroupArray(SimInfo* info, vectorbeginAtom(iterAtom); cutoffAtom != NULL; cutoffAtom = myCutoffGroup->nextAtom(iterAtom)){ mfact.push_back(cutoffAtom->getMass()/totalMass); +#ifdef IS_MPI + groupList.push_back(cutoffAtom->getGlobalIndex() + 1); +#else groupList.push_back(cutoffAtom->getIndex() + 1); +#endif } groupStart.push_back(curIndex); @@ -609,6 +615,8 @@ void getFortranGroupArray(SimInfo* info, vector