Implement exact sampling for cable cells. (#1046)
Fixes #1037. * Add fake unmatchable spike events to event queue for each exact sample request, so that integration boundaries align with exact sample times. * Update probe-demo for exact sampling. * Add copy assignment for `cable_cell`. * Extend max args for ARB_PP_FOREACH to 20. * Add unit test for ARB_PP_FOREACH. * Use ARB_PP_FOREACH to instantiate backend-specific probe unit tests. This also fixes the GPU probe tests that were using multicore backend. * Add unit test that exercises exact sampling requests combined with regular events in a gap junction context.
Showing
- arbor/include/arbor/cable_cell.hpp 6 additions, 4 deletionsarbor/include/arbor/cable_cell.hpp
- arbor/include/arbor/sampling.hpp 1 addition, 2 deletionsarbor/include/arbor/sampling.hpp
- arbor/include/arbor/util/pp_util.hpp 14 additions, 4 deletionsarbor/include/arbor/util/pp_util.hpp
- arbor/mc_cell_group.cpp 33 additions, 6 deletionsarbor/mc_cell_group.cpp
- arbor/sampler_map.hpp 1 addition, 0 deletionsarbor/sampler_map.hpp
- doc/sampling_api.rst 18 additions, 6 deletionsdoc/sampling_api.rst
- example/probe-demo/probe-demo.cpp 8 additions, 3 deletionsexample/probe-demo/probe-demo.cpp
- test/unit/CMakeLists.txt 1 addition, 0 deletionstest/unit/CMakeLists.txt
- test/unit/test_pp_util.cpp 23 additions, 0 deletionstest/unit/test_pp_util.cpp
- test/unit/test_probe.cpp 260 additions, 203 deletionstest/unit/test_probe.cpp
Please register or sign in to comment