LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
ld_nitrogenfixation.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 */
12
13#ifndef LD_NITROGENFIXATION_H_
14#define LD_NITROGENFIXATION_H_
15
16#include "state/mbe_state.h"
17
18namespace ldndc {
19
20class LDNDC_API BaseNitrogenFixation
21{
22 public:
23 virtual ~BaseNitrogenFixation() = 0;
24};
25
26
27
28class LDNDC_API NitrogenFixation : public BaseNitrogenFixation
29{
30public:
31
32 NitrogenFixation(
33 MoBiLE_State *, cbm::io_kcomm_t *);
34
35 ~NitrogenFixation();
36
37 substate_watercycle_t * water;
38 substate_soilchemistry_t * soilchem;
39
40 double
41 get_nitrogen_fixation( MoBiLE_Plant *, double /*temperature*/);
42
43 double
44 get_fact_water( MoBiLE_Plant *);
45
46 double
47 get_fact_temperature( MoBiLE_Plant *, double /*temperature*/);
48
49 double
50 get_fact_nitrogen( MoBiLE_Plant *);
51
52 double
53 get_fact_carbon( MoBiLE_Plant *);
54};
55
56} /* namespace ldndc */
57
58#endif /* !LD_NITROGENFIXATION_H_ */
59
Spatially explicit groundwater model.
Definition airchemistryput.h:21