cropallocation.h 1.0 KB

1234567891011121314151617181920
  1. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  2. /// \file cropallocation.h
  3. /// \brief Crop allocation and growth
  4. /// \author Mats Lindeskog
  5. /// $Date: 2018-02-02 18:01:35 +0100 (ven, 02 fév 2018) $
  6. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  7. #ifndef LPJ_GUESS_CROPALLOCATION_H
  8. #define LPJ_GUESS_CROPALLOCATION_H
  9. /// Updates patch members fpc_total and fpc_rescale for crops (to be called after crop_phenology())
  10. void update_patch_fpc(Patch& patch);
  11. /// Handles daily crop allocation and daily lai calculation
  12. void growth_daily(Patch& patch);
  13. /// Updates yearly lai and fpc for cropland
  14. void allometry_crop(Individual& indiv);
  15. /// Transfer of this year's growth (ycmass_xxx) to cmass_xxx_inc in growth()
  16. void growth_crop_year(Individual& indiv, double& cmass_leaf_inc,double& cmass_root_inc,double& cmass_ho_inc,double& cmass_agpool_inc, double& cmass_stem_inc);
  17. #endif // LPJ_GUESS_CROPALLOCATION_H