Skip to content

Commit

Permalink
Update atomic.h
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Aug 30, 2024
1 parent 50cd8de commit dd6d29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ inline auto get_nphixstargets(const int element, const int ion, const int level)
}

inline auto get_phixs_table(const int element, const int ion, const int level) -> float * {
return globals::elements[element].ions[ion].levels[level].photoion_xs;
return globals::allphixs + globals::elements[element].ions[ion].levels[level].phixsstart;
}

// Calculate the photoionisation cross-section at frequency nu out of the atomic data.
Expand Down

0 comments on commit dd6d29e

Please sign in to comment.