traitecoevo / plant

Trait-Driven Models of Ecology and Evolution :evergreen_tree:
https://traitecoevo.github.io/plant
53 stars 20 forks source link

TF24 hydraulics: Move `resource_depletion` vector sizing to Patch constructor #373

Open aornugent opened 1 year ago

aornugent commented 1 year ago

We noticed this is resizing a vector more than it should. We expect resource depletion to be constant for a given environment, equal to the number of soil layers (or other environment ODE variable).