mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Moved seed accessor functions into header. Changed python rotate_angle default seed generation technique.
This commit is contained in:
parent
163d16f091
commit
c84fc282a5
3 changed files with 4 additions and 7 deletions
|
|
@ -219,8 +219,8 @@ public:
|
|||
void write_restart() const;
|
||||
|
||||
//! Gets the pointer to the particle's current PRN seed
|
||||
uint64_t* current_seed();
|
||||
const uint64_t* current_seed() const;
|
||||
uint64_t* current_seed() {return seeds_ + stream_;}
|
||||
const uint64_t* current_seed() const {return seeds_ + stream_;}
|
||||
|
||||
//==========================================================================
|
||||
// Data members
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue