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 2068 by tim, Tue Mar 1 19:11:47 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 < #include "math/OOPSERandNumGen.hpp"
58 > #include "math/SeqRandNumGen.hpp"
59   #ifdef IS_MPI
60   #include "io/mpiBASS.h"
61 <
61 > #include "math/ParallelRandNumGen.hpp"
62   #endif
63  
64   namespace oopse {
# Line 255 | Line 253 | void SimCreator::divideMolecules(SimInfo *info) {
253  
254      int seedValue;
255      Globals * simParams = info->getSimParams();
256 <    OOPSERandNumGen* myRandom;
256 >    SeqRandNumGen* myRandom; //divide labor does not need Parallel random number generator
257      if (simParams->haveSeed()) {
258          seedValue = simParams->getSeed();
259 <        myRandom = new OOPSERandNumGen(seedValue);
259 >        myRandom = new SeqRandNumGen(seedValue);
260      }else {
261 <        myRandom = new OOPSERandNumGen();
261 >        myRandom = new SeqRandNumGen();
262      }  
263  
264  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines