Regarding generation of 3D HCP Crystal

Hi all,

I intend to create a 3D HCP Ti crystal structure by utilizing lammps lattice command. For that I’m using this pieces of lines as lammps input,

The lattice doc pages explains:

Style hcp has a1 = 1 0 0, a2 = 0 sqrt(3) 0, and a3 = 0 0 sqrt(8/3).

Try creating a system with 1 unit cell, and you should
get 4 atoms in a box of that size.

Steve