forked from szy21/pycles_GCM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Damping.pxd
140 lines (120 loc) · 4.91 KB
/
Damping.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
cimport ParallelMPI as ParallelMPI
cimport PrognosticVariables as PrognosticVariables
cimport Grid as Grid
cimport ReferenceState
cimport DiagnosticVariables
cimport TimeStepping
cdef class Damping:
cdef:
object scheme
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, ParallelMPI.ParallelMPI Pa, TimeStepping.TimeStepping TS)
cdef class Dummy:
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, ParallelMPI.ParallelMPI Pa, TimeStepping.TimeStepping TS)
cdef class RayleighGCMMeanNudge:
cdef:
double z_d # Depth of damping layer
double gamma_r # Inverse damping timescale
double tau_max # Maximum damping timescale
double z_r # Depth of relaxation layer
double tau_wind # Wind relaxation timescale
double[:] gamma_zhalf
double[:] gamma_z
double[:] xi_z
double[:] ucomp
double[:] vcomp
double[:] tend_flat
double[:] tend_flat_half
double tend_flat_z_d
double [:] dt_tg_total
double [:] dt_qg_total
bint gcm_profiles_initialized
bint truncate
bint damp_w
bint damp_scalar
bint relax_wind
int t_indx
str file
double lat
double lon
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, ParallelMPI.ParallelMPI Pa, TimeStepping.TimeStepping TS)
cdef class RayleighGCMNew:
cdef:
double z_d # Depth of damping layer
double gamma_r # Inverse damping timescale
double tau_max # Maximum damping timescale
double[:] gamma_zhalf
double[:] gamma_z
double[:] xi_z
double[:] ucomp
double[:] vcomp
double [:] dt_tg_total
double [:] dt_qg_total
bint griddata
bint gcm_profiles_initialized
bint truncate
bint damp_w
bint damp_scalar
int t_indx
str file
int site
double lat
double lon
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, ParallelMPI.ParallelMPI Pa, TimeStepping.TimeStepping TS)
cdef class RayleighGCMMean:
cdef:
double z_d # Depth of damping layer
double gamma_r # Inverse damping timescale
double[:] gamma_zhalf
double[:] gamma_z
double[:] tend_flat
double[:] tend_flat_half
double tend_flat_z_d
double [:] dt_tg_total
double [:] dt_qg_total
bint gcm_profiles_initialized
int t_indx
str file
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, ParallelMPI.ParallelMPI Pa, TimeStepping.TimeStepping TS)
cdef class RayleighGCMVarying:
cdef:
double z_d # Depth of damping layer
double gamma_r # Inverse damping timescale
double[:] gamma_zhalf
double[:] gamma_z
double[:] tend_flat
double[:] tend_flat_half
double tend_flat_z_d
double [:] dt_tg_total
double [:] dt_qg_total
bint gcm_profiles_initialized
int t_indx
str file
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, ParallelMPI.ParallelMPI Pa, TimeStepping.TimeStepping TS)
cdef class Rayleigh:
cdef:
double z_d # Depth of damping layer
double gamma_r # Inverse damping timescale
double[:] gamma_zhalf
double[:] gamma_z
double[:] tend_flat
double[:] tend_flat_half
double tend_flat_z_d
double [:] dt_tg_total
double [:] dt_qg_total
bint gcm_profiles_initialized
int t_indx
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, ParallelMPI.ParallelMPI Pa, TimeStepping.TimeStepping TS)