growth.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. ///////////////////////////////////////////////////////////////////////////////////////
  2. /// \file growth.h
  3. /// \brief The growth module header file
  4. ///
  5. /// Vegetation C allocation, litter production, tissue turnover
  6. /// leaf phenology, allometry and growth.
  7. ///
  8. /// \author Ben Smith
  9. /// $Date: 2018-02-02 18:01:35 +0100 (Fri, 02 Feb 2018) $
  10. ///
  11. ///////////////////////////////////////////////////////////////////////////////////////
  12. // WHAT SHOULD THIS FILE CONTAIN?
  13. // Module header files need normally contain only declarations of functions defined in
  14. // the module that are to be accessible to the calling framework or to other modules.
  15. #ifndef LPJ_GUESS_GROWTH_H
  16. #define LPJ_GUESS_GROWTH_H
  17. #include "guess.h"
  18. double fracmass_lpj(double fpc_low,double fpc_high,Individual& indiv);
  19. void leaf_phenology(Patch& patch,Climate& climate);
  20. bool allometry(Individual& indiv); // guess2008 - now returns bool instead of void
  21. void allocation_init(double bminit,double ltor,Individual& indiv);
  22. void growth(Stand& stand,Patch& patch);
  23. void turnover(double turnover_leaf, double turnover_root, double turnover_sap,
  24. lifeformtype lifeform, landcovertype landcover, double& cmass_leaf, double& cmass_root, double& cmass_sap,
  25. double& cmass_heart, double& nmass_leaf, double& nmass_root, double& nmass_sap,
  26. double& nmass_heart, double& litter_leaf, double& litter_root,
  27. double& nmass_litter_leaf, double& nmass_litter_root,
  28. double& longterm_nstore, double &max_n_storage,
  29. bool alive);
  30. #endif // LPJ_GUESS_GROWTH_H