11integer,
intent(in) :: p
12real(8),
intent(in) :: dph
16if ((p /= 0).and.(p /= 1))
then
18 write(*,
'("Error(genscph): phase (p) should be 0 or 1 : ",I8)') p
32 write(*,
'("Error(genscph): too many atoms in supercell : ",I8)') na
33 write(*,
'(" for species ",I4)') is
34 write(*,
'("Adjust maxatoms in modmain and recompile code")')
40 if ((
isph == is).and.(
iaph == ia))
then
subroutine findscq(iq, nsc, vsc)
subroutine genscph(p, dph)
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
real(8), dimension(:,:), allocatable vscph
pure subroutine r3frac(eps, v)
pure subroutine r3mv(a, x, y)