forked from cmkaul/SCAMPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EDMF_Rain.pxd
66 lines (54 loc) · 1.8 KB
/
EDMF_Rain.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
cimport Grid
cimport ReferenceState
from Variables cimport GridMeanVariables
from EDMF_Environment cimport EnvironmentThermodynamics
from EDMF_Updrafts cimport UpdraftThermodynamics
from NetCDFIO cimport NetCDFIO_Stats
from TimeStepping cimport TimeStepping
cdef class RainVariable:
cdef:
str loc
str kind
str name
str units
double [:] values
double [:] new
double [:] flux
cpdef set_bcs(self, Grid.Grid Gr)
cdef class RainVariables:
cdef:
str rain_model
double mean_rwp
double env_rwp
double upd_rwp
double rain_area_value
double cutoff_rain_rate
Grid.Grid Gr
RainVariable QR
RainVariable RainArea
RainVariable Upd_QR
RainVariable Upd_RainArea
RainVariable Env_QR
RainVariable Env_RainArea
cpdef initialize_io(self, NetCDFIO_Stats Stats)
cpdef io(self, NetCDFIO_Stats, ReferenceState.ReferenceState Ref,\
UpdraftThermodynamics UpdThermo,\
EnvironmentThermodynamics EnvThermo, TimeStepping TS)
cpdef sum_subdomains_rain(self, UpdraftThermodynamics UpdThermo, EnvironmentThermodynamics EnvThermo)
cpdef rain_diagnostics(self, ReferenceState.ReferenceState Ref,
UpdraftThermodynamics UpdThermo,\
EnvironmentThermodynamics EnvThermo, TimeStepping TS)
cdef class RainPhysics:
cdef :
Grid.Grid Gr
ReferenceState.ReferenceState Ref
double [:] rain_evap_source_h
double [:] rain_evap_source_qt
cpdef solve_rain_fall(
self, GridMeanVariables GMV, TimeStepping TS, RainVariable QR,
RainVariable RainArea
)
cpdef solve_rain_evap(
self, GridMeanVariables GMV, TimeStepping TS, RainVariable QR,
RainVariable RainArea
)