LATTICE_CONSTRAINTS for non-orthorhombic lattices
Dear developers,
I want to run a relaxation of a (non-orthorhombic) cell fixing the first two lattice vectors and letting the third one vary freely. I am using VASP 6.4.3 and I set LATTICE_CONSTRAINTS = .FALSE. .FALSE. .TRUE.
I attach the initial POSCAR, INCAR and the resulting CONTCAR. You can see how, instead of fixing the third lattice vector, it fixes the first two components of every lattice vector. I tried modifying the "constr_cell_relax.F" and I got the same result. In that file, it states that the basis vectors A are modified as (A -> A+FCELL.A). The results suggest that the change is actually (A -> A+A.FCELL).
I saw that there is a new powerful functionality to restrict the lattice and atomic positions through the ICONST file. I can see no easy way to implement the total fixing of two lattice vectors and letting the third completely relax.
Thank you for your help,
IƱigo