more edits on create_atoms doc page

This commit is contained in:
Steve Plimpton
2023-11-18 17:16:29 -07:00
parent 56b2c7ed46
commit 92b02041cb
4 changed files with 59 additions and 68 deletions

View File

@ -1179,7 +1179,7 @@ void CreateAtoms::add_lattice()
if (!domain->triclinic_general && domain->lattice->is_general_triclinic())
error->all(FLERR,"Create_atoms for non general triclinic box cannot use triclinic/general lattice");
if (domain->triclinic_general && !domain->lattice->is_general_triclinic())
error->all(FLERR,"Create_atoms for general triclinic box requires triclnic/general lattice");
error->all(FLERR,"Create_atoms for general triclinic box requires triclinic/general lattice");
// convert 8 corners of my subdomain from box coords to lattice coords
// for orthogonal, use corner pts of my subbox