Skip to content

Commit cfd1ba2

Browse files
committed
Making some Ints Float64
1 parent de2355e commit cfd1ba2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/default_parameters.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
# DOMAIN RESOLUTION AND RATIO
1010
nx::Int=100 # number of grid cells in x-direction
11-
Lx::Int=4000e3 # length of the domain in x-direction [m]
12-
L_ratio::Int=2 # Domain aspect ratio of Lx/Ly
11+
Lx::Float64=4000e3 # length of the domain in x-direction [m]
12+
L_ratio::Float64=2 # Domain aspect ratio of Lx/Ly
1313

1414
# PHYSICAL CONSTANTS
1515
g::Real=0.1 # gravitational acceleration [m/s]
@@ -20,7 +20,7 @@
2020
R::Real=6.371e6 # Earth's radius [m]
2121

2222
# SCALE
23-
scale::Int=2^6 # multiplicative scale for the momentum equations u,v
23+
scale::Float64=2^6 # multiplicative scale for the momentum equations u,v
2424
scale_sst::Real=2^15 # multiplicative scale for sst
2525

2626
# WIND FORCING OPTIONS

src/grid.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
ω::Real # Earth's angular frequency [s^-1]
1717
ϕ::Real # central latitue of the domain (for coriolis) [°]
1818
R::Real # Earth's radius [m]
19-
scale::Int # multiplicative scale for momentum equations [1]
19+
scale::Float64 # multiplicative scale for momentum equations [1]
2020

2121
# DOMAIN SIZES
2222
Δ::Int=Lx / nx # grid spacing

0 commit comments

Comments
 (0)