-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathEDMF_Environment.pxd
92 lines (79 loc) · 2.78 KB
/
EDMF_Environment.pxd
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
from NetCDFIO cimport NetCDFIO_Stats
from Grid cimport Grid
from ReferenceState cimport ReferenceState
from Variables cimport VariableDiagnostic, GridMeanVariables
#from TimeStepping cimport TimeStepping
cdef class EnvironmentVariable:
cdef:
double [:] values
double [:] flux
str loc
str kind
str name
str units
cdef class EnvironmentVariable_2m:
cdef:
double [:] values
double [:] dissipation
double [:] shear
double [:] entr_gain
double [:] detr_loss
double [:] press
double [:] buoy
double [:] interdomain
double [:] rain_src
str loc
str kind
str name
str units
cdef class EnvironmentVariables:
cdef:
EnvironmentVariable W
EnvironmentVariable QT
EnvironmentVariable QL
EnvironmentVariable QR
EnvironmentVariable H
EnvironmentVariable THL
EnvironmentVariable T
EnvironmentVariable B
EnvironmentVariable_2m TKE
EnvironmentVariable_2m Hvar
EnvironmentVariable_2m QTvar
EnvironmentVariable_2m HQTcov
EnvironmentVariable CF
EnvironmentVariable_2m THVvar
Grid Gr
bint calc_tke
bint calc_scalar_var
bint use_prescribed_scalar_var
double prescribed_QTvar
double prescribed_Hvar
double prescribed_HQTcov
bint use_sommeria_deardorff
bint use_quadrature
str EnvThermo_scheme
cpdef initialize_io(self, NetCDFIO_Stats Stats )
cpdef io(self, NetCDFIO_Stats Stats)
cdef class EnvironmentThermodynamics:
cdef:
Grid Gr
ReferenceState Ref
Py_ssize_t quadrature_order
double (*t_to_prog_fp)(double p0, double T, double qt, double ql, double qi) nogil
double (*prog_to_t_fp)(double H, double pd, double pv, double qt ) nogil
double [:] qt_dry
double [:] th_dry
double [:] t_cloudy
double [:] qv_cloudy
double [:] qt_cloudy
double [:] th_cloudy
double [:] Hvar_rain_dt
double [:] QTvar_rain_dt
double [:] HQTcov_rain_dt
double max_supersaturation
void update_EnvVar(self, long k, EnvironmentVariables EnvVar, double T, double H, double qt, double ql, double qr, double alpha) nogil
void update_cloud_dry(self, long k, EnvironmentVariables EnvVar, double T, double H, double qt, double ql, double qv) nogil
void eos_update_SA_mean(self, EnvironmentVariables EnvVar, bint in_Env)
void eos_update_SA_sgs(self, EnvironmentVariables EnvVar, bint in_Env)#, TimeStepping TS)
void sommeria_deardorff(self, EnvironmentVariables EnvVar)
cpdef satadjust(self, EnvironmentVariables EnvVar, bint in_Env)#, TimeStepping TS)