Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
johnomotani authored Jan 17, 2025
1 parent 1553fa6 commit af475cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
2 changes: 1 addition & 1 deletion moment_kinetics/src/external_sources.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
29 changes: 0 additions & 29 deletions moment_kinetics/test/multi_source_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -262,32 +262,3 @@ end
using .Multi_Source_Tests

Multi_Source_Tests.runtests()





























0 comments on commit af475cc

Please sign in to comment.