LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
ld_farmsystem_output.h
1
6
7#ifndef FARMSYSTEM_OUTPUT_H_
8#define FARMSYSTEM_OUTPUT_H_
9
10#include "ld_sinkinterface.h"
11
12namespace ldndc {
13
14class LDNDC_API FarmSystemOutput
15{
16 public:
17 FarmSystemOutput( cbm::io_kcomm_t * = NULL);
18 ~FarmSystemOutput();
19
20 lerr_t configure( ldndc::config_file_t const *);
21
22 lerr_t initialize();
23 lerr_t step( cbm::sclock_t const *);
24 lerr_t finalize();
25
26 double planting;
27 double harvest;
28 double tilling;
29 double fertilization;
30 double flooding;
31 double irrigation;
32 double cutting;
33
34 private:
35 lerr_t collect_datarecord(
36 ldndc_flt64_t *);
37
38 private:
39 cbm::io_kcomm_t * io_kcomm;
40 private:
41 ldndc::sink_handle_t m_sink;
42 ldndc::SinkInterface m_sif;
43};
44
45} /* namespace ldndc */
46
47#endif /* !FARMSYSTEM_OUTPUT_H_ */
48
Spatially explicit groundwater model.
Definition airchemistryput.h:15