Hi

I am tyring to compute total virial, i.e. sum_i sum_j (rij*Fij). To achieve
this, I am making modifications in the gmx_nb_generic_kernel() function in
nb_generic.c. In it, I see that atoms I and j are accessed from neighbor
lists to determine forces on atom I . My question is that in this loop do I
have to take care of double counting pair forces, i.e. will the pair of
atom I and j be accessed twice or just once?

Thanks
Sikandar
-- 
gmx-users mailing list    gmx-users@gromacs.org
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 gmx-users-requ...@gromacs.org.
* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Reply via email to