-
- Downloads
There was an error fetching the commit references. Please try again later.
Allow remapping exceptions.
When using the C++ interface, this change remaps exception within plumed to a class that inherits from std::runtime_error. This allows them to be catched also from an MD code linked to a different C++ library. I also removed some cpp options, I think it is better to enforce exceptions to be managed in this way.
Showing
- regtest/basic/rt-make-exceptions/main.cpp 4 additions, 4 deletionsregtest/basic/rt-make-exceptions/main.cpp
- src/core/PlumedMain.cpp 12 additions, 1 deletionsrc/core/PlumedMain.cpp
- src/core/PlumedMain.h 21 additions, 0 deletionssrc/core/PlumedMain.h
- src/core/PlumedMainInitializer.cpp 10 additions, 1 deletionsrc/core/PlumedMainInitializer.cpp
- src/wrapper/Plumed.h 102 additions, 48 deletionssrc/wrapper/Plumed.h
Loading
Please register or sign in to comment