Skip to content

Commit

Permalink
fixed a bug in readinput.f90
Browse files Browse the repository at this point in the history
  • Loading branch information
quanshengwu committed Apr 12, 2018
1 parent d89c3aa commit 47784d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions soc/readinput.f90
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,8 @@ subroutine readinput
write(stdout, '(a,2f10.4)')' cell_volume vs cell_volume-new', cell_volume, cell_volume2
write(stdout, '(a)')" However, don't worry, WannierTools will help you to find a suitable rotation matrix."
write(stdout, '(a)')" I am looking for new unit cell atuomatically: "
endif !> print out the new basis
if (abs(abs(cell_volume2)-abs(cell_volume))> 0.001d0) then
call FindTheThirdLatticeVector()
R1= Umatrix(1, 1)*Rua+ Umatrix(1, 2)*Rub+ Umatrix(1, 3)*Ruc
R2= Umatrix(2, 1)*Rua+ Umatrix(2, 2)*Rub+ Umatrix(2, 3)*Ruc
Expand Down

0 comments on commit 47784d4

Please sign in to comment.