--- trunk/src/brains/SimCreator.cpp 2005/03/01 23:02:33 388 +++ trunk/src/brains/SimCreator.cpp 2005/03/04 15:29:03 397 @@ -47,8 +47,6 @@ * @version 1.0 */ -#include - #include "brains/MoleculeCreator.hpp" #include "brains/SimCreator.hpp" #include "brains/SimSnapshotManager.hpp" @@ -57,9 +55,10 @@ #include "UseTheForce/ForceFieldFactory.hpp" #include "utils/simError.h" #include "utils/StringUtils.hpp" -#include "math/MersenneTwister.hpp" +#include "math/SeqRandNumGen.hpp" #ifdef IS_MPI #include "io/mpiBASS.h" +#include "math/ParallelRandNumGen.hpp" #endif namespace oopse { @@ -254,12 +253,12 @@ void SimCreator::divideMolecules(SimInfo *info) { int seedValue; Globals * simParams = info->getSimParams(); - MTRand* myRandom; //divide labor does not need Parallel random number generator + SeqRandNumGen* myRandom; //divide labor does not need Parallel random number generator if (simParams->haveSeed()) { seedValue = simParams->getSeed(); - myRandom = new MTRand(seedValue); + myRandom = new SeqRandNumGen(seedValue); }else { - myRandom = new MTRand(); + myRandom = new SeqRandNumGen(); }