Menu

Commit [r2689]  Maximize  Restore  History

Fixed the transposed spheroidal rotation matrix.

The spheroidal rotation matrix returned from the data structure 'self.relax.data.diff[run].rotation'
was incorrect. Instead of the true rotation matrix, the transpose of the matrix was being returned.
As the spheroidal rotation matrix was transposed whereas the ellipsoidal rotation matrix was correct
(the spherical rotation matrix was the identity matrix, so no problem there), the maths for
generating the PDB geometric object representing the diffusion tensor was causing problems. Now all
three geometric objects - sphere, spheroid, and ellipsoid - should be correctly generated.

bugman 2006-10-29

changed /branches/tensor_pdb/data.py
changed /branches/tensor_pdb/generic_fns/pdb.py
/branches/tensor_pdb/data.py Diff Switch to side-by-side view
Loading...
/branches/tensor_pdb/generic_fns/pdb.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.