You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,20 +15,22 @@ ShallowWaters is fully-explicit with an energy and enstrophy conserving advectio
15
15
16
16
Please feel free to raise an [issue](https://github.com/milankl/ShallowWaters.jl/issues) if you discover bugs or have an idea how to improve ShallowWaters.
17
17
18
+
Requires: Julia 1.2
19
+
18
20
### How to use
19
21
20
-
`RunModel` initialises the model, preallocates memory and starts the time integration. You find the options and default parameters in `src/DefaultParameters.jl` (or by typing `?Parameter`).
22
+
`RunModel` initialises the model, preallocates memory and starts the time integration. You find the options and default parameters in `src/DefaultParameters.jl` (or by typing `?Parameter`).
21
23
```julia
22
24
help?> Parameter
23
25
search: Parameter
24
26
25
27
Creates a Parameter struct with following options and default values
26
28
27
29
T::DataType=Float32 # number format
28
-
30
+
29
31
Tprog::DataType=T # number format for prognostic variables
30
32
Tcomm::DataType=Tprog # number format for ghost-point copies
31
-
33
+
32
34
# DOMAIN RESOLUTION AND RATIO
33
35
nx::Int=100# number of grid cells in x-direction
34
36
Lx::Real=2000e3# length of the domain in x-direction [m]
0 commit comments