You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default method works well, but we might be able to improve the performance if we can make use of the fact that the root is likely to be much closer to the upper bound (the previously closed layer) than the lower bound (the ground).
The text was updated successfully, but these errors were encountered:
Actually, it might be more effective to set the lower bound - we know the number of stems and crown areas of each cohort and the vertical height of maximum crown area ($z_{max}$), so can determine some known heights where a particular community crown area has to be filled.
It's probably a tiny runtime saving but in simulation this routine will be called a lot.
The closure heights of the canopy layers in
pyrealm.demography.canopy.Canopy
are found by using a root solver:pyrealm/pyrealm/demography/canopy.py
Lines 69 to 86 in d4f2426
The default method works well, but we might be able to improve the performance if we can make use of the fact that the root is likely to be much closer to the upper bound (the previously closed layer) than the lower bound (the ground).
The text was updated successfully, but these errors were encountered: