--- trunk/OOPSE/libmdtools/DumpWriter.cpp 2004/05/27 16:20:36 1202 +++ trunk/OOPSE/libmdtools/DumpWriter.cpp 2004/05/27 18:59:17 1203 @@ -325,7 +325,7 @@ void DumpWriter::writeFrame( vector& outFil // Node 0 needs a list of the magic potatoes for each processor; - nProc = mpiSim->getNprocessors(); + nProc = mpiSim->getNProcessors(); potatoes = new int[nProc]; //write out the comment lines @@ -353,7 +353,7 @@ void DumpWriter::writeFrame( vector& outFil currentIndex = 0; - for (i = 0 ; i < mpiSim->getTotNmol(); i++ ) { + for (i = 0 ; i < mpiSim->getNMolGlobal(); i++ ) { // Get the Node number which has this atom; @@ -517,7 +517,7 @@ void DumpWriter::writeFrame( vector& outFil myPotato = 0; currentIndex = 0; - for (i = 0 ; i < mpiSim->getTotNmol(); i++ ) { + for (i = 0 ; i < mpiSim->getNMolGlobal(); i++ ) { // Am I the node which has this integrableObject?