The primary task of the define_canopy subroutine is to determine the surface energy balance and other fluxes at that time. (As a legacy) The subroutine also increments the state variable canopy%cansto.
For code management purposes, and in particular development of ACCESS, it would be appropriate to move the time stepping of %cansto (and any other remaining prognostic variables) out of define_canopy into its own subroutine and call that subroutine from cbm as appropriate.
This would require multiple changes within the cable_cbm, cable_canopy and the ACCESS coupling routines cable_explicit and cable_implicit.
Issue migrated from trac:175 at 2023-11-27 11:23:51 +1100
keyword_keepgit
type_code improvement
| by inh599The primary task of the define_canopy subroutine is to determine the surface energy balance and other fluxes at that time. (As a legacy) The subroutine also increments the state variable canopy%cansto.
For code management purposes, and in particular development of ACCESS, it would be appropriate to move the time stepping of %cansto (and any other remaining prognostic variables) out of define_canopy into its own subroutine and call that subroutine from cbm as appropriate.
This would require multiple changes within the cable_cbm, cable_canopy and the ACCESS coupling routines cable_explicit and cable_implicit.
Issue migrated from trac:175 at 2023-11-27 11:23:51 +1100