forked from szy21/pycles_GCM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ForcingGCMVarying.pxd
50 lines (45 loc) · 1.64 KB
/
ForcingGCMVarying.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
cimport Grid
cimport ReferenceState
cimport PrognosticVariables
cimport DiagnosticVariables
from NetCDFIO cimport NetCDFIO_Stats
cimport ParallelMPI
from Thermodynamics cimport LatentHeat, ClausiusClapeyron
cimport Thermodynamics
cimport TimeStepping
cdef class ForcingGCMVarying:
cdef:
bint gcm_profiles_initialized
int t_indx
double [:] ug
double [:] vg
double [:] subsidence
double [:] temp_dt_hadv
double [:] temp_dt_fino
double [:] temp_dt_resid
double [:] shum_dt_vadv
double [:] shum_dt_hadv
double [:] shum_dt_resid
double [:] u_dt_hadv
double [:] u_dt_vadv
double [:] u_dt_cof
double [:] u_dt_pres
double [:] u_dt_tot
double [:] v_dt_hadv
double [:] v_dt_vadv
double [:] v_dt_cof
double [:] v_dt_pres
double [:] v_dt_tot
double [:] p_gcm
double [:] rho_gcm
double [:] rho_half_gcm
double coriolis_param
str file
double lat
cpdef initialize(self, Grid.Grid Gr,ReferenceState.ReferenceState Ref, NetCDFIO_Stats NS, ParallelMPI.ParallelMPI Pa)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState Ref,
PrognosticVariables.PrognosticVariables PV, DiagnosticVariables.DiagnosticVariables DV, TimeStepping.TimeStepping TS,
ParallelMPI.ParallelMPI Pa)
cpdef stats_io(self, Grid.Grid Gr, ReferenceState.ReferenceState Ref,
PrognosticVariables.PrognosticVariables PV, DiagnosticVariables.DiagnosticVariables DV,
NetCDFIO_Stats NS, ParallelMPI.ParallelMPI Pa)