Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
alemelis committed Apr 10, 2024
1 parent 9360c76 commit 12a4553
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/network.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ struct Network
blood::Blood
heart::Heart
Ccfl::Float64
bifU::MVector{6, Float64}
bifW::MVector{3, Float64}
bifF::MVector{6, Float64}
bifJ::MArray{Tuple{6, 6}, Float64, 2, 36}
bifU::Vector{Float64}
bifW::Vector{Float64}
bifF::Vector{Float64}
bifJ::Array{Float64, 2}
# TODO: add vectors for conj and anastomosis
end
number_of_nodes(config::Vector{Dict{Any,Any}}) = maximum(c["tn"] for c in config)
Expand All @@ -61,10 +61,10 @@ function Network(
end
check(graph)

bifU = @MArray zeros(6)
bifW = @MArray zeros(3)
bifF = @MArray zeros(6)
bifJ = @MArray zeros(6,6)
bifU = zeros(6)
bifW = zeros(3)
bifF = zeros(6)
bifJ = zeros(6,6)
bifJ .+= I(6)
Network(graph, vessels, blood, heart, Ccfl,
bifU, bifW, bifF, bifJ)
Expand Down

0 comments on commit 12a4553

Please sign in to comment.