Homec4science

add some tersoff potential optimizations

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Jun 1 2010, 00:43.

Description

add some tersoff potential optimizations

  • make a few very small functions inline
  • replace pow(X,2.0) with X*X
  • declare those functions to have no side-effects.

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Jun 1 2010, 00:43
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPSec523ee3ef3b: added OpenMP versions of tersoff and tersoff/zbl
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPS37665debb9f2: add some tersoff potential optimizations (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Jun 1 2010, 00:43