Dear All,
Thank you all for the comments and advice on this. I had initially
looked (for a while) into using IEEE 754 to place a sign on the integer
zero, but there seemed to be a inconsistent approach to formatted
negative zero printing in current compilers.
In the end, I just reversed the four integers that make up the torsion
index so that chamber would never write a negative zero on k:
Hence a problematic torsion:
9 6 -0 18 1
would be reversed and written to the prmtop as be:
18 0 -6 9 1
Thanks to Dave Case, Gustavo, Wei and Ross for discussions on this; this
modification has been added to chamber in the amber11 tree.
regards,
Mark
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu May 28 2009 - 01:13:29 PDT