mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
made secondary particle bank particle owned instead of thread private
This commit is contained in:
parent
f2bd362b4b
commit
ff27ed2bbe
8 changed files with 628 additions and 16 deletions
|
|
@ -294,6 +294,9 @@ public:
|
|||
// Current PRNG state
|
||||
uint64_t seeds_[N_STREAMS]; // current seeds
|
||||
int stream_; // current RNG stream
|
||||
|
||||
// Secondary bank
|
||||
std::vector<Particle::Bank> secondary_bank_;
|
||||
};
|
||||
|
||||
} // namespace openmc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue