Skip to content

Commit

Permalink
Merge pull request #117 from ajnonaka/nvidia-setup
Browse files Browse the repository at this point in the history
smaller nvidia setup problem
  • Loading branch information
ajnonaka authored May 6, 2024
2 parents 2ab1c19 + 9124e6b commit 5dfeae8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Examples/Tests/circuits/inputs_resonator
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -112,7 +112,7 @@ warpx.Bx_excitation_flag_function(x,y,z) = "2 * (x>-smalldx) * (x<smalldx) * (y>
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."

Expand All @@ -121,7 +121,7 @@ diagnostics.diags_names = plt
plt.intervals = 100
plt.fields_to_plot = Ex Ey Ez Bx By Bz
plt.diag_type = Full
plt.plot_raw_fields = 1
plt.plot_raw_fields = 0

# output diagnostics
warpx.reduced_diags_names = Eobs1
Expand Down

0 comments on commit 5dfeae8

Please sign in to comment.