Skip to content
Snippets Groups Projects
Commit 16865ad4 authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'fluctuating' into 'master'

Fluctuating MRT: infer RNG precision from field precision

See merge request walberla/walberla!410
parents f0473aee 3b2f5b48
No related merge requests found
...@@ -44,6 +44,7 @@ with CodeGeneration() as ctx: ...@@ -44,6 +44,7 @@ with CodeGeneration() as ctx:
fluctuating={ fluctuating={
'temperature': temperature, 'temperature': temperature,
'block_offsets': 'walberla', 'block_offsets': 'walberla',
'rng_node': ps.rng.PhiloxTwoDoubles if ctx.double_accuracy else ps.rng.PhiloxFourFloats,
}, },
optimization={'cse_global': True} optimization={'cse_global': True}
) )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment