From 42e781772604dc2d515f40f538e8634e6596f69e Mon Sep 17 00:00:00 2001 From: Sarah Williamson Date: Tue, 14 May 2024 13:04:22 -0500 Subject: [PATCH] Modifying function name --- src/run_model.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/run_model.jl b/src/run_model.jl index ee398de..01707a8 100644 --- a/src/run_model.jl +++ b/src/run_model.jl @@ -41,20 +41,20 @@ function run_model(::Type{T},P::Parameter) where {T<:AbstractFloat} end -function run_setup(::Type{T}=Float32; # number format +function model_setup(::Type{T}=Float32; # number format kwargs... # all additional parameters ) where {T<:AbstractFloat} P = ShallowWaters.Parameter(T=T;kwargs...) - return run_setup(T,P) + return model_setup(T,P) end -function run_setup(P::ShallowWaters.Parameter) +function model_setup(P::ShallowWaters.Parameter) @unpack T = P - return run_setup(T,P) + return model_setup(T,P) end -function run_setup(::Type{T},P::ShallowWaters.Parameter) where {T<:AbstractFloat} +function model_setup(::Type{T},P::ShallowWaters.Parameter) where {T<:AbstractFloat} @unpack Tprog = P