dealii/dealii — pull request #247 by bangerth (2014-11-13 17:14:33+00:00)
Title: Use a different random number generator.

For historical reason, GridTools::distort_random() is not deterministic in that if
you call it twice on the same mesh, it will produce different results. This is because
we call rand() which carries around internal state. On the other hand, for the newly
implemented parallel algorithm, we can ensure that this isn't the case by creating
our own random number generator that we start from the same seed every time.