clarify rules for reading multiple data files with read_data

This commit is contained in:
Steve Plimpton
2023-12-05 15:58:40 -07:00
parent 9fae8a2c2d
commit ae4b65430a
2 changed files with 49 additions and 37 deletions

View File

@ -639,6 +639,10 @@ void ReadData::command(int narg, char **arg)
error->all(FLERR,"Read_data subsequent file cannot switch to restricted triclinic");
if (xy != domain->xy || xz != domain->xz || yz != domain->yz)
error->all(FLERR,"Read_data subsequent file tilt factors must be same as first file");
} else {
if (domain->triclinic)
error->all(FLERR,"Read_data subsequent file cannot switch to orthogonal");
}
double oldboxlo[3] = {domain->boxlo[0], domain->boxlo[1], domain->boxlo[2]};