Skip to content

Commit c3324fd

Browse files
committed
minor changes
1 parent 663df03 commit c3324fd

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

src/models/elyte.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ end
193193
end
194194

195195
@jutul_secondary(
196-
function update_as_secondary!(dmudc, dmudc_def::DmuDc, model, Temperature, C, ix)
196+
function update_dmudc!(dmudc, dmudc_def::DmuDc, model, Temperature, C, ix)
197197
R = GAS_CONSTANT
198198
@tullio dmudc[i] = R * (Temperature[i] / C[i])
199199
end

src/models/thermal.jl

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,15 @@ function select_secondary_variables!(
3838

3939
end
4040

41-
@jutul_secondary function update_as_secondary!(acc ,
42-
tv::Energy,
43-
model ,
44-
Temperature ,
45-
ix)
46-
for i in ix
47-
@inbounds acc[i] = Temperature[i]
48-
end
41+
@jutul_secondary function update_as_secondary!(acc ,
42+
tv::Energy ,
43+
model ,
44+
Temperature,
45+
ix)
46+
for i in ix
47+
@inbounds acc[i] = Temperature[i]
48+
end
49+
4950
end
5051

5152
function select_parameters!(S,
@@ -64,8 +65,8 @@ end
6465
function select_equations!(eqs,
6566
system::Thermal,
6667
model::SimulationModel)
67-
disc = model.domain.discretizations.heat_flow
6868

69+
disc = model.domain.discretizations.heat_flow
6970
eqs[:energy_conservation] = ConservationLaw(disc, :Energy)
7071

71-
end
72+
end

src/setup/model_setup.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ function setup_component(grid::Jutul.FiniteVolumeMesh,
536536
else
537537
flow = TwoPointPotentialFlowHardCoded(grid)
538538
end
539-
disc = (charge_flow=flow,)
539+
disc = (charge_flow = flow,)
540540
domain = DiscretizedDomain(domain, disc)
541541

542542
model = SimulationModel(domain, sys; kwargs...)

0 commit comments

Comments
 (0)