type_imp Derived Type

type, public :: type_imp

Type holding information for impurity potential, needed in GREENIMP mode


Components

Type Visibility Attributes Name Initial
integer, public :: n1 = 12
integer, public :: n2 = 17
integer, public :: natomimp = -1
integer, public :: ihost = -1
integer, public :: irmd

Maximum number of radial points

integer, public :: irid

Shape functions parameters in non-spherical part

integer, public :: ipand

Number of panels in non-spherical part

integer, public :: nfund

Shape functions parameters in non-spherical part

integer, public :: nspin

Counter for spin directions

integer, public :: natypd

Number of kinds of atoms in unit cell

integer, public :: irmind

irmd - irnsd

integer, public :: lmpotd

(lpot+1)**2

integer, public, dimension(:), allocatable :: ipanimp

Radial mesh, Panel mesh for impurities ! IPANIMP(NATOMIMP)

integer, public, dimension(:), allocatable :: irwsimp

Radial mesh, IRWS for imps ! IRWSIMP(NATOMIMP)

integer, public, dimension(:), allocatable :: hostimp

Layer index of host atoms ! HOSTIMP(NATYPD)

integer, public, dimension(:), allocatable :: atomimp

Layer index of imp atoms ! ATOMIMP(NATOMIMP)

integer, public, dimension(:), allocatable :: irminimp

Radial mesh, IRMIN for imps ! IRMINIMP(NATOMIMP))

integer, public, dimension(:,:), allocatable :: ircutimp

Radial mesh, RCUT for imps ! IRCUTIMP(0:IPAND,NATOMIMP)

real(kind=dp), public, dimension(:), allocatable :: zimp

atom charge of imps, ! ZIMP(NATOMIMP)

real(kind=dp), public, dimension(:), allocatable :: phiimp

phi of nonco_angle of impurity ! PHIIMP(NATOMIMP)

real(kind=dp), public, dimension(:), allocatable :: thetaimp

theta of nonco_angle of impurity ! THETAIMP(NATOMIMP)

real(kind=dp), public, dimension(:,:), allocatable :: rimp

Rmesh of imps, ! RIMP(IRMD,NATOMIMP)

real(kind=dp), public, dimension(:,:), allocatable :: rclsimp

impurity positions(scoef file) ! RCLSIMP(3,NATOMIMPD)

real(kind=dp), public, dimension(:,:), allocatable :: vispimp

impurity potential ! VISPIMP(IRMD,NATOMIMP*NSPIN)

real(kind=dp), public, dimension(:,:,:), allocatable :: vinsimp

impurity potential ! VINSIMP(IRMIND:IRMD,LMPOTD,NATOMIMP*NSPIN)

real(kind=dp), public, dimension(:,:,:), allocatable :: thetasimp

shape functions of imps ! THETASIMP(IRID,NFUND,NATOMIMP)

real(kind=dp), public, dimension(:), allocatable :: socscale

scale values of SOC

complex(kind=dp), public, dimension(:,:,:,:), allocatable :: rllimp

impurity wavefunctions ! RLL(NVEC*lmmaxd,lmmaxd,IRMDNEW(I1))