diff -Naur lammps-14Apr08/doc/lattice.html lammps-15Apr08/doc/lattice.html --- lammps-14Apr08/doc/lattice.html 2008-04-11 14:09:19.000000000 -0600 +++ lammps-15Apr08/doc/lattice.html 2008-04-14 15:37:50.000000000 -0600 @@ -109,13 +109,13 @@ rectangle.
A lattice of style custom allows you to specify a1, a2, a3, and a -list of basis atoms to put in the unit cell. By default, a1,a2,a3 are -3 orthogonal unit vectors (edges of a unit cube). But you can specify -them to be of any length and non-orthogonal to each other, so that -they describe a tilted parallelepiped. Via the basis keyword you -add atoms, one at a time, to the unit cell. Its arguments are -fractional coordinates (0.0 <= x,y,z < 1.0), so that a value of 0.5 -means a position half-way across the unit cell in that dimension. +list of basis atoms to put in the unit cell. By default, a1 and a2 +and a3 are 3 orthogonal unit vectors (edges of a unit cube). But you +can specify them to be of any length and non-orthogonal to each other, +so that they describe a tilted parallelepiped. Via the basis +keyword you add atoms, one at a time, to the unit cell. Its arguments +are fractional coordinates (0.0 <= x,y,z < 1.0), so that a value of +0.5 means a position half-way across the unit cell in that dimension.
If the spacing option is not specified, the lattice spacings are computed by LAMMPS in the following way. A unit cell of the lattice is mapped into the simulation box (scaled, shifted, rotated), so that -it now has (perhaps) a modified shape and orientation. The lattice +it now has (perhaps) a modified size and orientation. The lattice spacing in X is defined as the difference between the min/max extent of the x coordinates of the 8 corner points of the modified unit cell. Similarly, the Y and Z lattice spacings are defined as the difference @@ -237,7 +237,7 @@
lattice none
For other lattice styles, the option defaults are origin = 0.0 0.0 -0.0, orient = x 1 0 0, orient = y 0 1 0, orient = z 0 0 1, a1 = 1.0 -0.0 0.0, a2 = 0.0 1.0 0.0, and a3 = 0.0 0.0 1.0. +0.0, orient = x 1 0 0, orient = y 0 1 0, orient = z 0 0 1, a1 = 1 0 0, +a2 = 0 1 0, and a3 = 0 0 1.