Skip to content

Commit

Permalink
Increase r_ngrid and z_ngrid to 3 in debug check for collisions
Browse files Browse the repository at this point in the history
ngrid=2 results in an out-of-bounds index error in Chebyshev
derivatives.
  • Loading branch information
johnomotani committed Nov 26, 2023
1 parent fb3be3a commit b1d73e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debug_test/fokker_planck_collisions_inputs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test_input_full_f = Dict(
"r_bc" => "periodic",
"r_discretization" => "chebyshev_pseudospectral",
"r_nelement" => 1,
"r_ngrid" => 2,
"r_ngrid" => 3,
"rhostar" => 1.0,
"split_operators" => false,
"vpa_L" => 6.0,
Expand Down Expand Up @@ -59,7 +59,7 @@ test_input_full_f = Dict(
"z_bc" => "wall",
"z_discretization" => "chebyshev_pseudospectral",
"z_nelement" => 1,
"z_ngrid" => 2,
"z_ngrid" => 3,
)

test_input_list = [
Expand Down

0 comments on commit b1d73e5

Please sign in to comment.