ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/DumpWriter.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/DumpWriter.cpp (file contents):
Revision 1202 by tim, Thu May 27 00:48:12 2004 UTC vs.
Revision 1203 by gezelter, Thu May 27 18:59:17 2004 UTC

# Line 325 | Line 325 | void DumpWriter::writeFrame( vector<ofstream*>& outFil
325  
326      // Node 0 needs a list of the magic potatoes for each processor;
327  
328 <    nProc = mpiSim->getNprocessors();
328 >    nProc = mpiSim->getNProcessors();
329      potatoes = new int[nProc];
330  
331      //write out the comment lines
# Line 353 | Line 353 | void DumpWriter::writeFrame( vector<ofstream*>& outFil
353  
354      currentIndex = 0;
355  
356 <    for (i = 0 ; i < mpiSim->getTotNmol(); i++ ) {
356 >    for (i = 0 ; i < mpiSim->getNMolGlobal(); i++ ) {
357        
358        // Get the Node number which has this atom;
359        
# Line 517 | Line 517 | void DumpWriter::writeFrame( vector<ofstream*>& outFil
517      myPotato = 0;
518      currentIndex = 0;
519      
520 <    for (i = 0 ; i < mpiSim->getTotNmol(); i++ ) {
520 >    for (i = 0 ; i < mpiSim->getNMolGlobal(); i++ ) {
521        
522        // Am I the node which has this integrableObject?
523        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines