forked from cmkaul/SCAMPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Turbulence.pxd
39 lines (36 loc) · 1.6 KB
/
Turbulence.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
cimport EDMF_Updrafts
cimport EDMF_Environment
from Grid cimport Grid
from Variables cimport VariablePrognostic, VariableDiagnostic, GridMeanVariables
from Surface cimport SurfaceBase
from ReferenceState cimport ReferenceState
from Cases cimport CasesBase
from TimeStepping cimport TimeStepping
from NetCDFIO cimport NetCDFIO_Stats
from turbulence_functions cimport entr_struct
cdef class ParameterizationBase:
cdef:
double [:] turbulence_tendency
double zi
Grid Gr
ReferenceState Ref
VariableDiagnostic KM
VariableDiagnostic KH
double wstar
double prandtl_number
double Ri_bulk_crit
bint extrapolate_buoyancy
cpdef initialize(self, CasesBase Case, GridMeanVariables GMV, ReferenceState Ref)
cpdef initialize_io(self, NetCDFIO_Stats Stats)
cpdef io(self, NetCDFIO_Stats Stats, TimeStepping TS)
cpdef update(self,GridMeanVariables GMV, CasesBase Case, TimeStepping TS)
cpdef update_inversion(self, GridMeanVariables GMV, option)
cpdef compute_eddy_diffusivities_similarity(self, GridMeanVariables GMV, CasesBase Case)
cpdef update_GMV_diagnostics(self, GridMeanVariables GMV)
cdef class SimilarityED(ParameterizationBase):
cpdef initialize(self, CasesBase Case, GridMeanVariables GMV, ReferenceState Ref)
cpdef initialize_io(self, NetCDFIO_Stats Stats)
cpdef io(self, NetCDFIO_Stats Stats, TimeStepping TS)
cpdef update(self,GridMeanVariables GMV, CasesBase Case, TimeStepping TS )
cpdef update_inversion(self, GridMeanVariables GMV, option)
cpdef update_GMV_diagnostics(self, GridMeanVariables GMV)