24 write(*,
'("Error(genscss): too many atoms in supercell : ",I8)') na
25 write(*,
'(" for species ",I4)') is
26 write(*,
'("Adjust maxatoms in modmain and recompile code")')
34 t1=dot_product(
vqc(:,
iqss),vc(:))
35 cs=cos(t1); sn=sin(t1)
subroutine findscq(iq, nsc, vsc)
integer, dimension(maxspecies) natoms
real(8), dimension(3, maxatoms, maxspecies) mommtfix0
real(8), dimension(:,:), allocatable vqc
real(8), dimension(3, maxatoms, maxspecies) bfcmt00
real(8), dimension(3, maxatoms, maxspecies) mommtfix
real(8), dimension(3, maxatoms, maxspecies) atposc0
real(8), dimension(3, 3) ainv
integer, dimension(maxspecies) natoms0
integer, parameter maxatoms
real(8), dimension(3, maxatoms, maxspecies) atposl
real(8), dimension(3, maxatoms, maxspecies) bfcmt0
pure subroutine r3mv(a, x, y)