-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR rectifies a long-standing issue since the introduction of `decor`: CV discretization was treated as a defaultable value instead of a cell property, along with bio-physical properties. This lead to some awkward facts: - Intermingling of bio-physics and numerical settings - Discretization is treated like a default without override. - Discretization cannot be changed once set, e.g. if read from `.acc`, requiring the copy+update of a decor instead Thus: - Discretization can now be set during `cable_cell` construction - It can be read and updated later - Refactor `cv_policy` to use type erasure like other, similar constructions, e.g. schedules. - Hide internal `cv_policy` constructors.⚠️ Breaks `.acc` by upgrading from 0.9 to 0.10⚠️ Closes #1408 --------- Co-authored-by: boeschf <[email protected]>
- Loading branch information
1 parent
7d1f82e
commit 76120d1
Showing
69 changed files
with
689 additions
and
692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.