From 753e320f285a3f7642ece4c4768fc539f9949164 Mon Sep 17 00:00:00 2001 From: Michael Hardman <29800382+mrhardman@users.noreply.github.com> Date: Fri, 22 Nov 2024 10:03:09 +0000 Subject: [PATCH] Add boundary_data_option values to util/precompile_run.jl to ensure that these options are precompiled. --- util/precompile_run.jl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/util/precompile_run.jl b/util/precompile_run.jl index 40ed0e57b..a1e3e58ad 100644 --- a/util/precompile_run.jl +++ b/util/precompile_run.jl @@ -82,6 +82,16 @@ collisions_input2 = recursive_merge(wall_bc_cheb_input, OptionsDict("composition "bc" => "zero-impose-regularity"), "vpa" => OptionsDict("discretization" => "gausslegendre_pseudospectral"), )) +collisions_input3 = recursive_merge(wall_bc_cheb_input, OptionsDict("composition" => OptionsDict("n_neutral_species" => 0), + "fokker_planck_collisions" => OptionsDict("use_fokker_planck" => true, "self_collisions" => true, "boundary_data_option" => "delta_f_multipole"), + "vperp" => OptionsDict("discretization" => "gausslegendre_pseudospectral"), + "vpa" => OptionsDict("discretization" => "gausslegendre_pseudospectral"), + )) +collisions_input4 = recursive_merge(wall_bc_cheb_input, OptionsDict("composition" => OptionsDict("n_neutral_species" => 0), + "fokker_planck_collisions" => OptionsDict("use_fokker_planck" => true, "self_collisions" => true, "boundary_data_option" => "multipole_expansion"), + "vperp" => OptionsDict("discretization" => "gausslegendre_pseudospectral"), + "vpa" => OptionsDict("discretization" => "gausslegendre_pseudospectral"), + )) # add an additional input for every geometry option available in addition to the default geo_input1 = recursive_merge(wall_bc_cheb_input, OptionsDict("composition" => OptionsDict("n_neutral_species" => 0), "geometry" => OptionsDict("option" => "1D-mirror", "DeltaB" => 0.5, "pitch" => 0.5, "rhostar" => 1.0))) @@ -109,7 +119,7 @@ kinetic_electron_input = recursive_merge(cheb_input, OptionsDict("evolve_moments "no_restart" => true), )) -push!(inputs_list, collisions_input1, collisions_input2, geo_input1, kinetic_electron_input) +push!(inputs_list, collisions_input1, collisions_input2, collisions_input3, collisions_input4, geo_input1, kinetic_electron_input) for input in inputs_list run_moment_kinetics(input)