| # | Line 90 | Line 90 | namespace OpenMD { | |
|---|---|---|
| 90 | delete forceMan_; | |
| 91 | } | |
| 92 | forceMan_ = forceMan; | |
| 93 | + | // forward this on: |
| 94 | + | if (flucQ_ != NULL) { |
| 95 | + | flucQ_->setForceManager(forceMan_); |
| 96 | + | } |
| 97 | } | |
| 98 | ||
| 99 | void setVelocitizer(Velocitizer* velocitizer) { | |
| # | Line 104 | Line 108 | namespace OpenMD { | |
| 108 | delete flucQ_; | |
| 109 | } | |
| 110 | flucQ_ = prop; | |
| 111 | + | if (forceMan_ != NULL) { |
| 112 | + | flucQ_->setForceManager(forceMan_); |
| 113 | + | } |
| 114 | } | |
| 115 | ||
| 116 | void setRotationAlgorithm(RotationAlgorithm* algo) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |