9#ifndef LM_OUTPUT_GGCMI_SEASONAL_H_NEW_
10#define LM_OUTPUT_GGCMI_SEASONAL_H_NEW_
12#include "mbe_legacyoutputmodel.h"
13#include "state/mbe_state.h"
15#define LMOD_OUTPUT_MODULE_BASE MBE_LegacyOutputModel
16#define LMOD_OUTPUT_MODULE_NAME OutputGgcmiSeasonal
17#define LMOD_OUTPUT_MODULE_ID "output:ggcmi:seasonal"
18#define LMOD_OUTPUT_MODULE_DESC "GGCMI Seasonal Output"
20class substate_microclimate_t;
21class substate_physiology_t;
22class substate_watercycle_t;
23class LDNDC_API LMOD_OUTPUT_MODULE_NAME :
public LMOD_OUTPUT_MODULE_BASE
25 LMOD_EXPORT_MODULE_INFO(LMOD_OUTPUT_MODULE_NAME,LMOD_OUTPUT_MODULE_ID,LMOD_OUTPUT_MODULE_DESC);
27 LMOD_OUTPUT_MODULE_NAME(
30 timemode_e _timemode);
32 ~LMOD_OUTPUT_MODULE_NAME();
35 lerr_t configure( ldndc::config_file_t
const *);
43 lerr_t wake() {
return LDNDC_ERR_OK; }
44 lerr_t sleep() {
return LDNDC_ERR_OK; }
51 cbm::io_kcomm_t * io_kcomm;
53 input_class_soillayers_t
const * soillayers_in;
55 substate_physiology_t
const * phys;
56 substate_soilchemistry_t
const * soilchem;
57 substate_watercycle_t
const * water;
58 MoBiLE_PlantVegetation * m_veg;
61 ldndc::sink_handle_t m_sink;
63 struct output_ggcmi_daily_acc_t
70 double nh4_throughfall;
71 double no3_throughfall;
79 double co2_emis_hetero;
91 double interceptionevaporation;
92 double soilevaporation;
93 double surfacewaterevaporation;
97 output_ggcmi_daily_acc_t acc;
98 void pop_accumulated_outputs();
99 void push_accumulated_outputs();
101 struct output_ggcmi_seasonal_acc_t
108 double nh4_throughfall;
109 double no3_throughfall;
116 double co2_emis_auto;
117 double co2_emis_hetero;
128 double transpiration;
130 double interceptionevaporation;
131 double soilevaporation;
132 double surfacewaterevaporation;
136 output_ggcmi_seasonal_acc_t acc_seas;
138 void reset_seasonal_outputs();
139 void update_seasonal_outputs();
145 int planting_yearday;
146 int anthesis_yearday;
156#undef LMOD_OUTPUT_MODULE_BASE
157#undef LMOD_OUTPUT_MODULE_NAME
158#undef LMOD_OUTPUT_MODULE_ID
159#undef LMOD_OUTPUT_MODULE_DESC
Spatially explicit groundwater model.
Definition: airchemistryput.h:15