Homec4science

another small optimization for soft/omp.

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

Description

another small optimization for soft/omp.

why compute r from sqrt(rsq) if we can compare against rsq?
also add test against small r to single() method.

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Jun 2 2010, 02:00
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPSe7035daa44eb: fix massive bug in soft/omp pair_style
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPS499e154aab28: another small optimization for soft/omp. (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Jun 2 2010, 02:00