Skip to content
Snippets Groups Projects
  1. Apr 25, 2017
  2. Apr 21, 2017
  3. Jul 29, 2016
    • Giovanni Bussi's avatar
      Fixed include order · 836d4ade
      Giovanni Bussi authored
      Given header file.h, it is good practice to have a file file.cpp
      that includes it as first header.
      
      I just fix the order of includes here. There are still several
      headers which do not have a corresponding cpp file, and also
      a few that are not included anywhere (which is obviosuly an error).
      
      I will fix them in a later commit.
      836d4ade
  4. May 08, 2016
  5. Mar 18, 2016
  6. Feb 01, 2016
    • Giovanni Bussi's avatar
      Added Barrier · c9e9c366
      Giovanni Bussi authored
      This barrier is apparently useless since it comes
      just before a Bcast.
      
      Anyway, it looks like it is solving an issue that appeared on
      TRAVIS (at least on my laptop) so I add it here.
      
      Related to #183
      c9e9c366
  7. Jan 08, 2016
  8. Jun 08, 2015
  9. Feb 06, 2015
    • Giovanni Bussi's avatar
      Improved file tools · a09f101f
      Giovanni Bussi authored
      It is now possible to enforce the suffix of a file.
      Additionally, there is a check so that files named "/dev/null"
      are not added any suffix nor backed up.
      
      These changes are useful to implement single-file multiple walkers
      a09f101f
  10. Jan 27, 2015
  11. Jan 24, 2015
    • Giovanni Bussi's avatar
      Per action restart · 77573a0e
      Giovanni Bussi authored
      Allow individual action to set restart, using RESTART=YES or
      RESTART=NO. By default, RESTART=AUTO, that means that global
      restart settings are used.
      
      Notice that this required to change the way OFile knows about
      restart. Indeed, if the file is linked to an action,
      it should use Action::getRestart instead of PlumedMain::getRestart.
      77573a0e
  12. Oct 27, 2014
  13. Aug 27, 2014
  14. Jun 25, 2014
  15. Apr 07, 2014
  16. Jan 13, 2014
  17. Jan 08, 2014
  18. Dec 16, 2013
    • Toni G's avatar
      Fix in backup output files · fe97fbb9
      Toni G authored
      (thanks to Toni Giorgino)
      
      I fixed a missing include.
      
      Original comment:
      Fixes in backup output files - cant rename open file under windows - print reason for failure - remove leak of FILE*s
      
      (cherry picked from commit 448e84fc)
      fe97fbb9
  19. Dec 13, 2013
    • Toni G's avatar
      Fix in backup output files · 448e84fc
      Toni G authored
      (thanks to Toni Giorgino)
      
      I fixed a missing include.
      
      Original comment:
      Fixes in backup output files - cant rename open file under windows - print reason for failure - remove leak of FILE*s
      448e84fc
  20. Oct 09, 2013
  21. Sep 12, 2013
  22. Aug 30, 2013
    • Giovanni Bussi's avatar
      Optimized OFile · 43374a25
      Giovanni Bussi authored
      Removed many scans of the output buffer by keeping trace of buffer length.
      Time needed to write a long line with a sequence of file.printf() is
      now linear with line length. Before it was quatradic, causing problems
      especially when logging huge atom lists at startup.
      43374a25
  23. Aug 25, 2013
  24. Jul 26, 2013
    • Gareth Tribello's avatar
      Better backup of old files in analysis routines · 8e59fbec
      Gareth Tribello authored
      In analysis runs results from previous analysis are saved as
      analysis.0.<filename>, analysis.1.<filename> etc.  If the calculation
      is NOT restarted and there are files with these names hanging about they are
      renamed bck.0.analysis.0.<filename> bck.0.analysis.1.<filename> etc.
      8e59fbec
  25. Jul 24, 2013
    • Gareth Tribello's avatar
      Removed clash in OFile in previous commit. · f7e0f3df
      Gareth Tribello authored
      Having the backup string specified in OFile::open leads to clashes
      with the routine that sets open using w+, w, rw etc.  It is thus changed
      so that you can set the backup string to use with a separate method in the class
      f7e0f3df
    • Gareth Tribello's avatar
      Fixed small things in analysis · 73ed75ec
      Gareth Tribello authored
      Made it so that virtual routine is not called from constructor.  If the calculation
      is terminated during the analysis phase then the analysis is now restarted when
      the calculation reaches update on the first loop.  I also removed the duplicated
      backup code that was in analysis.  Backup is now done by the routines in OFile.
      This routine is now a little more flexible in that you can specify the string
      in the backup name.
      73ed75ec
  26. Jul 23, 2013
  27. Jun 21, 2013
  28. Apr 17, 2013
  29. Dec 17, 2012
Loading