On 2/05/2011 6:31 AM, Apoorv Kalyankar wrote:
Hello,

I was wondering where can I find the source code where the different
cut-off schemes (cut-off, shift, switch etc) for lennard jones
interactions have been implemented.
Thanks.

See src/gmxlib/nonbonded/nb_kerneltype.h and files in src/gmxlib/nonbonded/nb_kernel_c (especially nb_kernel010.c). The non-plain-cutoff schemes are actually implemented with table lookups, see src/mdlib/tables.c for their construction.

Mark
--
gmx-users mailing list    [email protected]
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected].
Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Reply via email to