ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/integrators/Velocitizer.hpp
(Generate patch)

Comparing trunk/OOPSE-2.0/src/integrators/Velocitizer.hpp (file contents):
Revision 1930 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 2072 by tim, Tue Mar 1 23:02:33 2005 UTC

# Line 50 | Line 50
50   #ifndef INTEGRATORS_VELOCITIZER_HPP
51   #define INTEGRATORS_VELOCITIZER_HPP
52   #include "brains/SimInfo.hpp"
53 + #include "math/ParallelRandNumGen.hpp"
54  
55   namespace oopse {
56  
# Line 59 | Line 60 | class Velocitizer {
60   */
61   class Velocitizer {
62      public:
63 <        Velocitizer(SimInfo* info) : info_(info) {}
64 <
63 >        Velocitizer(SimInfo* info);
64 >        virtual ~Velocitizer();
65 >        
66          void velocitize(double temperature);
67  
68          void removeComDrift();
# Line 69 | Line 71 | class Velocitizer {
71          
72          SimInfo* info_;
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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines