[gmx-developers] problem on x updated in gromacs
Mark Abraham
mark.j.abraham at gmail.com
Thu Mar 8 07:19:34 CET 2018
Hi,
That stuff is a mess, but probably in update_constraints() you'll see the
xprime copied to x, after any constraints have acted.
Mark
On Thu, Mar 8, 2018 at 6:18 AM 1004753465 <1004753465 at qq.com> wrote:
> Hello everyone,
>
> I have a problem on how mdrun works. In update.cpp in gromacs/mdlib,
> we have the following line in function "updateMDLeapfrogGeneral" :
>
> v[n][d] = vNew;
> xprime[n][d] = x[n][d] + vNew*dt;
>
> here we update xprime. but I could not find where x[n][d] is updated
> before the next loop.
>
> Thank you for your help!
>
> Regards,
> Helena
> Shanghai Jiao Tong University
> --
> Gromacs Developers mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers
> or send a mail to gmx-developers-request at gromacs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20180308/a5828277/attachment-0001.html>
More information about the gromacs.org_gmx-developers
mailing list