Skip to content

Commit

Permalink
Catch incorrectly placed "electron_physics" option.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardman committed Aug 13, 2024
1 parent 13a2bd3 commit 9028b0e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions moment_kinetics/test/fokker_planck_time_evolution_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,6 @@ test_input_gauss_legendre = Dict("run_name" => "gausslegendre_pseudospectral",
"vperp_discretization" => "gausslegendre_pseudospectral",
"ionization_frequency" => 0.0,
"charge_exchange_frequency" => 0.0,
"constant_ionization_rate" => false,
"electron_physics" => "boltzmann_electron_response",
"fokker_planck_collisions" => OptionsDict("use_fokker_planck" => true, "nuii" => 1.0, "frequency_option" => "manual"),
"evolve_moments_parallel_pressure" => false,
"evolve_moments_conservation" => false,
Expand Down
2 changes: 1 addition & 1 deletion util/precompile_run.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ kinetic_electron_input = merge(cheb_input, Dict("evolve_moments_density" => true
"vzeta_nelement" => 1,
"vr_ngrid" => 1,
"vr_nelement" => 1,
"electron_physics" => "kinetic_electrons",
"composition" => OptionsDict("electron_physics" => "kinetic_electrons"),
"electron_timestepping" => OptionsDict("nstep" => 1,
"dt" => 2.0e-11,
"initialization_residual_value" => 1.0e10,
Expand Down
2 changes: 1 addition & 1 deletion util/precompile_run_kinetic-electrons.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ input = Dict("run_name" => "precompilation",
"evolve_moments_density" => true,
"evolve_moments_parallel_flow" => true,
"evolve_moments_parallel_pressure" => true,
"electron_physics" => "kinetic_electrons",
"composition" => OptionsDict("electron_physics" => "kinetic_electrons"),
"r_ngrid" => 1,
"r_nelement" => 1,
"r_bc" => "periodic",
Expand Down

0 comments on commit 9028b0e

Please sign in to comment.