From 5087485db606f77806c08849c51af9be635ca622 Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Wed, 6 Mar 2024 14:42:42 -0800 Subject: [PATCH] Update input script --- Examples/Tests/embedded_boundary_cube/inputs_rz | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Examples/Tests/embedded_boundary_cube/inputs_rz b/Examples/Tests/embedded_boundary_cube/inputs_rz index 101e65c8918..a0deb7ee23c 100644 --- a/Examples/Tests/embedded_boundary_cube/inputs_rz +++ b/Examples/Tests/embedded_boundary_cube/inputs_rz @@ -23,15 +23,14 @@ warpx.B_ext_grid_init_style = parse_B_ext_grid_function my_constants.m = 2.40482556 # First zero of the Bessel function J0 my_constants.p = 1 -my_constants.Lx = 1 +my_constants.Lr = 1 my_constants.Lz = 1 -warpx.Bx_external_grid_function(x,y,z) = - (p * pi * Lx) / (m * 2 * Lz) * jn(1, -m * 2 / Lx * x) * cos(p * pi / Lz * (z - Lz / 2)) -warpx.By_external_grid_function(x,y,z) = 0 -warpx.Bz_external_grid_function(x,y,z) = jn(0,m * 2 / Lx * x) * sin(p * pi / Lz * (z - Lz / 2)) +warpx.Br_external_grid_function(r,z) = - (p * pi * Lr) / (m * 2 * Lz) * jn(1, m * 2 / Lr * r) * cos(p * pi / Lz * (z - Lz / 2)) +warpx.Bt_external_grid_function(r,z) = 0 +warpx.Bz_external_grid_function(r,z) = jn(0,m * 2 / Lr * r) * sin(p * pi / Lz * (z - Lz / 2)) diagnostics.diags_names = diag1 diag1.intervals = 1 diag1.diag_type = Full -diag1.fields_to_plot = Ex Ey Ez Bx By Bz +diag1.fields_to_plot = Er Et Ez Br Bt Bz