Moved seed accessor functions into header. Changed python rotate_angle default seed generation technique.

This commit is contained in:
John Tramm 2019-12-06 14:56:42 +00:00
parent 163d16f091
commit c84fc282a5
3 changed files with 4 additions and 7 deletions

View file

@ -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