Homec4science

fix bug in reserving sufficient space for special atoms

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Aug 25 2016, 05:08.

Description

fix bug in reserving sufficient space for special atoms

assigning atom->maxspecial will not work, since it will be reset, e.g. when reading from a data file that doesn't have any special neighbors.
instead we need to set force->special_extra so this is going to be preserved.

(cherry picked from commit a692398b6c3b9f1cdad36ad93765e14776c8324b)

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Aug 25 2016, 05:30
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPSd71565b77bb3: silence warnings about order of pointers in the initializer
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPS224c43709519: fix bug in reserving sufficient space for special atoms (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Aug 25 2016, 05:30