diff --git a/src/schemes/boundary/open_boundary/lastiwka.jl b/src/schemes/boundary/open_boundary/lastiwka.jl index e12d521ad..e9ce5d87d 100644 --- a/src/schemes/boundary/open_boundary/lastiwka.jl +++ b/src/schemes/boundary/open_boundary/lastiwka.jl @@ -1,7 +1,7 @@ struct BoundaryModelLastiwka - extra_polate_reference_values::Bool - function BoundaryModelLastiwka(; extra_polate_reference_values::Bool=true) - return new{}(extra_polate_reference_values) + extrapolate_reference_values::Bool + function BoundaryModelLastiwka(; extrapolate_reference_values::Bool=true) + return new{}(extrapolate_reference_values) end end @@ -10,7 +10,7 @@ end (; density, pressure, cache, flow_direction, sound_speed, reference_velocity, reference_pressure, reference_density) = system - if boundary_model.extra_polate_reference_values + if boundary_model.extrapolate_reference_values (; prescribed_pressure, prescribed_velocity, prescribed_density) = cache @trixi_timeit timer() "interpolate and correct values" begin diff --git a/src/schemes/boundary/open_boundary/tafuni.jl b/src/schemes/boundary/open_boundary/tafuni.jl index 0e3818caa..59c50e52b 100644 --- a/src/schemes/boundary/open_boundary/tafuni.jl +++ b/src/schemes/boundary/open_boundary/tafuni.jl @@ -70,7 +70,7 @@ function interpolate_values!(system, v_ode, u_ode, semi, t; prescribed_density=f kernel_value = smoothing_kernel(fluid_system, distance) grad_kernel = smoothing_kernel_grad(fluid_system, pos_diff, distance) - L, R = correction_arrys(kernel_value, grad_kernel, pos_diff, rho_b, m_b) + L, R = correction_arrays(kernel_value, grad_kernel, pos_diff, rho_b, m_b) correction_matrix += L @@ -126,7 +126,7 @@ function interpolate_values!(system, v_ode, u_ode, semi, t; prescribed_density=f return system end -function correction_arrys(W_ab, grad_W_ab, pos_diff::SVector{3}, rho_b, m_b) +function correction_arrays(W_ab, grad_W_ab, pos_diff::SVector{3}, rho_b, m_b) x_ab = pos_diff[1] y_ab = pos_diff[2] z_ab = pos_diff[3] @@ -147,7 +147,7 @@ function correction_arrys(W_ab, grad_W_ab, pos_diff::SVector{3}, rho_b, m_b) return L, R end -function correction_arrys(W_ab, grad_W_ab, pos_diff::SVector{2}, rho_b, m_b) +function correction_arrays(W_ab, grad_W_ab, pos_diff::SVector{2}, rho_b, m_b) x_ab = pos_diff[1] y_ab = pos_diff[2]