--- trunk/src/primitives/GhostTorsion.cpp 2008/10/21 16:44:00 1308 +++ trunk/src/primitives/GhostTorsion.cpp 2008/10/21 18:23:31 1309 @@ -91,6 +91,10 @@ namespace oopse { f3.negate(); ghostAtom->addTrq(cross(r43, f3)); + atom1_->addParticlePot(potential_); + atom2_->addParticlePot(potential_); + ghostAtom->addParticlePot(potential_); + angle = acos(cos_phi) /M_PI * 180.0; } }