ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/brains/SimCreator.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/brains/SimCreator.cpp (file contents):
Revision 2076 by tim, Wed Mar 2 15:36:14 2005 UTC vs.
Revision 2077 by tim, Wed Mar 2 16:28:20 2005 UTC

# Line 57 | Line 57
57   #include "UseTheForce/ForceFieldFactory.hpp"
58   #include "utils/simError.h"
59   #include "utils/StringUtils.hpp"
60 <
60 > #include "math/SeqRandNumGen.hpp"
61   #ifdef IS_MPI
62   #include "io/mpiBASS.h"
63   #include "math/ParallelRandNumGen.hpp"
# Line 258 | Line 258 | void SimCreator::divideMolecules(SimInfo *info) {
258      SeqRandNumGen* myRandom; //divide labor does not need Parallel random number generator
259      if (simParams->haveSeed()) {
260          seedValue = simParams->getSeed();
261 <        myRandom = new MTRand(seedValue);
261 >        myRandom = new SeqRandNumGen(seedValue);
262      }else {
263 <        myRandom = new MTRand();
263 >        myRandom = new SeqRandNumGen();
264      }  
265  
266  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines