[gmx-developers] Monte Carlo

Mark Abraham Mark.Abraham at anu.edu.au
Wed Apr 1 00:19:37 CEST 2009


Andre Assunção S. T. Ribeiro wrote:
> Hi All,
> 
> I need a way to calculate potential energy without calculating the
> forces on each atom. Does anybody suggest a smart way to do that without
> making some huge modifications to the code?

Use a no-forces version of a kernel. You'll need to do some code reading 
(perhaps start with src/gmxlib/nonbonded/nonbonded.c) to see how the 
kernel table lookups are done so that you can call the right no-forces 
kernel.

Mark



More information about the gromacs.org_gmx-developers mailing list