|
118 | 118 | @assert topo_width > 0.0 "topo_width has to be >0, $topo_width given."
|
119 | 119 | @assert t_relax > 0.0 "t_relax has to be >0, $t_relax given."
|
120 | 120 | @assert η_refw > 0.0 "η_refw has to be >0, $η_refw given."
|
121 |
| - @assert RKo in [3,4] "RKo has to be 3 or 4, $RKo given." |
| 121 | + @assert RKo in [2,3,4] "RKo has to be 2,3 or 4, $RKo given." |
122 | 122 | @assert Ndays > 0.0 "Ndays has to be >0, $Ndays given."
|
123 | 123 | @assert nstep_diff > 0 "nstep_diff has to be >0, $nstep_diff given."
|
124 | 124 | @assert nstep_advcor >= 0 "nstep_advcor has to be >=0, $nstep_advcor given."
|
@@ -191,8 +191,8 @@ Creates a Parameter struct with following options and default values
|
191 | 191 | wk::Real=10e3 # width [m] in y of Gaussian used for surface forcing
|
192 | 192 |
|
193 | 193 | # TIME STEPPING OPTIONS
|
194 |
| - RKo::Int=4 # Order of the RK time stepping scheme (3 or 4) |
195 |
| - cfl::Real=1.0 # CFL number (1.0 recommended for RK4, 0.6 for RK3) |
| 194 | + RKo::Int=4 # Order of the RK time stepping scheme (2,3 or 4) |
| 195 | + cfl::Real=1.0 # CFL number (1.0 recommended for RK4, 0.6 for RK3, 0.1 for RK2) |
196 | 196 | Ndays::Real=10.0 # number of days to integrate for
|
197 | 197 | nstep_diff::Int=1 # diffusive part every nstep_diff time steps.
|
198 | 198 | nstep_advcor::Int=0 # advection and coriolis update every nstep_advcor time steps.
|
|
0 commit comments