be more diligent with bounding box information when reading from a data file or checking it

This commit is contained in:
Axel Kohlmeyer
2016-06-30 13:20:47 -04:00
parent 2f4abe1ec8
commit 0a9f76df32
2 changed files with 3 additions and 1 deletions

View File

@ -347,6 +347,8 @@ void ReadData::command(int narg, char **arg)
nbonds = nangles = ndihedrals = nimpropers = 0;
nbondtypes = nangletypes = ndihedraltypes = nimpropertypes = 0;
triclinic = 0;
boxlo[0] = boxlo[1] = boxlo[2] = 0.0;
boxhi[0] = boxhi[1] = boxhi[2] = 0.0;
keyword[0] = '\0';
nlocal_previous = atom->nlocal;