forked from cmkaul/SCAMPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSurface.pxd
64 lines (57 loc) · 1.97 KB
/
Surface.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
62
63
64
from Grid cimport Grid
from ReferenceState cimport ReferenceState
from Variables cimport GridMeanVariables
from thermodynamic_functions cimport latent_heat,cpm_c
cdef class SurfaceBase:
cdef:
double zrough
bint interactive_zrough
double Tsurface
double qsurface
double shf
double lhf
double cm
double ch
double cq
double bflux
double windspeed
double ustar
double rho_qtflux
double rho_hflux
double rho_uflux
double rho_vflux
double obukhov_length
double Ri_bulk_crit
bint ustar_fixed
Grid Gr
ReferenceState Ref
cpdef initialize(self)
cpdef update(self, GridMeanVariables GMV)
cpdef free_convection_windspeed(self, GridMeanVariables GMV)
cdef class SurfaceNone(SurfaceBase):
cpdef initialize(self)
cpdef update(self, GridMeanVariables GMV)
cpdef free_convection_windspeed(self, GridMeanVariables GMV)
cdef class SurfaceFixedFlux(SurfaceBase):
cpdef initialize(self)
cpdef update(self, GridMeanVariables GMV)
cpdef free_convection_windspeed(self, GridMeanVariables GMV)
cdef class SurfaceFixedCoeffs(SurfaceBase):
cdef:
double s_surface
cpdef initialize(self)
cpdef update(self, GridMeanVariables GMV)
cpdef free_convection_windspeed(self, GridMeanVariables GMV)
cdef class SurfaceMoninObukhov(SurfaceBase):
cpdef initialize(self)
cpdef update(self, GridMeanVariables GMV)
cpdef free_convection_windspeed(self, GridMeanVariables GMV)
cdef class SurfaceMoninObukhovDry(SurfaceBase):
cpdef initialize(self)
cpdef update(self, GridMeanVariables GMV)
cpdef free_convection_windspeed(self, GridMeanVariables GMV)
# Not fully implemented (maybe not needed) in .pyx - Ignacio
cdef class SurfaceSullivanPatton(SurfaceBase):
cpdef initialize(self)
cpdef update(self, GridMeanVariables GMV)
cpdef free_convection_windspeed(self, GridMeanVariables GMV)