-
Notifications
You must be signed in to change notification settings - Fork 4
/
Damping.pxd
65 lines (57 loc) · 2.42 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
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 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 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)