Add typed-map interface/implementation for paint/place. (#929)
Builds on PR #918 Prepare public API on `cable_cell` for substitution of discretization implementation in `fvm_layout`. * Add `mcable_map` for representing cable-wise constant data on a morphology. * Paint cell ion initial values and physical properties by specific setter types, replacing use of `cable_cell_local_parameter_set`. * Allow cell default ion/physical properties to be set via same setter types, which set corresponding fields in cell's `default_parameters` field. * Store placed/painted items each in a `static_typed_map` object in the cable cell implementation class; provide public access method to typed maps.
Showing
- arbor/cable_cell.cpp 90 additions, 111 deletionsarbor/cable_cell.cpp
- arbor/cable_cell_param.cpp 13 additions, 8 deletionsarbor/cable_cell_param.cpp
- arbor/fvm_layout.cpp 30 additions, 20 deletionsarbor/fvm_layout.cpp
- arbor/fvm_lowered_cell_impl.hpp 5 additions, 5 deletionsarbor/fvm_lowered_cell_impl.hpp
- arbor/include/arbor/cable_cell.hpp 94 additions, 24 deletionsarbor/include/arbor/cable_cell.hpp
- arbor/include/arbor/cable_cell_param.hpp 51 additions, 28 deletionsarbor/include/arbor/cable_cell_param.hpp
- arbor/include/arbor/morph/mcable_map.hpp 122 additions, 0 deletionsarbor/include/arbor/morph/mcable_map.hpp
- arbor/include/arbor/segment.hpp 1 addition, 1 deletionarbor/include/arbor/segment.hpp
- arbor/include/arbor/util/typed_map.hpp 83 additions, 0 deletionsarbor/include/arbor/util/typed_map.hpp
- test/unit/CMakeLists.txt 1 addition, 0 deletionstest/unit/CMakeLists.txt
- test/unit/test_fvm_layout.cpp 3 additions, 10 deletionstest/unit/test_fvm_layout.cpp
- test/unit/test_mcable_map.cpp 109 additions, 0 deletionstest/unit/test_mcable_map.cpp
- test/unit/test_synapses.cpp 10 additions, 11 deletionstest/unit/test_synapses.cpp
Please register or sign in to comment