Skip to content
Snippets Groups Projects
  1. Apr 23, 2015
    • Giovanni Bussi's avatar
      Implemented possibility to pass restart flag from MD · 38dca77a
      Giovanni Bussi authored
      Added a new cmd "setRestart" that allow setting restart
      from MD engine.
      
      This setting can be overridden by PLUMED using:
      RESTART
      or
      RESTART OFF
      to respectively switch on or off restart from PLUMED input.
      
      Notice that this would break compatibility in the sense that
      it would turn on restart automatically without the user
      specifying it.
      
      I increased the APIversion to 3 so that MD engines can
      check if PLUMED support this keyword before using it.
      
      This fixes #100
      38dca77a
  2. Dec 17, 2014
  3. Oct 21, 2014
    • Giovanni Bussi's avatar
      Implemented UPDATE_FROM and UPDATE_UNTIL · b29f8ace
      Giovanni Bussi authored
      When specified, the update() method is only invoked
      within this time range. This allows to perform some tasks
      in a single simulation, e.g.:
      Equilibration + Metadynamics + umbrella sampling refinement
      with analysis of the last part only.
      
      Currently this is an optional flag for all the actions.
      I am not sure this is a good idea (currently update() method
      is only used in some ActionPilot), since this will make
      the keyword appear in every manual page.
      However, since the update method is in principle available on all
      the actions I preferred to add these keywords everywhere.
      
      Fixes #65
      b29f8ace
  4. Aug 27, 2014
  5. Aug 04, 2014
    • Giovanni Bussi's avatar
      Further optimization with openmp · 5ac98d18
      Giovanni Bussi authored
      Now also looks for env vars:
      PLUMED_NUM_THREADS
      PLUMED_CACHELINE_SIZE
      
      (cherry picked from commit 9c8bb507446521ff03b4e6581a99c6d183a2ab54)
      
      Conflicts:
      	src/core/Atoms.cpp
      5ac98d18
    • Giovanni Bussi's avatar
      Added work accumulator to effective energy · a28158de
      Giovanni Bussi authored
      Work is correctly computed for METAD and MOVINGRESTRAINT, and subtracted
      to the effective energy drift
      
      (cherry picked from commit b450f1525a218e8181f3933779bb17e550384f61)
      
      Conflicts:
      	src/bias/MetaD.cpp
      a28158de
  6. Jun 25, 2014
  7. Jun 20, 2014
    • Giovanni Bussi's avatar
      Allows for KbT to be passed from MD code and used in METAD · 325a7345
      Giovanni Bussi authored
      I added the possibility to pass kbT from gromacs to plumed.
      To allow compatibility between old and new versions, I used the API
      number. Namely: gromacs checks that plumed API>1; if so, pass the
      temperature.
      
      KbT is only used in METAD so far (not in HISTOGRAM)
      
      Addresses #35
      325a7345
  8. Jun 11, 2014
  9. Apr 15, 2014
    • Giovanni Bussi's avatar
      Fixed plumed_cmd("getBias") · 39dcda46
      Giovanni Bussi authored
      Two bugs where there:
      1. It was only working with double precision MD codes
      2. It was returning energy in PLUMED units and not in MD ones
      
      Both are fixed now
      39dcda46
  10. Feb 26, 2014
  11. Jan 08, 2014
    • Giovanni Bussi's avatar
      Eliminate File::open(path,mode) · ada070d0
      Giovanni Bussi authored
      Mode is redundant since:
      * read or write can be decided depending if file is IFile or OFile
      * append/non-append is decided based on RESTART option
      ada070d0
  12. Nov 23, 2013
  13. Nov 13, 2013
  14. Oct 30, 2013
  15. Oct 16, 2013
  16. Oct 15, 2013
  17. Oct 09, 2013
  18. Sep 26, 2013
  19. Aug 30, 2013
    • Giovanni Bussi's avatar
      Fix · ff76ac65
      Giovanni Bussi authored
      cmd("useNaturalUnits") was erroneously crashing
      ff76ac65
  20. Jul 30, 2013
  21. Jul 28, 2013
  22. Jun 25, 2013
  23. Jun 04, 2013
  24. May 14, 2013
  25. May 06, 2013
  26. Apr 17, 2013
  27. Apr 16, 2013
  28. Mar 25, 2013
  29. Mar 22, 2013
  30. Mar 15, 2013
    • Giovanni Bussi's avatar
      Fixed bug with gromacs 4.6 and ENERGY · 928a2724
      Giovanni Bussi authored
      Energy was not calculated at every step. Now, gromacs ask to plumed
      whether energy is needed at that step and calculate it accordingly.
      
      I also updated the patch to 4.6.1
      928a2724
  31. Jan 25, 2013
    • Giovanni Bussi's avatar
      Fixed problem with log file · 47a8a418
      Giovanni Bussi authored
      When the log file is chosen by name (cmd("setLogFile"...))
      there was a problem due to an apparent double initialization
      of log file. Now, logfile is open when cmd("setLogFile"...)
      and, in case it is still not open when cmd("init") is called,
      it is opened to stdout
      47a8a418
  32. Jan 23, 2013
  33. Jan 18, 2013
  34. Jan 10, 2013
  35. Jan 03, 2013
  36. Dec 17, 2012
Loading