-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor how intracellular updates are handled
- first do all pre updates, then all updates, then all post updates - this ensures that any changes manifested in updates/post-updates are not immediately visible to the pre-updates of other cells - with the more verbose logic controlling intracellular updates, make a separate function to handle it - in that function, encode directly dependence on `diffusion_dt` rather than the argument `diffusion_dt_` - `initialzed` used to determine when to call `intracellular` rather than passed in - if after first looping over all cells, none were found to require intracellular updates, then return early
- Loading branch information
Showing
2 changed files
with
47 additions
and
19 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