[root]/branches/budaev/STOMACH_globalarrays
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
sbu062 | 20 (100.0%) | 348 (100.0%) | 17.4 |
temporary work branch for refactoring deleted
0 lines of code changed in 3 files:
debug print code deleted, reverted to r10766 not touching added output arrays definitions
0 lines of code changed in 1 file:
move definition of global output arrays back to `SIMULATE` module, no reference to globals is needed in `THE_FISH`. This reverts r10677
41 lines of code changed in 2 files:
only comment on cumulative versus instantaneous absorption use to calculate cumulative absorption
4 lines of code changed in 1 file:
debug: only debug print code
30 lines of code changed in 1 file:
iadded current instantaneous absorption to history stack array, so it is now possible to correctly calculate absorption rate without requiring global output arrays in `THE_FISH` module; call (midgut_fish_history_update) moved below (check_disappear) call, fixes wrong cumulative absorption history update before checking for disappearing item
41 lines of code changed in 1 file:
(fish_midgut_update_from_stomach) is declared *impure* but could be converted to `pure` if `write` statements are deleted
1 lines of code changed in 1 file:
block `UPDATE_HISTORY_ABSORP` isolated to subroutine (midgut_fish_history_update)
38 lines of code changed in 1 file:
block UPDATE_HISTORY_ABSORP updates history stack array for cimulative absorption
37 lines of code changed in 1 file:
debug: debug code only
0 lines of code changed in 2 files:
added history array subcomponent to FISH_SKEL, this will include history arrays, done and init cumulative absorption so far
24 lines of code changed in 1 file:
got back output arrays to COMMONDATA because it is difficult to implement FISH class component transfer to IF_CMD and IF_GUI without `this` argument, need smaller history arrays subcomponent in FISH class; history array management code copied from AHA: (add_to_history)
132 lines of code changed in 1 file:
definitions of output arrays moved to THE_FISH module to integrate with FISH class
0 lines of code changed in 4 files: