Skip to content

Commit

Permalink
removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Mar 30, 2024
1 parent 6e5aa3b commit bbdb65c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/openmc_plasma_source/point_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ def fusion_point_source(
ion_temperature=temperature, fuel=fuel
)

# if isinstance(energy_distributions, openmc.stats.Normal) or isinstance(energy_distributions, openmc.stats.Discrete) or isinstance(energy_distributions, openmc.stats.Tabular):
# source = openmc.Source()
# source.energy = energy_distributions
# source.space = openmc.stats.Point(coordinate)
# source.angle = openmc.stats.Isotropic()
# return source

# else:
for energy_distribution, strength in zip(energy_distributions, strengths):
source = openmc.IndependentSource()
source.energy = energy_distribution
Expand Down

0 comments on commit bbdb65c

Please sign in to comment.