forked from pressel/pycles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Damping.pxd
22 lines (19 loc) · 814 Bytes
/
Damping.pxd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cimport ParallelMPI as ParallelMPI
cimport PrognosticVariables as PrognosticVariables
cimport Grid as Grid
cdef class Damping:
cdef:
object scheme
cpdef initialize(self, Grid.Grid Gr)
cpdef update(self, Grid.Grid Gr, PrognosticVariables.PrognosticVariables PV, ParallelMPI.ParallelMPI Pa)
cdef class Dummy:
cpdef initialize(self, Grid.Grid Gr)
cpdef update(self, Grid.Grid Gr, PrognosticVariables.PrognosticVariables PV, 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)
cpdef update(self, Grid.Grid Gr, PrognosticVariables.PrognosticVariables PV, ParallelMPI.ParallelMPI Pa)