Skip to content

Commit

Permalink
Add additional (non default) geometry option to precompile_run.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Hardman committed May 1, 2024
1 parent 6b75c63 commit 5205aba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion util/precompile_run.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ collisions_input = merge(wall_bc_cheb_input, Dict("n_neutral_species" => 0,
"vperp_discretization" => "gausslegendre_pseudospectral",
"vpa_discretization" => "gausslegendre_pseudospectral",
))
push!(inputs_list, collisions_input)
# add an additional input for every geometry option available in addition to the default
geo_input1 = merge(wall_bc_cheb_input, Dict("n_neutral_species" => 0,
"geometry" => Dict{String,Any}("option" => "1D-mirror", "DeltaB" => 0.5, "pitch" => 0.5, "rhostar" => 1.0)))

push!(inputs_list, collisions_input, geo_input1)

for input in inputs_list
run_moment_kinetics(input)
Expand Down

0 comments on commit 5205aba

Please sign in to comment.