From 72d2e2685c5c4066cde620d09ed7825eb6a3daf4 Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Fri, 17 Jan 2025 06:18:32 -0800 Subject: [PATCH] Use previous input scripts --- Examples/Tests/embedded_boundary_cube/inputs_base_3d | 4 ++-- .../inputs_test_2d_embedded_boundary_cube | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Examples/Tests/embedded_boundary_cube/inputs_base_3d b/Examples/Tests/embedded_boundary_cube/inputs_base_3d index 70ddd8f8f64..90ae2996635 100644 --- a/Examples/Tests/embedded_boundary_cube/inputs_base_3d +++ b/Examples/Tests/embedded_boundary_cube/inputs_base_3d @@ -13,8 +13,8 @@ boundary.field_lo = pec pec pec boundary.field_hi = pec pec pec eb2.geom_type = box -eb2.box_lo = -0.501 -0.501 -0.501 # Ensures that the stair-case EB is exactly at -0.5 -eb2.box_hi = 0.501 0.501 0.501 # Ensures that the stair-case EB is exactly at 0.5 +eb2.box_lo = -0.5 -0.5 -0.5 # Ensures that the stair-case EB is exactly at -0.5 +eb2.box_hi = 0.5 0.5 0.5 # Ensures that the stair-case EB is exactly at 0.5 eb2.box_has_fluid_inside = true # Alternatively one could use parser to build EB # Note that for amrex EB implicit function, >0 is covered, =0 is boundary and <0 is regular. diff --git a/Examples/Tests/embedded_boundary_cube/inputs_test_2d_embedded_boundary_cube b/Examples/Tests/embedded_boundary_cube/inputs_test_2d_embedded_boundary_cube index 46272052c2c..684325dc030 100644 --- a/Examples/Tests/embedded_boundary_cube/inputs_test_2d_embedded_boundary_cube +++ b/Examples/Tests/embedded_boundary_cube/inputs_test_2d_embedded_boundary_cube @@ -12,10 +12,10 @@ warpx.abort_on_warning_threshold = medium boundary.field_lo = pec pec boundary.field_hi = pec pec -my_constants.xmin = -0.501 # Ensures that the stair-case EB is exactly at -0.5 -my_constants.zmin = -0.501 # Ensures that the stair-case EB is exactly at -0.5 -my_constants.xmax = 0.501 # Ensures that the stair-case EB is exactly at 0.5 -my_constants.zmax = 0.501 # Ensures that the stair-case EB is exactly at 0.5 +my_constants.xmin = -0.5 +my_constants.zmin = -0.5 +my_constants.xmax = 0.5 +my_constants.zmax = 0.5 # Note that for amrex EB implicit function, >0 is covered, =0 is boundary and <0 is regular. warpx.eb_implicit_function = "max(max(x+xmin,-(x+xmax)), max(z+zmin,-(z+zmax)))"