Skip to content

Commit

Permalink
Modifying function name
Browse files Browse the repository at this point in the history
  • Loading branch information
swilliamson7 committed May 14, 2024
1 parent 57b790e commit 42e7817
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/run_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 42e7817

Please sign in to comment.