commonoutput.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. ///////////////////////////////////////////////////////////////////////////////////////
  2. /// \file commonoutput.h
  3. /// \brief Output module for the most commonly needed output files
  4. ///
  5. /// \author Joe Siltberg
  6. /// $Date: 2018-08-21 09:29:22 +0200 (mar, 21 aoû 2018) $
  7. ///
  8. ///////////////////////////////////////////////////////////////////////////////////////
  9. #ifndef LPJ_GUESS_COMMON_OUTPUT_H
  10. #define LPJ_GUESS_COMMON_OUTPUT_H
  11. #include "outputmodule.h"
  12. #include "outputchannel.h"
  13. #include "gutil.h"
  14. namespace GuessOutput {
  15. /// Output module for the most commonly needed output files
  16. class CommonOutput : public OutputModule {
  17. public:
  18. CommonOutput();
  19. ~CommonOutput();
  20. // implemented functions inherited from OutputModule
  21. // (see documentation in OutputModule)
  22. void init();
  23. void outannual(Gridcell& gridcell);
  24. void outdaily(Gridcell& gridcell);
  25. private:
  26. /// Defines all output tables
  27. void define_output_tables();
  28. // Output file names ...
  29. xtring file_cmass,file_anpp,file_agpp,file_fpc,file_aaet,file_dens,file_lai,file_cflux,file_doc,file_cpool,file_clitter,file_runoff;
  30. xtring file_mnpp,file_mlai,file_mgpp,file_mra,file_maet,file_mpet,file_mevap,file_mrunoff,file_mintercep,file_mrh;
  31. xtring file_mnee,file_mwcont_upper,file_mwcont_lower;
  32. xtring file_firert,file_speciesheights;
  33. // bvoc
  34. xtring file_aiso, file_miso, file_amon, file_mmon, file_amon_mt1, file_amon_mt2, file_mmon_mt1, file_mmon_mt2;
  35. // nitrogen
  36. xtring file_nmass, file_cton_leaf, file_nsources, file_npool, file_nlitter, file_nuptake, file_vmaxnlim, file_nflux, file_ngases;
  37. xtring file_wflux, file_wpool;
  38. // Output tables
  39. Table out_cmass, out_anpp, out_agpp, out_fpc, out_aaet, out_dens, out_lai, out_cflux, out_doc, out_cpool, out_clitter, out_firert, out_runoff, out_speciesheights;
  40. Table out_mnpp, out_mlai, out_mgpp, out_mra, out_maet, out_mpet, out_mevap, out_mrunoff, out_mintercep;
  41. Table out_mrh, out_mnee, out_mwcont_upper, out_mwcont_lower;
  42. // bvoc
  43. Table out_aiso, out_miso, out_amon, out_mmon, out_amon_mt1, out_amon_mt2, out_mmon_mt1, out_mmon_mt2;
  44. Table out_nmass, out_cton_leaf, out_nsources, out_npool, out_nlitter, out_nuptake, out_vmaxnlim, out_nflux, out_ngases;
  45. Table out_wflux, out_wpool;
  46. };
  47. }
  48. #endif // LPJ_GUESS_COMMON_OUTPUT_H