forked from pressel/pycles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReferenceState.pxd
More file actions
24 lines (20 loc) · 786 Bytes
/
ReferenceState.pxd
File metadata and controls
24 lines (20 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
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
cpdef restart(self, Grid.Grid Gr, Restart.Restart Re)
cpdef init_from_restart(self, Grid.Grid Gr, Restart.Restart Re)