Prepare for allowing multiple crop models in one simulation
- each crop model must implement types `CropType <: AbstractCropType` and `CropState <: AbstractCropState` - `AgricultureModel` and `FarmPlot` are not parametrised structs anymore to allow for different crop models active in one simulation
Showing
- src/Persefone.jl 16 additions, 0 deletionssrc/Persefone.jl
- src/core/simulation.jl 6 additions, 6 deletionssrc/core/simulation.jl
- src/crop/almass.jl 4 additions, 2 deletionssrc/crop/almass.jl
- src/crop/aquacrop.jl 4 additions, 2 deletionssrc/crop/aquacrop.jl
- src/crop/cropmodels.jl 1 addition, 7 deletionssrc/crop/cropmodels.jl
- src/crop/farmplot.jl 10 additions, 10 deletionssrc/crop/farmplot.jl
- src/crop/simplecrop.jl 4 additions, 2 deletionssrc/crop/simplecrop.jl
- test/crop_tests.jl 3 additions, 3 deletionstest/crop_tests.jl
- test/runtests.jl 1 addition, 1 deletiontest/runtests.jl
Loading
Please register or sign in to comment