Allow dynamically creating and loading of mechanism catalogue (#1287)
First phase of dynamically loaded mechanism catalogues. - Add functionality to load and use catalogues from DSOs in Python and C++. - Add documentation and support scripts to build catalogues DSOs. - Re-factor CMakeLists.txt for mechanisms - Limitations - Needs (compatible, preferably identical) arbor sources when building catalogues - Can only work on MacOS and Linux (uses dlfnc)
Showing
- CMakeLists.txt 1 addition, 2 deletionsCMakeLists.txt
- arbor/arbexcept.cpp 13 additions, 0 deletionsarbor/arbexcept.cpp
- arbor/include/arbor/arbexcept.hpp 12 additions, 0 deletionsarbor/include/arbor/arbexcept.hpp
- arbor/include/arbor/mechcat.hpp 5 additions, 0 deletionsarbor/include/arbor/mechcat.hpp
- arbor/mechcat.cpp 28 additions, 0 deletionsarbor/mechcat.cpp
- cmake/CompilerOptions.cmake 17 additions, 0 deletionscmake/CompilerOptions.cmake
- cmake/arbor-config.cmake.in 7 additions, 0 deletionscmake/arbor-config.cmake.in
- doc/concepts/mechanisms.rst 21 additions, 7 deletionsdoc/concepts/mechanisms.rst
- doc/internals/extending-catalogues.rst 57 additions, 0 deletionsdoc/internals/extending-catalogues.rst
- mechanisms/BuildModules.cmake 78 additions, 0 deletionsmechanisms/BuildModules.cmake
- mechanisms/CMakeLists.txt 31 additions, 129 deletionsmechanisms/CMakeLists.txt
- mechanisms/generate_catalogue 11 additions, 1 deletionmechanisms/generate_catalogue
- python/example/cat/dummy.mod 54 additions, 0 deletionspython/example/cat/dummy.mod
- python/example/dynamic-catalogue.py 51 additions, 0 deletionspython/example/dynamic-catalogue.py
- python/mechanism.cpp 1 addition, 0 deletionspython/mechanism.cpp
- python/test/unit/runner.py 3 additions, 0 deletionspython/test/unit/runner.py
- python/test/unit/test_catalogues.py 91 additions, 0 deletionspython/test/unit/test_catalogues.py
- scripts/build-catalogue 111 additions, 0 deletionsscripts/build-catalogue
- test/unit/CMakeLists.txt 12 additions, 0 deletionstest/unit/CMakeLists.txt
- test/unit/dummy/dummy.mod 54 additions, 0 deletionstest/unit/dummy/dummy.mod
Please register or sign in to comment