From b668e26b53a732d13917bbccb10128f29ea880cd Mon Sep 17 00:00:00 2001 From: LasNikas Date: Tue, 16 Jul 2024 13:36:14 +0200 Subject: [PATCH] adapt tests --- .../boundary/open_boundary/characteristic_variables.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/schemes/boundary/open_boundary/characteristic_variables.jl b/test/schemes/boundary/open_boundary/characteristic_variables.jl index 1fe20722a..9636dbfc0 100644 --- a/test/schemes/boundary/open_boundary/characteristic_variables.jl +++ b/test/schemes/boundary/open_boundary/characteristic_variables.jl @@ -57,6 +57,7 @@ boundary_system = OpenBoundarySPHSystem(boundary_zone; sound_speed, fluid_system, buffer_size=0, + boundary_model=BoundaryModelLastiwka(), reference_velocity, reference_pressure, reference_density) @@ -93,7 +94,7 @@ t1 = 2.0 TrixiParticles.evaluate_characteristics!(boundary_system, v, u, v0_ode, u0_ode, semi, t1) - evaluated_vars1 = boundary_system.characteristics + evaluated_vars1 = boundary_system.cache.characteristics if boundary_zone isa InFlow @test all(isapprox.(evaluated_vars1[1, :], 0.0)) @@ -113,7 +114,7 @@ t2 = 3.0 TrixiParticles.evaluate_characteristics!(boundary_system, v, u, v0_ode, u0_ode, semi, t2) - evaluated_vars2 = boundary_system.characteristics + evaluated_vars2 = boundary_system.cache.characteristics if boundary_zone isa InFlow @test all(isapprox.(evaluated_vars2[1, :], 0.0))