mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Make ParticleData::alive() a const method
This commit is contained in:
parent
d2ddc6e7ad
commit
50a35cf7f3
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() const { 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