forked from pressel/pycles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDamping.pxd
26 lines (24 loc) · 1.22 KB
/
Damping.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
cimport ParallelMPI as ParallelMPI
cimport PrognosticVariables as PrognosticVariables
cimport Grid as Grid
cimport ReferenceState
cimport DiagnosticVariables
cdef class Damping:
cdef:
object scheme
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, ParallelMPI.ParallelMPI Pa)
cdef class Dummy:
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, ParallelMPI.ParallelMPI Pa)
cdef class Rayleigh:
cdef:
double z_d # Depth of damping layer
double gamma_r # Inverse damping timescale
double[:] gamma_zhalf
double[:] gamma_z
cpdef initialize(self, Grid.Grid Gr, ReferenceState.ReferenceState RS)
cpdef update(self, Grid.Grid Gr, ReferenceState.ReferenceState RS, PrognosticVariables.PrognosticVariables PV,
DiagnosticVariables.DiagnosticVariables DV, ParallelMPI.ParallelMPI Pa)