small optimizations for manybody styles
- replace some calls to pow with multiplications
- use new math_const.h header providing a MathConst namespace with commonly used constants, precomputed.
- move some inlinable functions into headers.
Axel Kohlmeyer <akohlmey@gmail.com> | Sep 22 2011, 01:01 |
junge | Oct 6 2016, 16:49 |