Skip to content

Commit

Permalink
Skip electron moment plots for Boltzmann electron runs
Browse files Browse the repository at this point in the history
The electron moment plots are not helpful in Boltzmann electron runs, as
they just replicate ion moments or a constant T_e, so skip those plots.
  • Loading branch information
johnomotani committed Sep 16, 2024
1 parent bfe6211 commit afb6ba9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,10 @@ function plots_for_variable(run_info, variable_name; plot_prefix, has_rdim=true,
all(ri.collisions.krook_collisions_option == "none" for ri run_info)
# No Krook collisions active, so do not make plots.
return nothing
elseif variable_name union(electron_moment_variables, electron_source_variables, electron_dfn_variables) &&
all(ri.composition.electron_physics (boltzmann_electron_response, boltzmann_electron_response_with_simple_sheath)
for ri run_info)
return nothing
end

println("Making plots for $variable_name")
Expand Down

0 comments on commit afb6ba9

Please sign in to comment.