# | Line 660 | Line 660 | void RigidBody::getAtomPos(double theP[3], int index){ | |
---|---|---|
660 | theP[1] = pos[1] + ref[1]; | |
661 | theP[2] = pos[2] + ref[2]; | |
662 | } | |
663 | + | |
664 | ||
665 | + | void RigidBody::getAtomRefCoor(double pos[3], int index){ |
666 | + | vec3 ref; |
667 | + | |
668 | + | ref = refCoords[index]; |
669 | + | pos[0] = ref[0]; |
670 | + | pos[1] = ref[1]; |
671 | + | pos[2] = ref[2]; |
672 | + | |
673 | + | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |