diff --git a/src/crop/almass.jl b/src/crop/almass.jl index 13b5087a610e4d5938b10ddccdbde6652c65abcf..f1f3f5a21fded2bd70e54542cc8cd7d058e2f58e 100644 --- a/src/crop/almass.jl +++ b/src/crop/almass.jl @@ -701,7 +701,8 @@ function stepagent!(cs::CropState, model::SimulationModel) cs.LAtotal = 1.1 * cs.LAgreen end - recalculate_bugs_n_stuff!(cs, model) + # Note: calls `VegElement::RecalculateBugsNStuff()` in the original ALMaSS code + recalculate_vegetation!(cs, model) # TODO ignored: ResetGeese() # TODO ignored: Deal with any possible unsprayed margin, transferring info as necessary @@ -729,7 +730,7 @@ end # Function in original ALMaSS code: # `void VegElement::RecalculateBugsNStuff(void)` from `Landscape/Elements.cpp`, line 1704 -function recalculate_bugs_n_stuff!(cs::CropState, model::SimulationModel) +function recalculate_vegetation!(cs::CropState, model::SimulationModel) # This is the heart of the dynamics of vegetation elements. It # calculates vegetation cover and uses this to determine # vegetation biomass. It also calculates spilled grain and goose