Skip to content
Snippets Groups Projects
  1. Feb 26, 2016
  2. Feb 01, 2016
  3. Jan 29, 2016
    • Giovanni Bussi's avatar
      Improved cmd map · df9372d3
      Giovanni Bussi authored
      map is now a global static object
      df9372d3
    • Giovanni Bussi's avatar
      Improve cmd interpreter · 7a0fb400
      Giovanni Bussi authored
      Enum list and word map are now generated with a script.
      
      To add a new command it is sufficient to add a case command as:
      
      case PIPPO: // cmd pippo
      
      It is related to #182, though I let the issue open since I think
      we should automatize also the cmd documentation.
      7a0fb400
  4. Jan 27, 2016
  5. Jan 21, 2016
  6. Jan 20, 2016
  7. Jan 08, 2016
  8. Jan 05, 2016
    • Giovanni Bussi's avatar
      Added units for masses and charges · 7d48a57c
      Giovanni Bussi authored
      I added the possibility to personalize charge and mass units
      in the same way as length, energy, and time units were treated so far.
      
      Notice that since two new cmd() strings have been added to set
      units from an MD code, it is necessary to increase the API version
      to 4.
      
      I also added the appropriate developer documentation.
      
      Fixes #179
      7d48a57c
  9. Oct 16, 2015
    • Giovanni Bussi's avatar
      UPDATE_IF · 97c17413
      Giovanni Bussi authored
      Add a UPDATE_IF keyword. This keyword start a block
      that is conditionally updated depending on the value
      of its ARGuments.
      
      Closes #38
      97c17413
    • Giovanni Bussi's avatar
      Added stack of update flags · 1ff83dde
      Giovanni Bussi authored
      This should allow for an easy implementation of UPDATE_IF
      1ff83dde
  10. Jun 07, 2015
  11. May 14, 2015
  12. 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
  13. Dec 17, 2014
  14. 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
  15. Aug 27, 2014
  16. 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
  17. Jun 25, 2014
  18. 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
  19. Jun 11, 2014
  20. 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
  21. Feb 26, 2014
  22. 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
  23. Nov 23, 2013
  24. Nov 13, 2013
  25. Oct 30, 2013
Loading