rhosymm Subroutine

public subroutine rhosymm(lmpot, nspin, nstart, nend, rho2ns, ixipol, irws, ircut, ipan, kshape, natyp, irm)

Uses

    • global_variables
    • mod_datatypes

Symmetrize the charge densities and magnetic moments of atoms which are magnetic antisymmetric. (dependencies in IXIPOL(*))

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: lmpot

(LPOT+1)**2

integer, intent(in) :: nspin

Counter for spin directions

integer, intent(in) :: nstart
integer, intent(in) :: nend
real(kind=dp), intent(inout), dimension (irm, lmpot, natyp, *) :: rho2ns

radial density

integer, intent(in), dimension (*) :: ixipol

Constraint of spin pol.

integer, intent(in), dimension (*) :: irws

R point at WS radius

integer, intent(in), dimension (0:ipand, *) :: ircut

R points of panel borders

integer, intent(in), dimension (*) :: ipan

Number of panels in non-MT-region

integer, intent(in) :: kshape

Exact treatment of WS cell

integer, intent(in) :: natyp

Number of kinds of atoms in unit cell

integer, intent(in) :: irm

Maximum number of radial points