|
49 | 49 | # TIME STEPPING OPTIONS
|
50 | 50 | time_scheme::String="RK" # Runge-Kutta ("RK") or strong-stability preserving RK ("SSPRK2","SSPRK3")
|
51 | 51 | RKo::Int=4 # Order of the RK time stepping scheme (2, 3 or 4)
|
52 |
| - RKs::Int=2 # Number of stages for SSPRK2 |
| 52 | + RKs::Int=3 # Number of stages for SSPRK2 |
53 | 53 | cfl::Real=1.0 # CFL number (1.0 recommended for RK4, 0.6 for RK3)
|
54 | 54 | Ndays::Real=10.0 # number of days to integrate for
|
55 | 55 | nstep_diff::Int=1 # diffusive part every nstep_diff time steps.
|
|
148 | 148 | """
|
149 | 149 | Creates a Parameter struct with following options and default values
|
150 | 150 |
|
151 |
| - T::DataType=Float32 # number format |
152 |
| -
|
153 |
| - Tprog::DataType=T # number format for prognostic variables |
154 |
| - Tcomm::DataType=Tprog # number format for ghost-point copies |
| 151 | + T=Float32 # number format |
| 152 | + Tprog=T # number format for prognostic variables |
| 153 | + Tcomm=Tprog # number format for ghost-point copies |
155 | 154 |
|
156 | 155 | # DOMAIN RESOLUTION AND RATIO
|
157 | 156 | nx::Int=100 # number of grid cells in x-direction
|
@@ -195,8 +194,10 @@ Creates a Parameter struct with following options and default values
|
195 | 194 | wk::Real=10e3 # width [m] in y of Gaussian used for surface forcing
|
196 | 195 |
|
197 | 196 | # TIME STEPPING OPTIONS
|
198 |
| - RKo::Int=4 # Order of the RK time stepping scheme (2,3 or 4) |
199 |
| - cfl::Real=1.0 # CFL number (1.0 recommended for RK4, 0.6 for RK3, 0.1 for RK2) |
| 197 | + time_scheme::String="RK" # Runge-Kutta ("RK") or strong-stability preserving RK ("SSPRK2","SSPRK3") |
| 198 | + RKo::Int=4 # Order of the RK time stepping scheme (2, 3 or 4) |
| 199 | + RKs::Int=2 # Number of stages for SSPRK2 |
| 200 | + cfl::Real=1.0 # CFL number (1.0 recommended for RK4, 0.6 for RK3) |
200 | 201 | Ndays::Real=10.0 # number of days to integrate for
|
201 | 202 | nstep_diff::Int=1 # diffusive part every nstep_diff time steps.
|
202 | 203 | nstep_advcor::Int=0 # advection and coriolis update every nstep_advcor time steps.
|
@@ -243,7 +244,7 @@ Creates a Parameter struct with following options and default values
|
243 | 244 |
|
244 | 245 | # OUTPUT OPTIONS
|
245 | 246 | output::Bool=false # netcdf output?
|
246 |
| - output_vars::Array{String,1}=["u","v","η","sst"] # which variables to output? q,ζ,du,dv,dη also allowed. |
| 247 | + output_vars::Array{String,1}=["u","v","η","sst"] # which variables to output? "du","dv","dη" also allowed |
247 | 248 | output_dt::Real=6 # output time step [hours]
|
248 | 249 | outpath::String=pwd() # path to output folder
|
249 | 250 |
|
|
0 commit comments