silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2022-09-09 20:12:37 -04:00
parent fb9c40d936
commit 9f5375f204
3 changed files with 1 additions and 2 deletions

View File

@ -116,7 +116,6 @@ void PairLJCutCoulCutDielectricOMP::eval(int iifrom, int iito, ThrData *const th
const double *_noalias const curvature = atom->curvature;
const double *_noalias const area = atom->area;
const int *_noalias const type = atom->type;
const int nlocal = atom->nlocal;
const double *_noalias const special_coul = force->special_coul;
const double *_noalias const special_lj = force->special_lj;
const double qqrd2e = force->qqrd2e;

View File

@ -116,7 +116,6 @@ void PairLJCutCoulDebyeDielectricOMP::eval(int iifrom, int iito, ThrData *const
const double *_noalias const curvature = atom->curvature;
const double *_noalias const area = atom->area;
const int *_noalias const type = atom->type;
const int nlocal = atom->nlocal;
const double *_noalias const special_coul = force->special_coul;
const double *_noalias const special_lj = force->special_lj;
const double qqrd2e = force->qqrd2e;

View File

@ -1898,6 +1898,7 @@ void Atom::set_mass(const char *file, int line, const char *str, int type_offset
}
default: // invalid
itype = -1000000000;
error->one(file, line, "Invalid {}: {}", location, utils::trim(str));
break;
}