Homec4science

fix an bad bug with per atom tallied properties.

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Jun 23 2010, 01:07.

Description

fix an bad bug with per atom tallied properties.

ev_reduce_thr() must only be called when EVFLAG
is true. otherwise the ev_setup_thr() has not
been run and enlarged the per-atom energy and
virial arrays, so that we get a segfault when
reducing them. this could also give a little
performance improvement since now ev_reduce_thr()
is only called when energies are computed and tallied.

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Jun 23 2010, 01:07
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPS96f43df6172b: update makefiles
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPS2b5244f08651: fix an bad bug with per atom tallied properties. (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Jun 23 2010, 01:07