mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
refactor seed and seed aray variable names
This commit is contained in:
parent
0602ddd8a3
commit
163d16f091
1 changed files with 2 additions and 2 deletions
|
|
@ -55,10 +55,10 @@ uint64_t init_seed(int64_t id, int offset)
|
|||
// INIT_PARTICLE_SEEDS
|
||||
//==============================================================================
|
||||
|
||||
void init_particle_seeds(int64_t id, uint64_t* prn_seeds)
|
||||
void init_particle_seeds(int64_t id, uint64_t* seeds)
|
||||
{
|
||||
for (int i = 0; i < N_STREAMS; i++) {
|
||||
prn_seeds[i] = future_seed(static_cast<uint64_t>(id) * prn_stride, master_seed + i);
|
||||
seeds[i] = future_seed(static_cast<uint64_t>(id) * prn_stride, master_seed + i);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue