cable_cell segment interface read-only (#889)
* Make access to `segment`s in a `cable_cell` read only * Change cell constructor to require morphology and label dictionary; `make_cable_cell` no longer required. * Consolidate paint/place functionality on `cable_cell`. * Add simple cell builder wrapping new API for use in unit tests. * Remove validation test code: appropriate validation tests will need to be implemented in nsuite. Fixes #871
Showing
- CMakeLists.txt 1 addition, 15 deletionsCMakeLists.txt
- arbor/cable_cell.cpp 156 additions, 225 deletionsarbor/cable_cell.cpp
- arbor/fvm_layout.cpp 2 additions, 2 deletionsarbor/fvm_layout.cpp
- arbor/include/arbor/cable_cell.hpp 25 additions, 39 deletionsarbor/include/arbor/cable_cell.hpp
- example/dryrun/branch_cell.hpp 124 additions, 0 deletionsexample/dryrun/branch_cell.hpp
- example/dryrun/dryrun.cpp 7 additions, 83 deletionsexample/dryrun/dryrun.cpp
- example/gap_junctions/gap_junctions.cpp 35 additions, 28 deletionsexample/gap_junctions/gap_junctions.cpp
- example/generators/generators.cpp 8 additions, 3 deletionsexample/generators/generators.cpp
- example/ring/branch_cell.hpp 124 additions, 0 deletionsexample/ring/branch_cell.hpp
- example/ring/ring.cpp 6 additions, 92 deletionsexample/ring/ring.cpp
- example/single/single.cpp 7 additions, 5 deletionsexample/single/single.cpp
- python/cells.cpp 28 additions, 11 deletionspython/cells.cpp
- sup/include/sup/json_params.hpp 2 additions, 0 deletionssup/include/sup/json_params.hpp
- test/CMakeLists.txt 0 additions, 4 deletionstest/CMakeLists.txt
- test/common_cells.hpp 96 additions, 186 deletionstest/common_cells.hpp
- test/unit/test_cable_cell.cpp 44 additions, 199 deletionstest/unit/test_cable_cell.cpp
- test/unit/test_cv_policy.cpp 7 additions, 7 deletionstest/unit/test_cv_policy.cpp
- test/unit/test_domain_decomposition.cpp 2 additions, 2 deletionstest/unit/test_domain_decomposition.cpp
- test/unit/test_event_delivery.cpp 8 additions, 2 deletionstest/unit/test_event_delivery.cpp
- test/unit/test_fvm_layout.cpp 81 additions, 96 deletionstest/unit/test_fvm_layout.cpp
Please register or sign in to comment