CustomHbondForce in XML File?

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
User avatar
Peter Eastman
Posts: 2607
Joined: Thu Aug 09, 2007 1:25 pm

Re: CustomHbondForce in XML File?

Post by Peter Eastman » Wed Oct 05, 2016 10:07 am

Are the energy differences in fact due to different precision levels?
Correct. This is platform specific. You're using the CPU platform, which has an optimized implementation of CustomNonbondedForce which does much of the calculation in single precision. But it doesn't include an optimized implementation of CustomHbondForce (just because it's never been a priority to write one), so it uses the reference implementation which does everything in double precision. If you use the OpenCL or CUDA platform, they'll use the same precision level for everything.

Peter

POST REPLY