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 2081 by gezelter, Fri Mar 4 15:29:03 2005 UTC

# Line 47 | Line 47
47   * @version 1.0
48   */
49  
50 #include <sprng.h>
51
50   #include "brains/MoleculeCreator.hpp"
51   #include "brains/SimCreator.hpp"
52   #include "brains/SimSnapshotManager.hpp"
# Line 57 | Line 55
55   #include "UseTheForce/ForceFieldFactory.hpp"
56   #include "utils/simError.h"
57   #include "utils/StringUtils.hpp"
58 <
58 > #include "math/SeqRandNumGen.hpp"
59   #ifdef IS_MPI
60   #include "io/mpiBASS.h"
61   #include "math/ParallelRandNumGen.hpp"
# Line 258 | Line 256 | void SimCreator::divideMolecules(SimInfo *info) {
256      SeqRandNumGen* myRandom; //divide labor does not need Parallel random number generator
257      if (simParams->haveSeed()) {
258          seedValue = simParams->getSeed();
259 <        myRandom = new MTRand(seedValue);
259 >        myRandom = new SeqRandNumGen(seedValue);
260      }else {
261 <        myRandom = new MTRand();
261 >        myRandom = new SeqRandNumGen();
262      }  
263  
264  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines