avoid uninitialized data issues detected by valgrind

This commit is contained in:
Axel Kohlmeyer
2021-05-10 03:37:20 -04:00
parent 0a1c2b2a23
commit c91563b797
2 changed files with 5 additions and 1 deletions

View File

@ -59,6 +59,7 @@ NEB::NEB(LAMMPS *lmp, double etol_in, double ftol_in, int n1steps_in,
n1steps = n1steps_in;
n2steps = n2steps_in;
nevery = nevery_in;
verbose = false;
// replica info

View File

@ -43,7 +43,10 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
TAD::TAD(LAMMPS *lmp) : Command(lmp) {}
TAD::TAD(LAMMPS *lmp) : Command(lmp)
{
deltconf = deltstop = deltfirst = 0.0;
}
/* ---------------------------------------------------------------------- */