mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Weight Window Birth Scaling (#3459)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
3d16d4b100
commit
eaef13b9bc
3 changed files with 25 additions and 0 deletions
|
|
@ -435,6 +435,7 @@ private:
|
|||
|
||||
double wgt_ {1.0};
|
||||
double wgt_born_ {1.0};
|
||||
double wgt_ww_born_ {-1.0};
|
||||
double mu_;
|
||||
double time_ {0.0};
|
||||
double time_last_ {0.0};
|
||||
|
|
@ -545,6 +546,10 @@ public:
|
|||
double& wgt_born() { return wgt_born_; }
|
||||
double wgt_born() const { return wgt_born_; }
|
||||
|
||||
// Weight window value at birth
|
||||
double& wgt_ww_born() { return wgt_ww_born_; }
|
||||
const double& wgt_ww_born() const { return wgt_ww_born_; }
|
||||
|
||||
// Statistic weight of particle at last collision
|
||||
double& wgt_last() { return wgt_last_; }
|
||||
const double& wgt_last() const { return wgt_last_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue