Homec4science

changed all atom_vec variants to have the forces (and torque) arrays to be…

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Apr 28 2010, 18:41.

Description

changed all atom_vec variants to have the forces (and torque) arrays to be allocated to nthreads times the usual size. this will allow to have cocurrent threads compute forces (and torques) for maximum efficiency. non-threaded lammps compiles are not affected (nthreads defaults to 1, ignored as input command in non-OpenMP compiles and otherwise guaranteed to be >0). this small change doesn't warrant writing new atom styles...

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Apr 28 2010, 18:41
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPS1d0a5e58f93a: Merge branch 'master' into thread-support
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPS3686c1cebeea: changed all atom_vec variants to have the forces (and torque) arrays to be… (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Apr 28 2010, 18:41