Skip to content

Commit e8146dc

Browse files
committed
Fix tests
1 parent 0209d65 commit e8146dc

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

test/examples/examples_fluid.jl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,8 @@
273273
joinpath(examples_dir(), "fluid",
274274
"periodic_channel_2d.jl"),
275275
tspan=(0.0, 0.2),
276-
shifting_technique=ParticleShiftingTechnique())
276+
shifting_technique=ParticleShiftingTechnique(),
277+
extra_callback=UpdateCallback())
277278
@test sol.retcode == ReturnCode.Success
278279
@test count_rhs_allocations(sol, semi) == 0
279280
end
@@ -283,7 +284,8 @@
283284
joinpath(examples_dir(), "fluid",
284285
"periodic_channel_2d.jl"),
285286
tspan=(0.0, 0.2),
286-
shifting_technique=TransportVelocityAdami(50_000.0))
287+
shifting_technique=TransportVelocityAdami(50_000.0),
288+
extra_callback=UpdateCallback())
287289
@test sol.retcode == ReturnCode.Success
288290
@test count_rhs_allocations(sol, semi) == 0
289291
end
@@ -294,7 +296,8 @@
294296
"periodic_channel_2d.jl"),
295297
tspan=(0.0, 0.2),
296298
shifting_technique=ParticleShiftingTechnique(),
297-
pressure_acceleration=tensile_instability_control)
299+
pressure_acceleration=tensile_instability_control,
300+
extra_callback=UpdateCallback())
298301
@test sol.retcode == ReturnCode.Success
299302
@test count_rhs_allocations(sol, semi) == 0
300303
end

0 commit comments

Comments
 (0)