Homec4science

fix bug in ev_setup_thr() with per-atom computes

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Jul 6 2010, 23:36.

Description

fix bug in ev_setup_thr() with per-atom computes

we have to use maxeatom_thr and maxvatom_thr to grow
the per atom arrays in the DihedralOMP::ev_setup_thr().
the non-_thr variants may already have been grown
in Dihedral::ev_setup() and thus we get a segfault.

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Jul 6 2010, 23:36
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPScde74dbc3f9c: Merge branch 'master' into lammps-icms
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPSc1e83d6f7513: fix bug in ev_setup_thr() with per-atom computes (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Jul 6 2010, 23:36