forked from pressel/pycles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReferenceState.pxd
36 lines (30 loc) · 1.17 KB
/
ReferenceState.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
cimport Grid
cimport Restart
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 [:] p0_global
public double [:] p0_half_global
public double [:] alpha0_global
public double [:] alpha0_half_global
public double [:] rho0_global
public double [:] rho0_half_global
double sg
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
#These are initial condition profiles set in case initialization, stored for forcing
double [:] ic_rh
double [:] ic_thetal
double [:] ic_qt
cpdef restart(self, Grid.Grid Gr, Restart.Restart Re)
cpdef init_from_restart(self, Grid.Grid Gr, Restart.Restart Re)