-
Notifications
You must be signed in to change notification settings - Fork 4
/
ForcingGCMVarying.pxd
61 lines (59 loc) · 1.96 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
51
52
53
54
55
56
57
58
59
60
61
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 griddata
bint gcm_profiles_initialized
int t_indx
double lat
double lon
double coriolis_param
double [:] temp
double [:] sphum
double [:] ucomp
double [:] vcomp
double [:] ug
double [:] vg
double forcing_frequency
bint relax_scalar
bint relax_wind
double tau_scalar
double z_i
double z_r
double tau_wind
int gcm_tidx
bint add_horiz_advection
bint add_subsidence
bint add_subsidence_wind
bint add_coriolis
bint add_ls_pgradient
double [:] qt_tend_nudge
double [:] t_tend_nudge
double [:] u_tend_nudge
double [:] v_tend_nudge
double [:] qt_tend_adv
double [:] t_tend_adv
double [:] s_tend_adv
double [:] qt_tend_hadv
double [:] t_tend_hadv
double [:] s_tend_hadv
double [:] qt_tend_fluc
double [:] t_tend_fluc
double [:] omega_vv
double [:] subsidence
str file
int site
cpdef initialize(self, Grid.Grid Gr,ReferenceState.ReferenceState RS, NetCDFIO_Stats NS, ParallelMPI.ParallelMPI Pa)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS,
PrognosticVariables.PrognosticVariables PV, DiagnosticVariables.DiagnosticVariables DV, TimeStepping.TimeStepping TS,
ParallelMPI.ParallelMPI Pa)
cpdef stats_io(self, Grid.Grid Gr, ReferenceState.ReferenceState RS,
PrognosticVariables.PrognosticVariables PV, DiagnosticVariables.DiagnosticVariables DV,
NetCDFIO_Stats NS, ParallelMPI.ParallelMPI Pa)