| 43 |
|
#ifndef INTEGRATORS_FLUCTUATINGCHARGEPROPAGATOR_HPP |
| 44 |
|
#define INTEGRATORS_FLUCTUATINGCHARGEPROPAGATOR_HPP |
| 45 |
|
|
| 46 |
– |
#include "primitives/StuntDouble.hpp" |
| 46 |
|
#include "brains/SimInfo.hpp" |
| 47 |
+ |
#include "brains/ForceManager.hpp" |
| 48 |
+ |
#include "flucq/FluctuatingChargeConstraints.hpp" |
| 49 |
|
|
| 50 |
|
namespace OpenMD { |
| 51 |
|
|
| 55 |
|
*/ |
| 56 |
|
class FluctuatingChargePropagator { |
| 57 |
|
public: |
| 58 |
< |
FluctuatingChargePropagator(SimInfo* info) : info_(info), hasFlucQ_(false) {}; |
| 58 |
> |
FluctuatingChargePropagator(SimInfo* info, ForceManager* forceMan); |
| 59 |
|
virtual ~FluctuatingChargePropagator(){ } |
| 60 |
< |
virtual void initialize() = 0; |
| 60 |
> |
virtual void initialize(); |
| 61 |
|
virtual void updateSizes() = 0; |
| 62 |
|
virtual void moveA() = 0; |
| 63 |
|
virtual void applyConstraints(); |
| 64 |
|
virtual void moveB() = 0; |
| 65 |
|
|
| 66 |
|
protected: |
| 67 |
+ |
FluctuatingChargeParameters* fqParams_; |
| 68 |
+ |
FluctuatingChargeConstraints* fqConstraints_; |
| 69 |
|
SimInfo* info_; |
| 70 |
+ |
ForceManager* forceMan_; |
| 71 |
|
bool hasFlucQ_; |
| 72 |
+ |
|
| 73 |
|
}; |
| 74 |
|
} |
| 75 |
|
#endif |