LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
dayinitializer.h
1/*
2 * SPDX-FileCopyrightText: Karlsruhe Institute of Technology (KIT)
3 * SPDX-License-Identifier: LicenseRef-LandscapeDNDC
4 * This file is part of LandscapeDNDC. See LICENSE.
5 */
19
20#ifndef MBE_DAYINITIALIZER_H_
21#define MBE_DAYINITIALIZER_H_
22
23#include "mbe_legacymodel.h"
24
25namespace ldndc {
26
27class LDNDC_API DailyInitializer : public MBE_LegacyModel
28{
29 LMOD_EXPORT_MODULE_INFO(DailyInitializer,"sys:*:dailyinitializer","house-keeping at beginning of day");
30 public:
31 DailyInitializer(
32 MoBiLE_State *,
33 cbm::io_kcomm_t *,
34 timemode_e);
35 ~DailyInitializer();
36
37 lerr_t configure( ldndc::config_file_t const *) { return LDNDC_ERR_OK; }
38
39 lerr_t initialize() { return LDNDC_ERR_OK; }
40 lerr_t solve();
41 lerr_t finalize() { return LDNDC_ERR_OK; }
42
43 lerr_t sleep() { return LDNDC_ERR_OK; }
44 lerr_t wake() { return LDNDC_ERR_OK; }
45
46 private:
47 substate_physiology_t & ph_;
48 substate_soilchemistry_t & sc_;
49 substate_watercycle_t & wc_ ;
50 substate_microclimate_t & mc_;
51
52 MoBiLE_PlantVegetation * m_veg;
53 input_class_setup_t const * setup;
54 input_class_soillayers_t const * soillayers;
55
56 void reset_state_items_();
57};
58
59} /* namespace ldndc */
60
61#endif /* !MBE_DAYINITIALIZER_H_ */
62
Spatially explicit groundwater model.
Definition airchemistryput.h:21