LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
subdayfinalizer.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 */
15
16#ifndef MBE_SUBDAYFINALIZER_H_
17#define MBE_SUBDAYFINALIZER_H_
18
19#include "mbe_legacymodel.h"
20
21namespace ldndc {
22
23class LDNDC_API SubdailyFinalizer : public MBE_LegacyModel
24{
25 LMOD_EXPORT_MODULE_INFO(SubdailyFinalizer,"sys:*:subdailyfinalizer","house-keeping at end of subday");
26 public:
27 SubdailyFinalizer(
28 MoBiLE_State *,
29 cbm::io_kcomm_t *,
30 timemode_e);
31
32 ~SubdailyFinalizer();
33
34
35 lerr_t configure( ldndc::config_file_t const *) { return LDNDC_ERR_OK; }
36
37 lerr_t initialize() { return LDNDC_ERR_OK; }
38
39 lerr_t solve();
40
41 lerr_t finalize() { return LDNDC_ERR_OK; }
42
43
44 lerr_t sleep() { return LDNDC_ERR_OK; }
45 lerr_t wake() { return LDNDC_ERR_OK; }
46
47 private:
48 input_class_setup_t const * se_;
49 input_class_soillayers_t const * sl_;
50
51 substate_microclimate_t & mc_;
52 substate_physiology_t & ph_;
53 substate_watercycle_t & wc_;
54
55 MoBiLE_PlantVegetation * m_veg;
56
57 double latitude_;
58};
59
60} /*namespace ldndc*/
61
62#endif /* !MBE_SUBDAYFINALIZER_H_ */
63
Spatially explicit groundwater model.
Definition airchemistryput.h:21