11 integer,
intent(in) :: p
12 real(8),
intent(in) :: dph
16 if ((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 real(8), dimension(3, maxatoms, maxspecies) bfcmt0
subroutine findscq(iq, nsc, vsc)
real(8), dimension(3, 3) ainv
subroutine genscph(p, dph)
real(8), dimension(:,:), allocatable vscph
real(8), dimension(3, maxatoms, maxspecies) atposl
real(8), dimension(:,:), allocatable vqc
integer, parameter maxatoms
real(8), dimension(3, maxatoms, maxspecies) mommtfix0
pure subroutine r3frac(eps, v)
real(8), dimension(3, maxatoms, maxspecies) mommtfix
integer, dimension(maxspecies) natoms
real(8), dimension(3, maxatoms, maxspecies) bfcmt00
pure subroutine r3mv(a, x, y)
real(8), dimension(3, maxatoms, maxspecies) atposc0
integer, dimension(maxspecies) natoms0