silence compiler warnings
This commit is contained in:
@ -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 curvature = atom->curvature;
|
||||||
const double *_noalias const area = atom->area;
|
const double *_noalias const area = atom->area;
|
||||||
const int *_noalias const type = atom->type;
|
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_coul = force->special_coul;
|
||||||
const double *_noalias const special_lj = force->special_lj;
|
const double *_noalias const special_lj = force->special_lj;
|
||||||
const double qqrd2e = force->qqrd2e;
|
const double qqrd2e = force->qqrd2e;
|
||||||
|
|||||||
@ -116,7 +116,6 @@ void PairLJCutCoulDebyeDielectricOMP::eval(int iifrom, int iito, ThrData *const
|
|||||||
const double *_noalias const curvature = atom->curvature;
|
const double *_noalias const curvature = atom->curvature;
|
||||||
const double *_noalias const area = atom->area;
|
const double *_noalias const area = atom->area;
|
||||||
const int *_noalias const type = atom->type;
|
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_coul = force->special_coul;
|
||||||
const double *_noalias const special_lj = force->special_lj;
|
const double *_noalias const special_lj = force->special_lj;
|
||||||
const double qqrd2e = force->qqrd2e;
|
const double qqrd2e = force->qqrd2e;
|
||||||
|
|||||||
@ -1898,6 +1898,7 @@ void Atom::set_mass(const char *file, int line, const char *str, int type_offset
|
|||||||
}
|
}
|
||||||
|
|
||||||
default: // invalid
|
default: // invalid
|
||||||
|
itype = -1000000000;
|
||||||
error->one(file, line, "Invalid {}: {}", location, utils::trim(str));
|
error->one(file, line, "Invalid {}: {}", location, utils::trim(str));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user