mods to change_box

This commit is contained in:
Steve Plimpton
2023-09-01 12:15:51 -06:00
parent 932a080246
commit 7462439b5d
6 changed files with 157 additions and 37 deletions

View File

@ -1178,7 +1178,7 @@ void CreateAtoms::add_lattice()
} else
domain->bbox(domain->sublo_lamda, domain->subhi_lamda, bboxlo, bboxhi);
// narrow down the subbox by the bounding box of the given region, if available.
// narrow down the subbox by the bounding box of the given region, if available
// for small regions in large boxes, this can result in a significant speedup
if ((style == REGION) && region->bboxflag) {