Move current clamps to shared state. (#1407)
* Change implementation of current clamp from a builtin mechanism to functionality provided by the back-end shared state classes. * Extend clamp functionality to cover more use cases: it now supports DC and AC stimuli governed by a piecewise-linear envelope. * Update Python iclamp wrapper to suit; add unit test. * Account for total applied stimulus currents separately, and remove their contribution to the reported transmembrane current and ionic (i.e. non-capacitive) transmembrane current. * Add new probe specifically for tracking total current stimulus in a cell. * Update docs, and add an entry for current clamps to the concepts doc. * Remove entirely the builtin catalogue.
Showing
- arbor/CMakeLists.txt 0 additions, 3 deletionsarbor/CMakeLists.txt
- arbor/backends/builtin_mech_proto.hpp 0 additions, 35 deletionsarbor/backends/builtin_mech_proto.hpp
- arbor/backends/gpu/hip_api.hpp 1 addition, 1 deletionarbor/backends/gpu/hip_api.hpp
- arbor/backends/gpu/math_cu.hpp 12 additions, 2 deletionsarbor/backends/gpu/math_cu.hpp
- arbor/backends/gpu/shared_state.cpp 87 additions, 0 deletionsarbor/backends/gpu/shared_state.cpp
- arbor/backends/gpu/shared_state.cu 1 addition, 1 deletionarbor/backends/gpu/shared_state.cu
- arbor/backends/gpu/shared_state.hpp 43 additions, 1 deletionarbor/backends/gpu/shared_state.hpp
- arbor/backends/gpu/stimulus.cpp 0 additions, 63 deletionsarbor/backends/gpu/stimulus.cpp
- arbor/backends/gpu/stimulus.cu 46 additions, 17 deletionsarbor/backends/gpu/stimulus.cu
- arbor/backends/gpu/stimulus.hpp 19 additions, 6 deletionsarbor/backends/gpu/stimulus.hpp
- arbor/backends/gpu/threshold_watcher.cu 2 additions, 8 deletionsarbor/backends/gpu/threshold_watcher.cu
- arbor/backends/multicore/shared_state.cpp 103 additions, 2 deletionsarbor/backends/multicore/shared_state.cpp
- arbor/backends/multicore/shared_state.hpp 38 additions, 3 deletionsarbor/backends/multicore/shared_state.hpp
- arbor/backends/multicore/stimulus.cpp 0 additions, 68 deletionsarbor/backends/multicore/stimulus.cpp
- arbor/builtin_mechanisms.cpp 0 additions, 35 deletionsarbor/builtin_mechanisms.cpp
- arbor/builtin_mechanisms.hpp 0 additions, 9 deletionsarbor/builtin_mechanisms.hpp
- arbor/fvm_layout.cpp 35 additions, 9 deletionsarbor/fvm_layout.cpp
- arbor/fvm_layout.hpp 19 additions, 0 deletionsarbor/fvm_layout.hpp
- arbor/fvm_lowered_cell.hpp 23 additions, 1 deletionarbor/fvm_lowered_cell.hpp
- arbor/fvm_lowered_cell_impl.hpp 74 additions, 11 deletionsarbor/fvm_lowered_cell_impl.hpp
Please register or sign in to comment