silence warnings

This commit is contained in:
Axel Kohlmeyer
2024-08-01 18:46:48 -04:00
parent 7a3ba6027b
commit 742bb3aae2
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ void FixAddHeat::post_force(int /*vflag*/)
if (mask[i] & groupbit)
heatflow[i] = 0.0;
double vtmp, dt;
double vtmp = 0.0;
if (vstyle == CONSTANT) vtmp = value;
if (vstyle == EQUAL) vtmp = input->variable->compute_equal(var);
for (int i = 0; i < atom->nlocal; i++) {

View File

@ -890,7 +890,7 @@ void PairPOD::angularbasis(double *tm, double *tmu, double *tmv, double *tmw, in
double tmvm = abfy[mj];
double tmwm = abfz[mj];
double tmn, tmun, tmvn, tmwn;
double tmn = 0.0, tmun = 0.0, tmvn = 0.0, tmwn = 0.0;
// Calculate angular basis function and its derivatives using recursion relation
if (d==1) {
tmn = tmm*u;