mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Convert Compton profile binding energies to eV in IncidentPhoton.from_ace()
This commit is contained in:
parent
85205b338c
commit
e97115b443
1 changed files with 2 additions and 1 deletions
|
|
@ -468,7 +468,8 @@ class IncidentPhoton(EqualityMixin):
|
|||
|
||||
# Get binding energy for each shell
|
||||
idx = ace.jxs[7]
|
||||
data.compton_profiles['binding_energy'] = ace.xss[idx : idx+n_shell]
|
||||
e = ace.xss[idx : idx+n_shell]*EV_PER_MEV
|
||||
data.compton_profiles['binding_energy'] = e
|
||||
|
||||
# Create Compton profile for each electron shell
|
||||
profiles = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue