[Trilinos-Users] Belos/Eptra: Seeding RNG

Heroux, Michael A maherou at sandia.gov
Sat Mar 28 09:28:45 MDT 2015


Nico,

Are you seeing that the Belos traits wrapper is not working, or Epetra itself?

Mike

From: Nico Schlömer <nico.schloemer at gmail.com<mailto:nico.schloemer at gmail.com>>
Date: Saturday, March 28, 2015 at 10:16 AM
To: "trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>" <trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>
Subject: [EXTERNAL] [Trilinos-Users] Belos/Eptra: Seeding RNG

I find
```
X->Seed();
X->Random();
```
in Belos a couple of times, probably intending to seed the random number.
When looking at the code, however, I find that the seed only returns a variable rather than actually seeding the RNG.

How is this supposed to be used correctly?

Cheers,
Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20150328/92b8d459/attachment.html>


More information about the Trilinos-Users mailing list