traitecoevo / plant

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

Add environment component classes #212

Closed rafaqz closed 4 years ago

rafaqz commented 4 years ago

Environment would be built from templated components that can be composed to create a specific set of behaviours:

These would all be available for calculating assimilation and used or not depending on the Strategy class.

rafaqz commented 4 years ago

compute_environment would be run on each component. The tricky part will be dividing up the state vector between components.

dfalster commented 4 years ago

Addressed via #235