27open(50,file=
'SYMLAT'//trim(
filext),form=
'FORMATTED',action=
'WRITE')
28write(50,
'(I4," : nsymlat")')
nsymlat
33 write(50,
'(3I4)')
symlat(i,:,isym)
38open(50,file=
'SYMCRYS'//trim(
filext),form=
'FORMATTED',action=
'WRITE')
40write(50,
'("(translation vectors and rotation matrices are in lattice &
43write(50,
'(I4," : nsymcrys")')
nsymcrys
46 write(50,
'("Crystal symmetry : ",I4)') isym
47 write(50,
'(" spatial translation :")')
48 write(50,
'(3G18.10)')
vtlsymc(:,isym)
49 write(50,
'(" spatial rotation :")')
52 write(50,
'(3I4)')
symlat(i,:,lspl)
54 write(50,
'(" global spin rotation :")')
57 write(50,
'(3I4)')
symlat(i,:,lspn)
62open(50,file=
'SYMSITE'//trim(
filext),form=
'FORMATTED',action=
'WRITE')
64write(50,
'("(rotation matrices are in lattice coordinates)")')
70 write(50,
'("Species : ",I4," (",A,"), atom : ",I4)') is,trim(
spsymb(is)),ia
71 write(50,
'(I4," : nsymsite")')
nsymsite(ias)
74 write(50,
'(" Site symmetry : ",I4)') isym
75 write(50,
'(" spatial rotation :")')
78 write(50,
'(3I4)')
symlat(i,:,lspl)
80 write(50,
'(" global spin rotation :")')
83 write(50,
'(3I4)')
symlat(i,:,lspn)
90open(50,file=
'EQATOMS'//trim(
filext),form=
'FORMATTED',action=
'WRITE')
93 write(50,
'("Species : ",I4," (",A,")")') is,trim(
spsymb(is))
95 write(50,
'(" atom ",I4," is equivalent to atom(s)")') ia
99 if ((i > 0).and.(mod(i,20) == 0))
write(50,*)
100 write(50,
'(I4)',advance=
'NO') ja
integer, dimension(maxspecies) natoms
integer, dimension(maxatoms, maxspecies) idxas
integer, dimension(:,:), allocatable lspnsyms
integer, dimension(:), allocatable nsymsite
integer, dimension(:,:), allocatable lsplsyms
real(8), dimension(3, maxsymcrys) vtlsymc
integer, dimension(maxsymcrys) lspnsymc
character(64), dimension(maxspecies) spsymb
logical, dimension(:,:,:), allocatable eqatoms
integer, dimension(3, 3, 48) symlat
integer, dimension(maxsymcrys) lsplsymc