# | Line 74 | Line 74 | namespace OpenMD { | |
---|---|---|
74 | ||
75 | void RigidBody::setA(const RotMat3x3d& a, int snapshotNo) { | |
76 | ((snapshotMan_->getSnapshot(snapshotNo))->*storage_).aMat[localIndex_] = a; | |
77 | < | |
78 | < | //((snapshotMan_->getSnapshot(snapshotNo))->*storage_).electroFrame[localIndex_] = a.transpose() * sU_; |
79 | < | |
77 | > | |
78 | for (unsigned int i = 0 ; i < atoms_.size(); ++i){ | |
79 | if (atoms_[i]->isDirectional()) { | |
80 | atoms_[i]->setA(refOrients_[i].transpose() * a, snapshotNo); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |