Skip to content

Commit

Permalink
Use previous input scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiLehe committed Jan 18, 2025
1 parent 6fa77bd commit a6eba80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Examples/Tests/embedded_boundary_cube/inputs_base_3d
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)))"

Expand Down

0 comments on commit a6eba80

Please sign in to comment.