Skip to content

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Dec 30, 2020

Using cubic spline interpolation to approximate the exp() function in volmap results in 2-3x speedup (depending on hardware). The details will be in a soon-to-be-published manuscript from Roe & Brooks, "Improving the Speed of Volumetric Density Map Generation via Cubic Spline Interpolation", JMGM (2021). The idea is similar to what is done to approximate the erfc function for Ewald, and indeed a new class has been created called SplineFxnTable that will use splines to interpolate any function that takes a double as an argument and returns a double.

drroe added 30 commits June 3, 2020 14:07
…aIO_Peaks format. May want to do this in a less hacky way in the future.
…tion. Slightly more efficient (1-2%) and avoids using a 'continue'.
Daniel R. Roe and others added 25 commits October 16, 2020 08:49
… add 1.0 to the max expected value to avoid Runges phenomenon.
…ooks in, just in case we ever need to test it again. Fast exponential code will be kept in a separate repository.
… the defaults chosen should make it so that the results are exactly the same as with system exp(); however there is the potential for some differences, so bump the minor version instead of revision.
@drroe drroe self-assigned this Dec 30, 2020
@AmberJenkins
Copy link
Collaborator

The PGI build in Jenkins failed.

@drroe drroe merged commit 1faa9b2 into Amber-MD:master Dec 30, 2020
@drroe drroe deleted the fixspam branch December 30, 2020 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants