Skip to content

Commit

Permalink
use formulate_flow! function name
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Sep 12, 2023
1 parent b046c32 commit ebd9dbb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions core/src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,12 @@ function formulate_flow!(
end
end

function formulate!(pump::Pump, p::Parameters, flow::AbstractMatrix, storage::AbstractVector)::Nothing
function formulate_flow!(
pump::Pump,
p::Parameters,
flow::AbstractMatrix,
storage::AbstractVector,
)::Nothing
(; connectivity, basin) = p
(; graph_flow) = connectivity
(; node_id, active, flow_rate, is_pid_controlled) = pump
Expand Down Expand Up @@ -963,7 +968,7 @@ function formulate!(pump::Pump, p::Parameters, flow::AbstractMatrix, storage::Ab
return nothing
end

function formulate!(
function formulate_flow!(
outlet::Outlet,
p::Parameters,
flow::AbstractMatrix,
Expand Down

0 comments on commit ebd9dbb

Please sign in to comment.