LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
sitetypes.h
1/*
2 * SPDX-FileCopyrightText: Karlsruhe Institute of Technology (KIT)
3 * SPDX-License-Identifier: LicenseRef-Crabmeat
4 * This file is part of Crabmeat. Redistribution or commercial use is
5 * prohibited without express written permission. See LICENCE.
6 */
7
17
18#ifndef LDNDC_INPUT_SITE_TYPES_H_
19#define LDNDC_INPUT_SITE_TYPES_H_
20
21#include "crabmeat-common.h"
22#include "cbm_types.h"
23
24namespace ldndc{ namespace site
25{
30struct CBM_API site_info_t
31{
33 double sksbottom;
34
36 double watertable;
37};
38
39extern CBM_API site_info_t const site_info_defaults;
40
41
42struct CBM_API iclass_site_stratum_t
43{
44 iclass_site_stratum_t();
45
47 double stratum_height;
49 int split;
50
52 double ph;
54 double stone_fraction;
56 double bulk_density;
58 double sks;
60 double c_org;
62 double n_org;
64 double clay;
66 double sand;
68 double silt;
70 double p_tot;
72 double wcmin;
73 double wc_wp;
75 double wcmax;
76 double wc_fc;
78 double wc_sat;
80 double wc_res;
82 double porosity;
84 double macropores;
85
87 double iron;
88
90 double vangenuchten_n;
92 double vangenuchten_alpha;
93
95 double wc_init;
97 double temp_init;
98
100 double nh4_init;
102 double no3_init;
104 double don_init;
106 double doc_init;
108 double pom_init;
110 double aorg_init;
111
113 double radium;
114
116 double p_olsen;
118 double p_bray;
120 double p_mehlich3;
121};
122static size_t const STRATUM_PROPERTIES_CNT = 33;
123extern CBM_API ldndc_string_t const STRATUM_PROPERTY_NAMES[STRATUM_PROPERTIES_CNT+1/*sentinel*/];
124
125}}
126
127#endif /* !LDNDC_INPUT_SITE_TYPES_H_ */
128
Spatially explicit groundwater model.
Definition airchemistryput.h:21
site defaults
Definition sitetypes.h:31
double sksbottom
Definition sitetypes.h:33
double watertable
Definition sitetypes.h:36