Skip to content
Snippets Groups Projects
  1. Jul 06, 2015
    • Giovanni Bussi's avatar
      Changed message about undocumented components · e2cf3e09
      Giovanni Bussi authored
      I removed the sentence saying that 2.2 will crash.
      
      We should likely make it fail on travis-ci so that
      we remember to add the documentation, but I cannot
      do it know as one regtest basic/rt44b in v2.2
      would fail.
      e2cf3e09
  2. Aug 27, 2014
  3. Jun 25, 2014
  4. May 01, 2014
  5. Feb 03, 2014
    • Gareth Tribello's avatar
      Added component registering · fe95e57d
      Gareth Tribello authored
      All components now have to be registered in registerKeywords so that
      documentation on what componets are available in a given action are
      available in the manual.  Currently the code gives a warning if a user
      tries to use a component that is not properly described in the manual.
      In the future (v2.2) this warning will be replaced by an error.  That
      is to say you wont be allowed to use unregistered components.  This is
      all described more in #76
      fe95e57d
  6. Oct 09, 2013
  7. Aug 16, 2013
  8. Aug 07, 2013
  9. Apr 17, 2013
  10. Jan 25, 2013
  11. Jan 23, 2013
  12. Jan 16, 2013
  13. Dec 17, 2012
  14. Dec 06, 2012
  15. Nov 23, 2012
    • Giovanni Bussi's avatar
      Source tree reorganization · 07d51f5a
      Giovanni Bussi authored
      All the source code have been moved into subdirectories of src/
      Some of these subdirectories are treated in a special manner:
      src/wrapper contains the wrappers for MD codes
      src/main contains the main.cpp file
      src/config contains files generated without compilation,
        just based on configuration info
      src/lib is the place where executables and libraries are put
        at the end
      src/cltools contains the command line tools
      src/tools contains plumed tools (reusable classes)
      src/basic contains PlumedMain, Action hierarchy and other basic stuff
      src/multicolvar contains MultiColvar stuff
      src/imd is the interactive MD (still not totally portable).
      
      Notice that, to allow easy inclusion of .h files from other modules,
      I link all the directories in src/ into module directory. In this
      way it is possible e.g. to write #include "config/PlumedConfig.h"
      
      See src/README and src/basic/Makefile to understand how inter-module
      dependencies are set
      07d51f5a
  16. Nov 21, 2012
    • Gareth Tribello's avatar
      Added periodicity data to output in colvar and hills files · 1956fea2
      Gareth Tribello authored
      Periodicities of values are stored as strings inside Values.
      These strings are output as constant fields inside the colvar and
      hills files.  In addition the fact that we now use strings means that
      when you have a function and you have to specify its periodicity you can
      use PERIOD=-1.5pi,1.5pi or some other thing like that
      1956fea2
  17. Sep 19, 2012
  18. Jul 21, 2012
  19. Jul 20, 2012
  20. Jul 19, 2012
    • Giovanni Bussi's avatar
      License related stuff · d22394b4
      Giovanni Bussi authored
      I added a PEOPLE file containing list of authors and a script
      (src/header.sh) which applies the Licence to all the source files.
      
      It can be applies multiple times (it automatically deletes the present header
      and replace it with the new one). Thus, to change the header, edit header.sh
      and execute it.
      d22394b4
  21. Jul 04, 2012
  22. Jun 25, 2012
  23. May 04, 2012
    • Giovanni Bussi's avatar
      Optimization · f30409ec
      Giovanni Bussi authored
      Many checks on size() transformed in checks on empty()
      (suggested by cppcheck)
      f30409ec
  24. Mar 06, 2012
  25. Feb 25, 2012
  26. Feb 23, 2012
  27. Feb 10, 2012
    • Gareth Tribello's avatar
      Moved compulsory numerical derivatives into the registering of actions so that · 107daf4c
      Gareth Tribello authored
      this will appear in the manual
      107daf4c
    • Giovanni Bussi's avatar
      Classes which inherits from Action with public virtual · afb7ee01
      Giovanni Bussi authored
      should not call the Action::registerKeyword stuff.
      
      Indeed, since we stay on multiple inheritance, Action the keywords
      should be added by the daughter classes
      afb7ee01
    • Giovanni Bussi's avatar
      Added keyword registering functions to Action, ActionWithValue,... · 41c374dd
      Giovanni Bussi authored
      Added keyword registering functions to Action, ActionWithValue, ActionWithArguments and ActionSetup.
      Also added variables so that the keyword list can be passed to the Actions
      
      (merged from gat2-reorder branch)
      
      Added keyword registering to all the action classes listed below
      
      (merged from gat2-reorder branch)
      
      Added register keywords functions to all the classes below
      (merged from gat2-reorder branch)
      
      Fixed the registerKeywords routines in the committed subroutines
      
      Made sure colvar is adding keywords for numerical derivatives
      
      Oops... genericDebug should register keywords for action pilot.  It does now
      
      Added keyword registering for moving restraint
      
      Added keyword registering for NATURAL keyword
      
      COMPONENTS should have been registered as a flag and not an optional oops
      41c374dd
  28. Jan 04, 2012
  29. Jul 22, 2011
    • Giovanni Bussi's avatar
      Forbidding use of multiple values with unnamed values · 0f64bf2a
      Giovanni Bussi authored
      I forbid Actions to declare both an unnamed value and named values.
      In a far future, the action name alone will imply passing the full structure.
      Example:
      d1: DISTANCE ATOMS=1,2 COMPONENTS
      now only declared d1.x d1.y and d1.z, whereas d1 cannot be accessed
      directly as a value (since it is a complex structure that we cannot handle
      yet)
      0f64bf2a
  30. Jul 02, 2011
    • Giovanni Bussi's avatar
      Added possibility to enforce numerical derivatives · 29a3844f
      Giovanni Bussi authored
      There is a new method for colvars and function, enforceNumericalDerivatives(),
      which can be used in the constructor so as to enforce numerical derivatives.
      It should be added to complex colvars for which we do not want to implement
      numerical derivatives, or can be used at preliminary stage during CV
      implementation.
      
      I also added a check for colvar ENERGY, which cannot be done with
      numerical derivatives
      29a3844f
  31. Jun 28, 2011
    • Giovanni Bussi's avatar
      Numerical derivatives · 0bdf242a
      Giovanni Bussi authored
      Implementation is rather general and allows one to use them not only for debugging but also for real calculation. A keyword NUMERICAL_DERIVATIVES can be used in directives such as COLVARs or FUNCTIONs, and automatically performs numerical derivatives instead of analytical ones. Moreover, I added a DUMPDERIVATIVES directive which prints on a file the derivatives of the (ARG) colvars. E.g.:
      DISTANCE LABEL=C1 ATOMS=0,1 COMPONENTS
      DISTANCE LABEL=C1n ATOMS=0,1 COMPONENTS NUMERICAL_DERIVATIVES
      DUMPDERIVATIVES ARG=C1,C1n FILE=derivC1
      will define two CVs, with the same value, but one with analytical and the other with numerical derivatives, and will write two columns on file "derivC1" with the derivatives, which can be compared for debugging.
      
      BE CAREFUL: I did not test it with non-orthorombic cells, there may be problems in the virial components
      0bdf242a
  32. Jun 16, 2011
    • Giovanni Bussi's avatar
      Initial version · 4e6818a6
      Giovanni Bussi authored
      This is the draft version that I prepared and that we will use as
      a starting point. Still it is a bit dirty, and I will try to improve
      documentation and delete unused routines
      4e6818a6
Loading