[lammps-users] how to setup a hcp structure in lammps?

Cannot find this info in the manual.
Does anybody know how to setup a hcp structure in lammps?

Thanks,
isak

Isak,

This is on page 413 of the manual under the “lattice” command. You can either use the lattice hcp command or create a custom lattice using the primitive and basis vectors for your unit cell.

Mihir.