Skip to content

Commit

Permalink
'io_utils' added some info when writing one of the debug files
Browse files Browse the repository at this point in the history
  • Loading branch information
Gus Hart committed Sep 10, 2019
1 parent 20d7bae commit 07d7edb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/io_utils.f90
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ END SUBROUTINE write_lattice_symmetry_ops
SUBROUTINE write_rotperms_list(rpList,listfile)
type(RotPermList), intent(in) :: rpList
character(80), intent(in) :: listfile
integer nP, iP
integer nP, iP, iD
open(11,file=listfile)
nP = rpList%nL
if(size(rpList%perm,1)/=rpList%nL) stop "rp list not initialized correctly (write_rotperms_list in io_utils)"
Expand All @@ -670,6 +670,12 @@ SUBROUTINE write_rotperms_list(rpList,listfile)
do iP = 1, nP
write(11,'("Perm #: ",i5,1x,"Perm: ",40(i4,1x))') iP, rpList%perm(iP,:)
enddo
write(11,'(/,"Shifts required to move point inside unit cell after operation:")')
do iD = 1, size(rpList%v,2)
do iP = 1, nP
write(11,'("Perm #:",i3,1x,"iD:",i2," v: ",3(f8.4,1x))') iP, iD, rpList%v(:,iD,iP)
enddo
enddo
close(11)
END SUBROUTINE write_rotperms_list

Expand Down

0 comments on commit 07d7edb

Please sign in to comment.