forked from pressel/pycles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathThermodynamicsDry.pxd
30 lines (26 loc) · 1.44 KB
/
ThermodynamicsDry.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
cimport Grid
cimport ReferenceState
cimport PrognosticVariables
cimport DiagnosticVariables
cimport ParallelMPI
cimport Thermodynamics
from NetCDFIO cimport NetCDFIO_Fields, NetCDFIO_Stats
cdef class ThermodynamicsDry:
cdef:
double (*L_fp)(double T, double Lambda) nogil
double (*Lambda_fp)(double T) nogil
Thermodynamics.ClausiusClapeyron CC
cpdef initialize(self,Grid.Grid Gr,PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, NetCDFIO_Stats NS, ParallelMPI.ParallelMPI Pa)
cpdef entropy(self,double p0, double T,double qt, double ql, double qi)
cpdef eos(self, double p0, double s, double qt)
cpdef alpha(self, double p0, double T, double qt, double qv)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS,
PrognosticVariables.PrognosticVariables PV, DiagnosticVariables.DiagnosticVariables DV)
cpdef get_pv_star(self,t)
cpdef get_lh(self,t)
cpdef write_fields(self, Grid.Grid Gr, ReferenceState.ReferenceState RS,
PrognosticVariables.PrognosticVariables PV, DiagnosticVariables.DiagnosticVariables DV,
NetCDFIO_Fields NF, 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)