replace some numeric constants in Atom and AtomVec classes with enumerators

This commit is contained in:
Axel Kohlmeyer
2020-09-11 18:44:13 -04:00
parent cdd9d693ad
commit 9d0c3bc665
202 changed files with 539 additions and 530 deletions

View File

@ -54,7 +54,7 @@ FixHyperLocal::FixHyperLocal(LAMMPS *lmp, int narg, char **arg) :
{
// error checks
if (atom->map_style == 0)
if (atom->map_style == Atom::MAP_NONE)
error->all(FLERR,"Fix hyper/local command requires atom map");
// parse args