[gmx-developers] Recalculating forces every N steps

Szilárd Páll pall.szilard at gmail.com
Wed Feb 5 14:26:40 CET 2014


You should be able to use the force flags, I think. These encode what
needs to be done every step (e.g. NS step or not, energy or
force-only), it gets set in do_md and passed to do_force.

Cheers,
--
Szilárd


On Wed, Feb 5, 2014 at 12:51 PM, Alexander Björling
<alex.bjorling at gmail.com> wrote:
> Hi,
>
> Our new bonded interaction (at https://gerrit.gromacs.org/#/c/2659/) is very
> expensive to evaluate and gives rise to a force which varies slowly in time.
> I'd like these forces to only be updated every N steps and to remain
> constant in between. What is the proper way to achieve this?
>
> Best,
> Alex
>
> --
> Gromacs Developers mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers or
> send a mail to gmx-developers-request at gromacs.org.


More information about the gromacs.org_gmx-developers mailing list