Homec4science

consistently check for all per-atom-type masses being set only when per-atom…

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Jun 28 2017, 12:26.

Description

consistently check for all per-atom-type masses being set only when per-atom masses are not set

rather than placing an if statement around every incidence of calling atom->check_mass() to ensure it is only called when per atom masses are not set, we place that check _inside_ Atom::check_mass(). This avoids unexpected error messages.

Details

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPSd0470799ac8b: consistently check for all per-atom-type masses being set only when per-atom… (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Jun 28 2017, 12:26