Homec4science

fix another apparent bug in compute atom/molecule

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Dec 8 2014, 19:41.

Description

fix another apparent bug in compute atom/molecule

the code was not using the right way to determine whether
per atom data is available and would use the wrong stride.
also, some compute code seems dependant on data vectors/arrays
being initialized in compute classes, however they were not
properly set to NULL in the base class constructor for this
to work reliably.

Details

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPS1cb5aa92fab9: fix another apparent bug in compute atom/molecule (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Dec 8 2014, 19:41