<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
    </head>
    <body>
        <p>
            &#160;Hi GMX people!
        </p>
        <p>
            I'm trying to check that the energies I can calculate using the trajectory output are the same as those given by g_energy. I'm running a diatomic for only a couple of steps and already there are inconsistencies. I suspect that one possible factor could be that the leap-frog algorithm uses trajectory data (i.e. positions and velocities) different from those printed to the trajectory file.
        </p>
        <p>
            Could you please direct me to the file and line in the source code where the kinetic and potential energies are calculated, just before they are printed to the edr file?
        </p>
        <p>
            <br />
        </p>
        <p>
            Thanks in advance,<br />
        </p>
        <p class="imp-signature">
            --<br />
            Inon&#160; &#160;Sharony<br />
            ינון&#160; &#160; &#160;שרוני<br />
            +972(3)6407634<br />
            atto.TAU.ac.IL/~inonshar<br />
            Please consider your environmental responsibility before printing this e-mail.
        </p>
    </body>
</html>