diff --git a/ens_juls.jl b/ens_juls.jl index b400afb..5f40a98 100644 --- a/ens_juls.jl +++ b/ens_juls.jl @@ -7,7 +7,7 @@ using NetCDF using FileIO #using MPI -#using SigmoidNumbers +using SigmoidNumbers # Finite16nonu #include("/home/kloewer/julia/FiniteFloats.jl/src/FiniteFloats.jl") @@ -36,7 +36,7 @@ include("src/feedback.jl") include("src/output.jl") # INITIALISE -for ens_mem in 1:80 +for ens_mem in 1:10 global run_id,runpath = get_run_id_path("fill") starti = load(initpath*"starti.jld2")["starti"][run_id+1] println("Ensemble member $ens_mem, start from $starti") diff --git a/parameters.jl b/parameters.jl index 3d125b2..60f52b9 100644 --- a/parameters.jl +++ b/parameters.jl @@ -1,6 +1,6 @@ # define constants -const Numtype = Float64 -#const Numtype = Posit{16,1} +const Numtype = Float32 +#const Numtype = Posit{16,0} #const Numtype = Main.FiniteFloats.Finite16 const nx = 100 # number of grid cells in x-direction @@ -24,27 +24,27 @@ const η_refh = 5. # height difference [m] of the interface relaxa const η_refw = 50e3 # width [m] of the tangent used for the interface relaxation const cfl = 1.0 # CFL number -const Ndays = 100 # number of days to integrate for +const Ndays = 2000 # number of days to integrate for # boundary condtions const bc_x = "periodic" # "periodic" or anything else for nonperiodic const lbc = 1. # lateral boundary condition parameter # 0 free-slip, 0