From 2533f0ec80cf45a29f029ca91ae5ccb8252c9876 Mon Sep 17 00:00:00 2001 From: Andy Nonaka Date: Fri, 3 May 2024 09:14:18 -0700 Subject: [PATCH 1/3] smaller nvidia setup problem --- Examples/Tests/circuits/inputs_resonator | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Examples/Tests/circuits/inputs_resonator b/Examples/Tests/circuits/inputs_resonator index 0931ff71a..4049da0b8 100644 --- a/Examples/Tests/circuits/inputs_resonator +++ b/Examples/Tests/circuits/inputs_resonator @@ -14,7 +14,7 @@ stop_time = 100 * wavelength/c warpx.cfl = 0.9 # number of cells in each direction -my_constants.ncells = 200 +my_constants.ncells = 40 amr.n_cell = ncells ncells ncells amr.max_grid_size = ncells @@ -112,14 +112,14 @@ warpx.Bx_excitation_flag_function(x,y,z) = "2 * (x>-smalldx) * (x warpx.By_excitation_flag_function(x,y,z) = "0." warpx.Bz_excitation_flag_function(x,y,z) = "0." -warpx.Bx_excitation_grid_function(x,y,z,t) = "exp(-(t-t0)*(t-t0)/(BW*BW))*cos(2*pi*f*(t-t0))" +warpx.Bx_excitation_grid_function(x,y,z,t) = "exp(-(t-t0)*(t-t0)/(BW*BW))*sin(2*pi*f*(t-t0))" warpx.By_excitation_grid_function(x,y,z,t) = "0." warpx.Bz_excitation_grid_function(x,y,z,t) = "0." # plotfile diagnostics diagnostics.diags_names = plt plt.intervals = 100 -plt.fields_to_plot = Ex Ey Ez Bx By Bz +plt.fields_to_plot = Ex Ey Ez Bx By Bz sigma plt.diag_type = Full plt.plot_raw_fields = 1 From 30aae4b5b089f8b9b3c345d5def2f6f60441f58d Mon Sep 17 00:00:00 2001 From: Andy Nonaka Date: Fri, 3 May 2024 09:16:03 -0700 Subject: [PATCH 2/3] diable raw fields for now --- Examples/Tests/circuits/inputs_resonator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/Tests/circuits/inputs_resonator b/Examples/Tests/circuits/inputs_resonator index 4049da0b8..b9ef92d00 100644 --- a/Examples/Tests/circuits/inputs_resonator +++ b/Examples/Tests/circuits/inputs_resonator @@ -121,7 +121,7 @@ diagnostics.diags_names = plt plt.intervals = 100 plt.fields_to_plot = Ex Ey Ez Bx By Bz sigma plt.diag_type = Full -plt.plot_raw_fields = 1 +plt.plot_raw_fields = 0 # output diagnostics warpx.reduced_diags_names = Eobs1 From 9124e6b44afd2afe68c3b359f45271e203e60966 Mon Sep 17 00:00:00 2001 From: Andy Nonaka Date: Mon, 6 May 2024 08:07:48 -0700 Subject: [PATCH 3/3] no sigma in plot --- Examples/Tests/circuits/inputs_resonator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/Tests/circuits/inputs_resonator b/Examples/Tests/circuits/inputs_resonator index b9ef92d00..86588ea50 100644 --- a/Examples/Tests/circuits/inputs_resonator +++ b/Examples/Tests/circuits/inputs_resonator @@ -119,7 +119,7 @@ warpx.Bz_excitation_grid_function(x,y,z,t) = "0." # plotfile diagnostics diagnostics.diags_names = plt plt.intervals = 100 -plt.fields_to_plot = Ex Ey Ez Bx By Bz sigma +plt.fields_to_plot = Ex Ey Ez Bx By Bz plt.diag_type = Full plt.plot_raw_fields = 0