Avoid negative heating values during pair production and bremsstrahlung (#3426)

Co-authored-by: GuySten <guyste@post.bgu.ac.il>
This commit is contained in:
Paul Romano 2025-06-05 10:45:49 -05:00 committed by GitHub
parent dadc4fe418
commit 4943fa3630
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 88 additions and 32 deletions

View file

@ -573,7 +573,8 @@ public:
bool& fission() { return fission_; } // true if implicit fission
int& event_nuclide() { return event_nuclide_; } // index of collision nuclide
const int& event_nuclide() const { return event_nuclide_; }
int& event_mt() { return event_mt_; } // MT number of collision
int& event_mt() { return event_mt_; } // MT number of collision
const int& event_mt() const { return event_mt_; }
int& delayed_group() { return delayed_group_; } // delayed group
const int& parent_nuclide() const { return parent_nuclide_; }
int& parent_nuclide() { return parent_nuclide_; } // Parent nuclide