Skip to content

Better rng - #1290

Open
lassejsc wants to merge 6 commits into
fmihpc:devfrom
lassejsc:betterRNG
Open

lassejsc wants to merge 6 commits into
fmihpc:devfrom
lassejsc:betterRNG

Conversation

@lassejsc

@lassejsc lassejsc commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Earlier the vlasovmover used the default_random_engine which was quite bad at not being correlated for subsequent timesteps if we generate couple numbers. This has been now exchanged to use std::knuth_b , and to make it truly bit more random there is no a scalar multiplier added to the P::timestep seeding which can be adjusted via map_order.seed parameter.

@lassejsc
lassejsc marked this pull request as ready for review June 1, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant