--- trunk/mdtools/md_code/DumpWriter.cpp 2002/12/16 21:42:14 214 +++ trunk/mdtools/md_code/DumpWriter.cpp 2003/01/27 21:28:19 249 @@ -1,12 +1,19 @@ #include #include #include + +#ifdef IS_MPI #include +#include "mpiSimulation.hpp" +#endif //is_mpi #include "ReadWrite.hpp" #include "simError.h" + + + DumpWriter::DumpWriter( SimInfo* the_entry_plug ){ #ifdef IS_MPI @@ -322,10 +329,9 @@ void DumpWriter::writeFinal(){ finalOut << nAtoms << "\n"; - finalOut << currentTime << "\t" - << entry_plug->box_x << "\t" - << entry_plug->box_y << "\t" - << entry_plug->box_z << "\n"; + finalOut << entry_plug->box_x << "\t" + << entry_plug->box_y << "\t" + << entry_plug->box_z << "\n"; for( i=0; impiSim->getTotAtoms() << "\n"; - finalOut << currentTime << "\t" - << entry_plug->box_x << "\t" - << entry_plug->box_y << "\t" - << entry_plug->box_z << "\n"; - + finalOut << entry_plug->box_x << "\t" + << entry_plug->box_y << "\t" + << entry_plug->box_z << "\n"; + masterIndex = 0; for( i=0; i