LandscapeDNDC 1.37.0
output-microclimate-daily.h
1
10#ifndef LM_OUTPUT_MICROCLIMATE_DAILY_H_
11#define LM_OUTPUT_MICROCLIMATE_DAILY_H_
12
13#include "mbe_legacyoutputmodel.h"
14#include "state/mbe_state.h"
15
16#define LMOD_OUTPUT_MODULE_BASE MBE_LegacyOutputModel
17#define LMOD_OUTPUT_MODULE_NAME OutputMicroclimateDaily
18#define LMOD_OUTPUT_MODULE_ID "output:microclimate:daily"
19#define LMOD_OUTPUT_MODULE_DESC "Microclimate Daily Output"
20namespace ldndc {
21class substate_soilchemistry_t;
22class LDNDC_API LMOD_OUTPUT_MODULE_NAME : public LMOD_OUTPUT_MODULE_BASE
23{
24 LMOD_EXPORT_MODULE_INFO(LMOD_OUTPUT_MODULE_NAME,LMOD_OUTPUT_MODULE_ID,LMOD_OUTPUT_MODULE_DESC);
25 public:
26 LMOD_OUTPUT_MODULE_NAME(
27 MoBiLE_State *,
28 cbm::io_kcomm_t *,
29 timemode_e _timemode);
30
31 ~LMOD_OUTPUT_MODULE_NAME();
32
33
34 lerr_t configure( ldndc::config_file_t const *);
35
36 lerr_t initialize();
37
38 lerr_t solve();
39
40 lerr_t finalize();
41
42 lerr_t wake() { return LDNDC_ERR_OK; }
43 lerr_t sleep() { return LDNDC_ERR_OK; }
44
45 private:
46 lerr_t dump_0(
47 ldndc_flt64_t *);
48
49 private:
50 cbm::io_kcomm_t * io_kcomm;
51
52 input_class_soillayers_t const * soillayers_;
53 input_class_setup_t const * setup_;
54 substate_watercycle_t const & wc_;
55 substate_microclimate_t const & mc_;
56 substate_surfacebulk_t const & sbl_;
57 substate_soilchemistry_t const & sc_;
58 MoBiLE_PlantVegetation * m_veg;
59
60 private:
61 ldndc::sink_handle_t m_sink;
62
63 double accumulated_evapotranspiration;
64
65// double accumulated_transpiration;
66// double accumulated_interceptionevaporation;
67// double accumulated_soilevaporation;
68// double accumulated_surfacewaterevaporation;
69};
70} /*namespace ldndc*/
71
72
73#undef LMOD_OUTPUT_MODULE_BASE
74#undef LMOD_OUTPUT_MODULE_NAME
75#undef LMOD_OUTPUT_MODULE_ID
76#undef LMOD_OUTPUT_MODULE_DESC
77
78
79#endif /* !LM_OUTPUT_MICROCLIMATE_DAILY_H_ */
80
Spatially explicit groundwater model.
Definition: airchemistryput.h:15