<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>Which program do want to print more digits?<br><br>PS please don't double post the same question on gmx-developers and gmx-users.<br><br>Berk<br><br>&gt; Date: Tue, 3 Aug 2010 13:26:44 +0200<br>&gt; From: qiaobf@gmail.com<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] Precision in trajectory file<br>&gt; <br>&gt; <br>&gt; The number of digits in .gro( or .pdb) is crudely fixed because of the<br>&gt; format. Otherwise, it cannot be recognized by other softwares, like VMD.<br>&gt; <br>&gt; For the .trr files, I guess, if you are indeed running double-precision<br>&gt; GMX, the leap-frog integrator is using double-precision coordinates, but<br>&gt; the printed value in .trr is also truncated due to the format problem.<br>&gt; <br>&gt; <br>&gt; <br>&gt; Inon Sharony wrote:<br>&gt; &gt; Good afternoon!<br>&gt; &gt;<br>&gt; &gt; It seems to me that although I'm running a double-precision<br>&gt; &gt; installation of GROMACS, the printout to file (of the positions and<br>&gt; &gt; velocities) is of much less precision. i.e. the computation is done on<br>&gt; &gt; numbers with something like 16 significant digits, but the last 10 of<br>&gt; &gt; those are simply truncated and lost (e.g. positions are given in<br>&gt; &gt; single-precision as 0.000 nm, and in double-precision as 0.00000 nm).<br>&gt; &gt; Since I've already spent computation time at getting double-precision,<br>&gt; &gt; I'd like to make use of all of it -- for my own reasons. I already<br>&gt; &gt; searched the manuals, mailing lists and source code for instruction<br>&gt; &gt; but didn't find any.<br>&gt; &gt; Could you please tell me how I can change the number of digits printed<br>&gt; &gt; out (e.g. to the .trr file)? I'm looking for a more elegant solution<br>&gt; &gt; than adding a printf line to the source code. Something along the<br>&gt; &gt; lines of changing the format of numbers in the function that prints to<br>&gt; &gt; .trr .<br>&gt; &gt;<br>&gt; &gt; Thanks in advance!<br>&gt; &gt;<br>&gt; <br>&gt; -- <br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>                                               </body>
</html>