Skip to content
Snippets Groups Projects
  1. Jul 31, 2017
  2. Apr 12, 2017
  3. Mar 16, 2017
  4. Mar 07, 2017
  5. Mar 05, 2017
  6. Nov 19, 2016
  7. Oct 27, 2016
  8. Oct 18, 2016
  9. Oct 12, 2016
  10. Oct 04, 2016
  11. Sep 27, 2016
  12. Sep 23, 2016
  13. Sep 21, 2016
  14. Sep 20, 2016
  15. Sep 17, 2016
  16. Sep 16, 2016
  17. Sep 14, 2016
  18. Sep 01, 2016
  19. Aug 31, 2016
  20. Aug 30, 2016
  21. Aug 24, 2016
    • Richard Berger's avatar
      Implemented optional C++ exceptions in Error class · e5c37bc7
      Richard Berger authored
      These can be activated using the -DLAMMPS_EXCEPTIONS compiler flag.
      It has no effect for regular execution. However, while using
      it as a library, any issued command will capture the exception
      and save its error message. This can be queried using the
      lammps_has_error() and lammps_get_last_error_message() methods.
      
      The Python wrapper checks these in order to rethrow these errors
      as Python exceptions. See issue #146.
      
      (cherry picked from commit 6c154bb0b67a13d38968bc42d31013b97f87db75)
      e5c37bc7
Loading