From fb705d3e5677089ec53bbd81eedc0b5b487b7197 Mon Sep 17 00:00:00 2001 From: bennibolm Date: Mon, 4 Dec 2023 16:37:42 +0100 Subject: [PATCH] Fix error --- src/equations/compressible_euler_2d.jl | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/equations/compressible_euler_2d.jl b/src/equations/compressible_euler_2d.jl index f5e7087f71a..88e136f996f 100644 --- a/src/equations/compressible_euler_2d.jl +++ b/src/equations/compressible_euler_2d.jl @@ -415,9 +415,9 @@ end vn = factor * u_inner[3] * srho end - return characteristic_boundary_value_function_inner(outer_boundary_value_function, - u_inner, srho, vn, x, t, - equations) + return calc_characteristic_boundary_value_function(outer_boundary_value_function, + u_inner, srho, vn, x, t, + equations) end # Using with StructuredMesh{2} @@ -439,9 +439,9 @@ end (normal_direction[1] * u_inner[2] + normal_direction[2] * u_inner[3]) / norm(normal_direction) - return characteristic_boundary_value_function_inner(outer_boundary_value_function, - u_inner, srho, vn, x, t, - equations) + return calc_characteristic_boundary_value_function(outer_boundary_value_function, + u_inner, srho, vn, x, t, + equations) end # Using with P4estMesh{2} @@ -457,12 +457,13 @@ end vn = srho * (normal_direction[1] * u_inner[2] + normal_direction[2] * u_inner[3]) / norm(normal_direction) - return characteristic_boundary_value_function_inner(outer_boundary_value_function, - u_inner, srho, vn, x, t, - equations) + return calc_characteristic_boundary_value_function(outer_boundary_value_function, + u_inner, srho, vn, x, t, + equations) end -# Function to compute the outer state of the characteristics-based boundary condition. This function is called by all mesh types. +# Function to compute the outer state of the characteristics-based boundary condition. +# This function is called by all mesh types. @inline function calc_characteristic_boundary_value_function(outer_boundary_value_function, u_inner, srho, vn, x, t, equations::CompressibleEulerEquations2D)