(git:6a2e663)
atom_xc Module Reference

routines that build the integrals of the Vxc potential calculated for the atomic code More...

Functions/Subroutines

subroutine, public calculate_atom_zmp (ext_density, atom, lprint, xcmat)
 ZMP subroutine for the calculation of the effective constraint potential in the atomic code. More...
 
subroutine, public calculate_atom_ext_vxc (vxc, atom, lprint, xcmat)
 ZMP subroutine for the scf external density from the external v_xc. More...
 
subroutine, public calculate_atom_vxc_lda (xcmat, atom, xc_section)
 Calculate atomic exchange-correlation potential in spin-restricted case. More...
 
subroutine, public calculate_atom_vxc_lsd (xcmata, xcmatb, atom, xc_section)
 Calculate atomic exchange-correlation potential in spin-polarized case. More...
 
subroutine, public atom_vxc_lda (basis, pmat, maxl, xc_section, fexc, xcmat)
 Alternative subroutine that calculates atomic exchange-correlation potential in spin-restricted case. More...
 
subroutine, public atom_vxc_lsd (basis, pmata, pmatb, maxl, xc_section, fexc, xcmata, xcmatb)
 Alternative subroutine that calculates atomic exchange-correlation potential in spin-polarized case. More...
 
subroutine, public atom_dpot_lda (basis0, pmat0, basis1, pmat1, maxl, functional, dfexc, linxpar)
 Estimate the ADMM exchange energy correction term using a model exchange functional. More...
 

Detailed Description

routines that build the integrals of the Vxc potential calculated for the atomic code

Function/Subroutine Documentation

◆ calculate_atom_zmp()

subroutine, public atom_xc::calculate_atom_zmp ( real(kind=dp), dimension(:), intent(inout)  ext_density,
type(atom_type), intent(inout)  atom,
logical  lprint,
type(opmat_type), optional, pointer  xcmat 
)

ZMP subroutine for the calculation of the effective constraint potential in the atomic code.

Parameters
ext_densityexternal electron density
atominformation about the atomic kind
lprintsave exchange-correlation potential to the file 'linear_potentials.dat'
xcmatexchange-correlation potential matrix
Author
D. Varsano [danie.nosp@m.le.v.nosp@m.arsan.nosp@m.o@na.nosp@m.no.cn.nosp@m.r.it]

Definition at line 77 of file atom_xc.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculate_atom_ext_vxc()

subroutine, public atom_xc::calculate_atom_ext_vxc ( real(kind=dp), dimension(:), intent(in)  vxc,
type(atom_type), intent(inout)  atom,
logical, intent(in)  lprint,
type(opmat_type), intent(inout), optional, pointer  xcmat 
)

ZMP subroutine for the scf external density from the external v_xc.

Parameters
vxcexchange-correlation potential
atominformation about the atomic kind
lprintsave exchange-correlation potential to the file 'linear_potentials.dat'
xcmatexchange-correlation potential matrix
Author
D. Varsano [danie.nosp@m.le.v.nosp@m.arsan.nosp@m.o@na.nosp@m.no.cn.nosp@m.r.it]

Definition at line 147 of file atom_xc.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculate_atom_vxc_lda()

subroutine, public atom_xc::calculate_atom_vxc_lda ( type(opmat_type), pointer  xcmat,
type(atom_type), intent(inout)  atom,
type(section_vals_type), pointer  xc_section 
)

Calculate atomic exchange-correlation potential in spin-restricted case.

Parameters
xcmatexchange-correlation potential expressed in the atomic basis set
atominformation about the atomic kind
xc_sectionXC input section
History
  • 03.2010 extension of GTH pseudo-potential definition [Juerg Hutter]
  • 02.2010 renamed to calculate_atom_vxc_lda() [Juerg Hutter]
  • 08.2008 created [Juerg Hutter]

Definition at line 198 of file atom_xc.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculate_atom_vxc_lsd()

subroutine, public atom_xc::calculate_atom_vxc_lsd ( type(opmat_type), pointer  xcmata,
type(opmat_type), pointer  xcmatb,
type(atom_type), intent(inout)  atom,
type(section_vals_type), pointer  xc_section 
)

Calculate atomic exchange-correlation potential in spin-polarized case.

Parameters
xcmataspin-alpha exchange-correlation potential matrix
xcmatbspin-beta exchange-correlation potential matrix
atominformation about the atomic kind
xc_sectionXC input section
History
  • 02.2010 created [Juerg Hutter]

Definition at line 403 of file atom_xc.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atom_vxc_lda()

subroutine, public atom_xc::atom_vxc_lda ( type(atom_basis_type), pointer  basis,
real(kind=dp), dimension(:, :, :), intent(in)  pmat,
integer, intent(in)  maxl,
type(section_vals_type), pointer  xc_section,
real(kind=dp), intent(out)  fexc,
real(kind=dp), dimension(:, :, :), intent(inout)  xcmat 
)

Alternative subroutine that calculates atomic exchange-correlation potential in spin-restricted case.

Parameters
basisatomic basis set
pmatdensity matrix
maxlmaximum angular momentum
xc_sectionXC input section
fexcexchange-correlation energy
xcmatexchange-correlation potential matrix
History
  • 07.2016 ADMM analysis [Juerg Hutter]

Definition at line 648 of file atom_xc.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atom_vxc_lsd()

subroutine, public atom_xc::atom_vxc_lsd ( type(atom_basis_type), pointer  basis,
real(kind=dp), dimension(:, :, :), intent(in)  pmata,
real(kind=dp), dimension(:, :, :), intent(in)  pmatb,
integer, intent(in)  maxl,
type(section_vals_type), pointer  xc_section,
real(kind=dp), intent(out)  fexc,
real(kind=dp), dimension(:, :, :), intent(inout)  xcmata,
real(kind=dp), dimension(:, :, :), intent(inout)  xcmatb 
)

Alternative subroutine that calculates atomic exchange-correlation potential in spin-polarized case.

Parameters
basisatomic basis set
pmataspin-alpha density matrix
pmatbspin-beta density matrix
maxlmaximum angular momentum
xc_sectionXC input section
fexcexchange-correlation energy
xcmataspin-alpha exchange-correlation potential matrix
xcmatbspin-beta exchange-correlation potential matrix
History
  • 07.2016 ADMM analysis [Juerg Hutter]

Definition at line 799 of file atom_xc.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atom_dpot_lda()

subroutine, public atom_xc::atom_dpot_lda ( type(atom_basis_type), pointer  basis0,
real(kind=dp), dimension(:, :, :), intent(in)  pmat0,
type(atom_basis_type), pointer  basis1,
real(kind=dp), dimension(:, :, :), intent(in)  pmat1,
integer, intent(in)  maxl,
character(len=*), intent(in)  functional,
real(kind=dp), intent(out)  dfexc,
real(kind=dp), dimension(:), intent(in), optional  linxpar 
)

Estimate the ADMM exchange energy correction term using a model exchange functional.

Parameters
basis0reference atomic basis set
pmat0reference density matrix
basis1ADMM basis set
pmat1ADMM density matrix
maxlmaxumum angular momentum
functionalname of the model exchange functional: "LINX" – linear extrapolation of the Slater exchange potential [?]
dfexcexchange-correlation energy difference
linxparLINX parameters
History
  • 07.2016 ADMM analysis [Juerg Hutter]

Definition at line 978 of file atom_xc.F.

Here is the call graph for this function:
Here is the caller graph for this function: