9#ifndef LM_OUTPUT_GGCMI_DAILY_H_NEW_
10#define LM_OUTPUT_GGCMI_DAILY_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 OutputGgcmiDaily
17#define LMOD_OUTPUT_MODULE_ID "output:ggcmi:daily"
18#define LMOD_OUTPUT_MODULE_DESC "GGCMI Daily 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
69 double nh4_throughfall;
70 double no3_throughfall;
78 double co2_emis_hetero;
90 double interceptionevaporation;
91 double soilevaporation;
92 double surfacewaterevaporation;
95 double surface_waterflux;
97 output_ggcmi_daily_acc_t acc;
98 void pop_accumulated_outputs();
99 void push_accumulated_outputs();
104#undef LMOD_OUTPUT_MODULE_BASE
105#undef LMOD_OUTPUT_MODULE_NAME
106#undef LMOD_OUTPUT_MODULE_ID
107#undef LMOD_OUTPUT_MODULE_DESC
Spatially explicit groundwater model.
Definition: airchemistryput.h:15