|
273 | 273 | joinpath(examples_dir(), "fluid", |
274 | 274 | "periodic_channel_2d.jl"), |
275 | 275 | tspan=(0.0, 0.2), |
276 | | - shifting_technique=ParticleShiftingTechnique()) |
| 276 | + shifting_technique=ParticleShiftingTechnique(), |
| 277 | + extra_callback=UpdateCallback()) |
277 | 278 | @test sol.retcode == ReturnCode.Success |
278 | 279 | @test count_rhs_allocations(sol, semi) == 0 |
279 | 280 | end |
|
283 | 284 | joinpath(examples_dir(), "fluid", |
284 | 285 | "periodic_channel_2d.jl"), |
285 | 286 | tspan=(0.0, 0.2), |
286 | | - shifting_technique=TransportVelocityAdami(50_000.0)) |
| 287 | + shifting_technique=TransportVelocityAdami(50_000.0), |
| 288 | + extra_callback=UpdateCallback()) |
287 | 289 | @test sol.retcode == ReturnCode.Success |
288 | 290 | @test count_rhs_allocations(sol, semi) == 0 |
289 | 291 | end |
|
294 | 296 | "periodic_channel_2d.jl"), |
295 | 297 | tspan=(0.0, 0.2), |
296 | 298 | shifting_technique=ParticleShiftingTechnique(), |
297 | | - pressure_acceleration=tensile_instability_control) |
| 299 | + pressure_acceleration=tensile_instability_control, |
| 300 | + extra_callback=UpdateCallback()) |
298 | 301 | @test sol.retcode == ReturnCode.Success |
299 | 302 | @test count_rhs_allocations(sol, semi) == 0 |
300 | 303 | end |
|
0 commit comments