| # | Line 50 | Line 50 | |
|---|---|---|
| 50 | #ifndef INTEGRATORS_VELOCITIZER_HPP | |
| 51 | #define INTEGRATORS_VELOCITIZER_HPP | |
| 52 | #include "brains/SimInfo.hpp" | |
| 53 | < | #include "math/OOPSERandNumGen.hpp" |
| 53 | > | #include "math/ParallelRandNumGen.hpp" |
| 54 | ||
| 55 | namespace oopse { | |
| 56 | ||
| # | Line 70 | Line 70 | class Velocitizer { | |
| 70 | private: | |
| 71 | ||
| 72 | SimInfo* info_; | |
| 73 | – | OOPSERandNumGen* randNumGen_; |
| 73 | ||
| 74 | + | /**@todo random number generator should have same interface*/ |
| 75 | + | #ifndef IS_MPI |
| 76 | + | MTRand* randNumGen_; |
| 77 | + | #else |
| 78 | + | ParallelRandNumGen* randNumGen_; |
| 79 | + | #endif |
| 80 | }; | |
| 81 | ||
| 82 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |