ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/io/DumpWriter.cpp
(Generate patch)

Comparing branches/development/src/io/DumpWriter.cpp (file contents):
Revision 1877 by gezelter, Fri May 17 14:41:42 2013 UTC vs.
Revision 1878 by gezelter, Thu Jun 13 14:26:09 2013 UTC

# Line 419 | Line 419 | namespace OpenMD {
419            // send our buffer:
420            MPI::COMM_WORLD.Send((void *)buffer.c_str(), sendBufferLength,
421                                 MPI::CHAR, masterNode, 0);
422 +
423          }
424        }
425      }
# Line 727 | Line 728 | namespace OpenMD {
728   #endif // is_mpi
729        
730        eorStream = createOStream(eorFilename_);
731 <      writeFrame(*eorStream);
731 <      
731 >
732   #ifdef IS_MPI
733      }
734 + #endif
735 +    
736 +    writeFrame(*eorStream);
737 +      
738 + #ifdef IS_MPI
739      if (worldRank == 0) {
740 < #endif // is_mpi
741 <
740 > #endif
741 >      
742        writeClosing(*eorStream);
743        delete eorStream;
744 <
744 >      
745   #ifdef IS_MPI
746      }
747   #endif // is_mpi  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines