Skip to content

Commit

Permalink
fixed a bug in the unit conversion of the lattice vector angle
Browse files Browse the repository at this point in the history
  • Loading branch information
MuyamiYatara committed Jan 9, 2025
1 parent 39043be commit afac72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/readinput.f90
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ subroutine readinput
if(cpuid==0)write(stdout, '(a)') '>> lattice information (Angstrom)'
if(cpuid==0)write(stdout, '(6a12)')" a", " b", " c", 'alpha', 'beta', 'gamma'
! Thanks for Shengpu Huang pointing out the bug in the unit conversion of the lattice vector angle.
if(cpuid==0)write(stdout, '(6f12.6)')Origin_cell%cell_parameters(1:3)/Angstrom2atomic, Origin_cell%cell_parameters(1:3)
if(cpuid==0)write(stdout, '(6f12.6)')Origin_cell%cell_parameters(1:3)/Angstrom2atomic, Origin_cell%cell_parameters(4:6)
if(cpuid==0)write(stdout, '(a)')" Three Lattice vectors of the unfolded cell: "
if(cpuid==0)write(stdout, '(3f12.6)')Origin_cell%Rua/Angstrom2atomic
if(cpuid==0)write(stdout, '(3f12.6)')Origin_cell%Rub/Angstrom2atomic
Expand Down

0 comments on commit afac72f

Please sign in to comment.