Lattice parameter optimization
Posted: Thu Jul 03, 2008 12:27 pm
Hi All
I am going to write a script to optimize the lattice parameter of a crystal.
For exemple:
Cubic BN
3.57
0.0 0.5 0.5
0.5 0.0 0.5
0.5 0.5 0.0
1 1
Direct
0.00 0.00 0.00
0.25 0.25 0.25
I want to fully optimize the unit cell including the shape and length of a,b,c. What troubled me is that I don't know how to transfer the lattice vectors in the POSCAR to lattice parameters (a,b,c). What is the arithmetic? Is it possible to control the angle of the cell as well as the lattice length?
Thanks in advance.
I am going to write a script to optimize the lattice parameter of a crystal.
For exemple:
Cubic BN
3.57
0.0 0.5 0.5
0.5 0.0 0.5
0.5 0.5 0.0
1 1
Direct
0.00 0.00 0.00
0.25 0.25 0.25
I want to fully optimize the unit cell including the shape and length of a,b,c. What troubled me is that I don't know how to transfer the lattice vectors in the POSCAR to lattice parameters (a,b,c). What is the arithmetic? Is it possible to control the angle of the cell as well as the lattice length?
Thanks in advance.