mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Particle is alive is wgt != 0
This commit is contained in:
parent
2bb6ba25af
commit
d2ddc6e7ad
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ public:
|
|||
const double& time() const { return time_; }
|
||||
double& time_last() { return time_last_; }
|
||||
const double& time_last() const { return time_last_; }
|
||||
bool alive() { return wgt_ > 0.0; }
|
||||
bool alive() { return wgt_ != 0.0; }
|
||||
|
||||
Position& r_last_current() { return r_last_current_; }
|
||||
const Position& r_last_current() const { return r_last_current_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue