From 2533f0ec80cf45a29f029ca91ae5ccb8252c9876 Mon Sep 17 00:00:00 2001 From: Andy Nonaka Date: Fri, 3 May 2024 09:14:18 -0700 Subject: [PATCH] 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