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

@ -168,7 +168,7 @@ void Domain::set_initial_box(int expandflag)
// error checks for orthogonal and triclinic domains
if (boxlo[0] >= boxhi[0] || boxlo[1] >= boxhi[1] || boxlo[2] >= boxhi[2])
error->one(FLERR,"Box bounds are invalid");
error->one(FLERR,"Box bounds are invalid or missing");
if (domain->dimension == 2 && (xz != 0.0 || yz != 0.0))
error->all(FLERR,"Cannot skew triclinic box in z for 2d simulation");