[gmx-developers] LJ interaction

Chenyue Xing cxing at ucdavis.edu
Mon Aug 14 01:49:28 CEST 2006


Thank you David.
But if I want to read the part that really computes the LJ interaction
between 2 atoms, which code should I look into?


On 8/12/06, David van der Spoel <spoel at xray.bmc.uu.se> wrote:
>
> Chenyue Xing wrote:
> > Hi,
> >
> > I'm trying to read and study the part of code that computes the LJ
> > interaction between particles but all I found are 'case eNR_INLxxxx'
> > stuff in fnbf.c. I thought when computing the distance between 2 atoms,
> > usually the function distance2( ) in vec.h is called, so that I was
> > trying to locate the LJ code by looking for the places where distance2(
> > ) is called. I found few results.
> >
> > I really appreciate if anyone can point me to the LJ interaction code
> part.
> >
> for efficiency there are no function calls in the innerloops.
> by the way, fnbf.c does not exist anymore in gromacs 3.3 and upwards.
>
>
> > Thanks a lot!
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > gmx-developers mailing list
> > gmx-developers at gromacs.org
> > http://www.gromacs.org/mailman/listinfo/gmx-developers
> > Please don't post (un)subscribe requests to the list. Use the
> > www interface or send it to gmx-developers-request at gromacs.org.
>
>
> --
> David.
> ________________________________________________________________________
> David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
> Dept. of Cell and Molecular Biology, Uppsala University.
> Husargatan 3, Box 596,          75124 Uppsala, Sweden
> phone:  46 18 471 4205          fax: 46 18 511 755
> spoel at xray.bmc.uu.se    spoel at gromacs.org   http://folding.bmc.uu.se
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> _______________________________________________
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it 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/20060813/07933b4f/attachment.html>


More information about the gromacs.org_gmx-developers mailing list