Commit 14cbfaaa authored by Dave Moxey's avatar Dave Moxey

Seed random number generator with rank of communicator

parent a576c8b9
......@@ -257,6 +257,8 @@ namespace Nektar
void SessionReader::InitSession()
m_exprEvaluator.SetRandomSeed((m_comm->GetRank() + 1) * time(NULL));
// Split up the communicator
Markdown is supported
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