FORCXC Subroutine

public subroutine FORCXC(FLM, FLMC, LMAX, NSPIN, NATOM, VPOT, DENSITY, CELL, ALAT, LMPOTD, IRMD, INS)

Calculates the force on nucleus m from a given non spherical charge density at the nucleus site r with core correction(exchange contribution)

Warning

BEWARE!!! RM commented away!!! -->Dipole Tensor is useless

Arguments

Type IntentOptional Attributes Name
double precision :: FLM(-1:1,NATOM)
double precision :: FLMC(-1:1,NATOM)
integer :: LMAX
integer :: NSPIN
integer :: NATOM
double precision :: VPOT(IRMD,LMPOTD,NSPIN,NATOM)
type(DENSITY_TYPE) :: DENSITY(NATOM)
type(CELL_TYPE) :: CELL(NATOM)
double precision :: ALAT
integer :: LMPOTD
integer :: IRMD
integer :: INS