-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReferenceState.pxd
More file actions
30 lines (24 loc) · 933 Bytes
/
ReferenceState.pxd
File metadata and controls
30 lines (24 loc) · 933 Bytes
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
cimport Grid
cdef class ReferenceState:
cdef:
public double [:] p0
public double [:] p0_half
public double [:] alpha0
public double [:] alpha0_half
public double [:] rho0
public double [:] rho0_half
public double [:] th0
public double [:] th0_half
public double [:] dz_rho0
public double [:] dz_rho0_half
double sg
double thg
cdef public:
#These public values should be set in the case initialization routine
double Tg #Temperature at ground level
double Pg #Pressure at ground level
double qtg #Surface total water mixing ratio
double u0 #u velocity removed in Galilean transformation
double v0 #v velocity removed in Galilean transformation
# cpdef restart(self, Grid.Grid Gr, Restart.Restart Re)
# cpdef init_from_restart(self, Grid.Grid Gr, Restart.Restart Re)