Skip to content
Snippets Groups Projects
  1. Nov 10, 2018
  2. Nov 09, 2018
  3. Nov 08, 2018
  4. Nov 07, 2018
  5. Nov 05, 2018
  6. Nov 03, 2018
  7. Nov 02, 2018
    • Giovanni Bussi's avatar
      Fixed warning · c44feea7
      Giovanni Bussi authored
      c44feea7
    • Giovanni Bussi's avatar
      Better support for exceptions and mixed compilers · 194bef90
      Giovanni Bussi authored
      I added a plumed_cmd_nothrow function to the interface, that is used from
      C++. This allows better support for mixed compilers (e.g. MD code and PLUMED
      compiled with different compilers or linked against different std libraries).
      
      Notice that I tried in the past to achieve the same using cmd("setErrorHandler"),
      but this does not work correctly with some combination of compilers.
      In addition, it implies throwing from a extern "C" function, which is not standard
      and might lead to portability issues.
      
      The plumed_cmd_nothrow implementation catches any exception raised within plumed,
      converts it to an error code, and rethrows it within the MD code. This approach
      should be more robust.
      194bef90
    • Giovanni Bussi's avatar
      c3305ba4
    • Giovanni Bussi's avatar
      08a8594c
  8. Oct 31, 2018
  9. Oct 29, 2018
  10. Oct 28, 2018
  11. Oct 24, 2018
  12. Oct 23, 2018
Loading