traitecoevo / plant

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

Decouple `plant.h` and strategies #254

Open aornugent opened 4 years ago

aornugent commented 4 years ago

Implementing K93 I found a few functions that were called by other files (often plant.h) but not used.

I imagine they're important to keep, but naively wondered whether they can be stored elsewhere and only altered as needed.

aornugent commented 4 years ago

I also wondered whether things like state_size could be moved to the private methods of a strategy to improve readability of models (by clearly being separate, isolated methods).