LandscapeDNDC 1.37.0
soilchemistry-simplicity.h
1
2
3#ifndef LM_SOILCHEMISTRY_SIMPLICITY_H_
4#define LM_SOILCHEMISTRY_SIMPLICITY_H_
5
6#include "mbe_legacymodel.h"
7#include "state/mbe_state.h"
8
9#include "eventhandler/fertilize/fertilize.h"
10#include "eventhandler/till/till.h"
11
12#include <input/event/events.h>
13
14namespace ldndc {
15
16class LDNDC_API SoilChemistrySimplicity : public MBE_LegacyModel
17{
18 LMOD_EXPORT_MODULE_INFO(SoilChemistrySimplicity,"soilchemistry:simplicity","Soilchemistry SIMPLICITY");
19 public:
20 SoilChemistrySimplicity( MoBiLE_State *,
21 cbm::io_kcomm_t *, timemode_e);
22
23 ~SoilChemistrySimplicity();
24
25 lerr_t configure( ldndc::config_file_t const *);
26 lerr_t initialize();
27
28 lerr_t register_ports( cbm::io_kcomm_t *);
29 lerr_t unregister_ports( cbm::io_kcomm_t *);
30
31 lerr_t solve();
32 lerr_t finalize() { return LDNDC_ERR_OK; }
33
34 lerr_t sleep() { return LDNDC_ERR_OK; }
35 lerr_t wake() { return LDNDC_ERR_OK; }
36
37 private:
38 substate_soilchemistry_t & m_sc;
39 EventHandlerFertilize m_eventfertilize;
40};
41
42} /*namespace ldndc*/
43
44#endif /* !LM_SOILCHEMISTRY_SIMPLICITY_H_ */
45
Spatially explicit groundwater model.
Definition: airchemistryput.h:15