geodynamics / aspect

A parallel, extensible finite element code to simulate convection in both 2D and 3D models.
https://aspect.geodynamics.org/
Other
227 stars 237 forks source link

rand_seed always returns the same value #5114

Closed tjhei closed 1 year ago

tjhei commented 1 year ago

When using "rand_seed" in an expression like it is used in continental_extension.prm, the resulting value incorrectly is always the same value (and contains no randomness). This is a bug in deal.II 9.4 and fixed in https://github.com/dealii/dealii/pull/14765 As a workaround you can: a) update to deal.II master (or 9.5) b) switch to "rand()" instead of rand_seed

tjhei commented 1 year ago

closing this, as this is the only thing we can do in ASPECT.