Skip to content

Commit 3d29127

Browse files
committed
Disable scaling for the time being
1 parent 7d77bad commit 3d29127

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

Project.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1919
Tullio = "bc48ee85-29a4-5162-ae0b-a64e1601d4bc"
2020
x264_jll = "1270edf5-f2f9-52d2-97e9-ab00b5d0237a"
2121

22-
[sources]
23-
Jutul = {url = "https://github.com/sintefmath/Jutul.jl", rev = "battmo"}
24-
2522
[compat]
2623
JLD2 = "0.4.31"
2724
JSON = "0.21.4"

docs/Project.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ DocumenterVitepress = "4710194d-e776-4893-9690-8d956a29c365"
66
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a"
77
Jutul = "2b460a1a-8a2b-45b2-b125-b5c536396eb9"
88
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
9-
10-
[sources]
11-
Jutul = {url = "https://github.com/sintefmath/Jutul.jl", rev = "battmo"}

src/setup/model_setup.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,13 +1007,13 @@ end
10071007
# Setup scalings #
10081008
##################
10091009

1010-
function Jutul.get_scaling(model::SimulationModel{O, S, F, C}, equation::JutulEquation) where {O, S <: ElectroChemicalComponent, F, C}
1011-
if haskey(model.system.scalings, equation)
1012-
return model.system.scalings[equation]
1013-
else
1014-
return 1.0
1015-
end
1016-
end
1010+
# function Jutul.get_scaling(model::SimulationModel{O, S, F, C}, equation::JutulEquation) where {O, S <: ElectroChemicalComponent, F, C}
1011+
# if haskey(model.system.scalings, equation)
1012+
# return model.system.scalings[equation]
1013+
# else
1014+
# return 1.0
1015+
# end
1016+
# end
10171017

10181018

10191019
function setup_scalings!(model, parameters)

0 commit comments

Comments
 (0)