| # | Line 92 | Line 92 | namespace oopse { | |
|---|---|---|
| 92 | atom2_->addFrc(f2 - f1); | |
| 93 | atom3_->addFrc(f3 - f2); | |
| 94 | atom4_->addFrc(-f3); | |
| 95 | + | |
| 96 | + | atom1_->addParticlePot(potential_); |
| 97 | + | atom2_->addParticlePot(potential_); |
| 98 | + | atom3_->addParticlePot(potential_); |
| 99 | + | atom4_->addParticlePot(potential_); |
| 100 | + | |
| 101 | angle = acos(cos_phi) /M_PI * 180.0; | |
| 102 | } | |
| 103 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |