[gmx-developers] problem on x updated in gromacs
mark.j.abraham at gmail.com
Thu Mar 8 07:19:34 CET 2018
That stuff is a mess, but probably in update_constraints() you'll see the
xprime copied to x, after any constraints have acted.
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!
> Shanghai Jiao Tong University
> Gromacs Developers mailing list
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> * For (un)subscribe requests visit
> or send a mail to gmx-developers-request at gromacs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gromacs.org_gmx-developers