[cig-commits] [commit] master: Merge branch 'bangerth_make-particle-generation-more-predictable' (a3863d7)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Fri Aug 15 11:39:05 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/87089066634e9d7af35660b68195b862c2973c44...a3863d7f36991fe70444446b43568d7f7c3c3cd7
>---------------------------------------------------------------
commit a3863d7f36991fe70444446b43568d7f7c3c3cd7
Merge: 8708906 c2ff3af
Author: Timo Heister <timo.heister at gmail.com>
Date: Fri Aug 15 14:37:31 2014 -0400
Merge branch 'bangerth_make-particle-generation-more-predictable'
(this supersedes pull request #188)
The previous version used drand48 which is not thread-safe and whose
implementation can, at least in principle, be different on different
systems. The new version is more predictable, using a member variable
and a known random number generator from the BOOST library.
Also fix test output related to these changes.
>---------------------------------------------------------------
a3863d7f36991fe70444446b43568d7f7c3c3cd7
source/particle/generator.cc | 19 +-
.../particles-00000.0000.vtu | 3904 ++++++-------
.../particles-00003.0000.vtu | 5922 ++++++++++----------
.../particles-00006.0000.vtu | 5898 +++++++++----------
.../particles-00009.0000.vtu | 5908 +++++++++----------
tests/sol_cx_tracers/particles-00000.0000.vtu | 3910 ++++++-------
tests/sol_cx_tracers/particles-00010.0000.vtu | 5896 +++++++++----------
7 files changed, 15735 insertions(+), 15722 deletions(-)
More information about the CIG-COMMITS
mailing list