[lammps-users] Lattice Command How to define Region prism

Dear All,
I am trying to create atoms using lattice command.

lattice diamond 5.43 # for silicon lattice constant

but to do this I need to define region using region command

region 1 prism 0 1 0 1 0 1 xy xz yz

these tilt factors that I could not understand. I want to define a diamond lattice with primitive vectors
0.5 0.5 0.0
0.0 0.5 0.5
0.5 0.0 0.5

and two basis vectors
0.0 0.0 0.0
0.25 0.25 0.25

for this configuration how should I define region prism?

Phd Candidate
Bilkent University Dept. of Physics
[email protected]...

The region has nothing to do with the lattice and basis atoms
really. It is just the simulation volume you want to fill with atoms.
The lattice command defines the unit cell and basis atoms, then
create_atoms uses it to tile the region.