14#ifndef LM_OUTPUT_GGCMI_DAILY_H_NEW_
15#define LM_OUTPUT_GGCMI_DAILY_H_NEW_
17#include "mbe_legacyoutputmodel.h"
18#include "state/mbe_state.h"
20#define LMOD_OUTPUT_MODULE_BASE MBE_LegacyOutputModel
21#define LMOD_OUTPUT_MODULE_NAME OutputGgcmiDaily
22#define LMOD_OUTPUT_MODULE_ID "output:ggcmi:daily"
23#define LMOD_OUTPUT_MODULE_DESC "GGCMI Daily Output"
25class substate_microclimate_t;
26class substate_physiology_t;
27class substate_watercycle_t;
28class LDNDC_API LMOD_OUTPUT_MODULE_NAME :
public LMOD_OUTPUT_MODULE_BASE
30 LMOD_EXPORT_MODULE_INFO(LMOD_OUTPUT_MODULE_NAME,LMOD_OUTPUT_MODULE_ID,LMOD_OUTPUT_MODULE_DESC);
32 LMOD_OUTPUT_MODULE_NAME(
35 timemode_e _timemode);
37 ~LMOD_OUTPUT_MODULE_NAME();
40 lerr_t configure( ldndc::config_file_t
const *);
48 lerr_t wake() {
return LDNDC_ERR_OK; }
49 lerr_t sleep() {
return LDNDC_ERR_OK; }
56 cbm::io_kcomm_t * io_kcomm;
58 input_class_soillayers_t
const * soillayers_in;
60 substate_physiology_t
const * phys;
61 substate_soilchemistry_t
const * soilchem;
62 substate_watercycle_t
const * water;
63 MoBiLE_PlantVegetation * m_veg;
66 ldndc::sink_handle_t m_sink;
68 struct output_ggcmi_daily_acc_t
74 double nh4_throughfall;
75 double no3_throughfall;
83 double co2_emis_hetero;
95 double interceptionevaporation;
96 double soilevaporation;
97 double surfacewaterevaporation;
100 double surface_waterflux;
102 output_ggcmi_daily_acc_t acc;
103 void pop_accumulated_outputs();
104 void push_accumulated_outputs();
109#undef LMOD_OUTPUT_MODULE_BASE
110#undef LMOD_OUTPUT_MODULE_NAME
111#undef LMOD_OUTPUT_MODULE_ID
112#undef LMOD_OUTPUT_MODULE_DESC
Spatially explicit groundwater model.
Definition airchemistryput.h:21