diff --git a/moment_kinetics/src/external_sources.jl b/moment_kinetics/src/external_sources.jl index 8b6886666..00ea31958 100644 --- a/moment_kinetics/src/external_sources.jl +++ b/moment_kinetics/src/external_sources.jl @@ -397,7 +397,7 @@ function setup_external_sources!(input_dict, r, z, electron_physics; ignore_MPI= source_strength=ion_settings.source_strength, source_T=ion_settings.source_T, ) - if ion_settings.source_type != "energy" && ion_settings.source_type != "temperature_midpoint_control" + if ion_settings.source_type ∉("energy", "temperature_midpoint_control") # Need to keep same amplitude for ions and electrons so there is no charge # source. if input["source_strength"] != ion_settings.source_strength diff --git a/moment_kinetics/test/multi_source_tests.jl b/moment_kinetics/test/multi_source_tests.jl index bf773be25..f79d7ba08 100644 --- a/moment_kinetics/test/multi_source_tests.jl +++ b/moment_kinetics/test/multi_source_tests.jl @@ -262,32 +262,3 @@ end using .Multi_Source_Tests Multi_Source_Tests.runtests() - - - - - - - - - - - - - - - - - - - - - - - - - - - - -