1 |
< |
/* |
1 |
> |
/* |
2 |
|
* Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. |
3 |
|
* |
4 |
|
* The University of Notre Dame grants you ("Licensee") a |
39 |
|
* such damages. |
40 |
|
*/ |
41 |
|
|
42 |
< |
/** |
43 |
< |
* @file Velocitizer.hpp |
44 |
< |
* @author tlin |
45 |
< |
* @date 11/14/2004 |
46 |
< |
* @time 13:25am |
47 |
< |
* @version 1.0 |
48 |
< |
*/ |
42 |
> |
/** |
43 |
> |
* @file Velocitizer.hpp |
44 |
> |
* @author tlin |
45 |
> |
* @date 11/14/2004 |
46 |
> |
* @time 13:25am |
47 |
> |
* @version 1.0 |
48 |
> |
*/ |
49 |
|
|
50 |
|
#ifndef INTEGRATORS_VELOCITIZER_HPP |
51 |
|
#define INTEGRATORS_VELOCITIZER_HPP |
52 |
|
#include "brains/SimInfo.hpp" |
53 |
< |
#include "math/OOPSERandNumGen.hpp" |
53 |
> |
#include "math/RandNumGen.hpp" |
54 |
|
|
55 |
|
namespace oopse { |
56 |
|
|
57 |
< |
/** |
58 |
< |
* @class Velocitizer Velocitizer.hpp "integratos/Velocitizer.hpp" |
59 |
< |
* @todo document |
60 |
< |
*/ |
61 |
< |
class Velocitizer { |
62 |
< |
public: |
63 |
< |
Velocitizer(SimInfo* info); |
64 |
< |
virtual ~Velocitizer(); |
57 |
> |
/** |
58 |
> |
* @class Velocitizer Velocitizer.hpp "integratos/Velocitizer.hpp" |
59 |
> |
* @todo document |
60 |
> |
*/ |
61 |
> |
class Velocitizer { |
62 |
> |
public: |
63 |
> |
Velocitizer(SimInfo* info); |
64 |
> |
virtual ~Velocitizer(); |
65 |
|
|
66 |
< |
void velocitize(double temperature); |
66 |
> |
void velocitize(RealType temperature); |
67 |
|
|
68 |
< |
void removeComDrift(); |
68 |
> |
void removeComDrift(); |
69 |
> |
/* |
70 |
> |
Removes center of mass angular momemtum |
71 |
> |
*/ |
72 |
> |
void removeAngularDrift(); |
73 |
|
|
74 |
< |
private: |
74 |
> |
private: |
75 |
|
|
76 |
< |
SimInfo* info_; |
73 |
< |
OOPSERandNumGen* randNumGen_; |
76 |
> |
SimInfo* info_; |
77 |
|
|
78 |
< |
}; |
78 |
> |
RandNumGen* randNumGen_; |
79 |
|
|
80 |
+ |
}; |
81 |
+ |
|
82 |
|
} |
83 |
|
#endif //INTEGRATORS_VELOCITIZER_HPP |