<div dir="ltr"><div>Thank you.</div>
<div>Sorry for not being clearer. I meant where in the source code are the energy related functions &amp; variables?</div>
<div>Omer.<br clear="all"><br>Koby Levy research group,<br>Weizmann Institute of Science. <br><a href="http://www.weizmann.ac.il/sb/faculty_pages/Levy/">http://www.weizmann.ac.il/sb/faculty_pages/Levy/</a><br><br><br></div>

<div class="gmail_quote">On Thu, Sep 4, 2008 at 16:19, Jochen Hub <span dir="ltr">&lt;<a href="mailto:jhub@gwdg.de">jhub@gwdg.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">Omer Markovitch wrote:<br>&gt; Dear All,<br>&gt; I would like to consult you on the following two things:<br>&gt;<br>&gt; 1) I have a small, preanalysis, routine I would like to run each time a<br>&gt; frame is written and added to the trajectory file.<br>
&gt; After some checking, I believe that, in the file &quot;*stat.c*&quot;, the routine<br>&gt; &quot;*void write_xtc_traj(FILE *log,t_commrec *cr,<br>&gt; &nbsp; &nbsp; &nbsp; char *xtc_traj,t_nsborder *nsb,t_mdatoms *md,<br>&gt; &nbsp; &nbsp; &nbsp; int step,real t,rvec *xx,matrix box,real prec)*&quot;<br>
&gt; is the routine actually printing each frame.<br>&gt; Is this true or perhaps I&#39;ve missed something?<br>&gt;<br>&gt; 2) Regarding energies - where are the energies stored? I mean the energy per<br>&gt; type?<br><br>
</div>The energies of the energy groups (as defined in the mdp file) are<br>stored in the edr file (ener.edr by default).<br><br>jochen<br>
<div class="Ih2E3d"><br>&gt; In which file &amp; variable is this defined?<br>&gt; I understand that these values are printed to the log file (usually named<br>&gt; md.log), but I failed to locate the exact functions dealing with this.<br>
&gt;<br>&gt; Thanks, Omer.<br>&gt;<br>&gt; Koby Levy research group,<br>&gt; Weizmann Institute of Science.<br>&gt; <a href="http://www.weizmann.ac.il/sb/faculty_pages/Levy/" target="_blank">http://www.weizmann.ac.il/sb/faculty_pages/Levy/</a><br>
&gt;<br>&gt;<br>&gt;<br></div>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
&gt; <a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>&gt; Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>&gt; www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>&gt; Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
<br><br>--<br>************************************************<br>Dr. Jochen Hub<br>Max Planck Institute for Biophysical Chemistry<br>Computational biomolecular dynamics group<br>Am Fassberg 11<br>D-37077 Goettingen, Germany<br>
Email: jhub[at]<a href="http://gwdg.de/" target="_blank">gwdg.de</a><br>Tel.: +49 (0)551 201-2312<br>************************************************<br>_______________________________________________<br>gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
</blockquote></div><br></div>