-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTimeStepping.pxd
33 lines (28 loc) · 1.24 KB
/
TimeStepping.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
cimport PrognosticVariables as PrognosticVariables
# cimport DiagnosticVariables as DiagnosticVariables
cimport Grid as Grid
# cimport Restart
cdef class TimeStepping:
cdef:
public double dt
public double t
# public double cfl_max
# public double cfl_limit
# public double dt_max
# public double dt_initial
public double t_max
public Py_ssize_t nstep
# double [:,:] value_copies
# double [:,:] tendency_copies
# public Py_ssize_t rk_step
# public Py_ssize_t n_rk_steps
# public Py_ssize_t ts_type
# void initialize(self,PrognosticVariables.PrognosticVariables PV)
# cpdef initialize(self, namelist, PrognosticVariables.PrognosticVariables PV)
cpdef initialize(self, namelist)
# cpdef update(self,Grid.Grid Gr, PrognosticVariables.PrognosticVariables PV)
cpdef update(self)
# cpdef adjust_timestep(self,Grid.Grid Gr, PrognosticVariables.PrognosticVariables PV, DiagnosticVariables.DiagnosticVariables DV)
# cdef void compute_cfl_max(self,Grid.Grid Gr, PrognosticVariables.PrognosticVariables PV, DiagnosticVariables.DiagnosticVariables DV)
# cpdef restart(self, Restart.Restart Re)
# cdef inline double cfl_time_step(self)