-
Notifications
You must be signed in to change notification settings - Fork 8
/
landsoil.h
64 lines (53 loc) · 2.1 KB
/
landsoil.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* CLASS
* Copyright (c) 2010-2013 Meteorology and Air Quality section, Wageningen University and Research centre
* Copyright (c) 2011-2013 Jordi Vila-Guerau de Arellano
* Copyright (c) 2011-2013 Chiel van Heerwaarden
* Copyright (c) 2011-2013 Bart van Stratum
* Copyright (c) 2011-2013 Kees van den Dries
*
* This file is part of CLASS
*
* CLASS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* CLASS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with CLASS. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LANDSOIL_H
#define LANDSOIL_H
#include <QString>
class soiltype
{
public:
QString name;
double wsat; // saturated volumetric water content ECMWF config [-]
double wfc; // volumetric water content field capacity [-]
double wwilt; // volumetric water content wilting point [-]
double C1sat;
double C2ref;
double a; // Clapp and Hornberger retention curve parameter a
double b; // Clapp and Hornberger retention curve parameter b
double p; // Clapp and Hornberger retention curve parameter p
double CGsat; // saturated soil conductivity for heat
};
class surfacetype
{
public:
QString name;
double LAI; // leaf area index [-]
double gD; // correction factor transpiration for VPD [-]
double rsmin; // minimum resistance transpiration [s m-1]
double alpha; // surface albedo [-]
double cveg; // vegetation fraction [-]
double Lambda; // thermal diffusivity skin layer [-]
double z0m; // roughness length for momentum [m]
double z0h; // roughness length for scalars [m]
int C3C4; // 0 = no C3C4, 1=C3, 2=C4
};
#endif // LANDSOIL_H