(git:3d5d2e5)
Loading...
Searching...
No Matches
upf_core Module Reference

Fourier coefficients and geometry derivatives of the original UPF partial core density. More...

Functions/Subroutines

subroutine, public upf_core_fourier (pot, gvecs, position, volume, density, dposition, dg)
 Integrate the supplied true spherical density with the original radial quadrature. The finite tabulated integration domain is retained, including its endpoint rule. This field contributes to XC only, not the valence charge or orbital metric.

Detailed Description

Fourier coefficients and geometry derivatives of the original UPF partial core density.

Function/Subroutine Documentation

◆ upf_core_fourier()

subroutine, public upf_core::upf_core_fourier ( type(atom_upfpot_type), intent(in) pot,
real(dp), dimension(:, :), intent(in) gvecs,
real(dp), dimension(3), intent(in) position,
real(dp), intent(in) volume,
complex(dp), dimension(:), intent(out) density,
complex(dp), dimension(:, :), intent(out), optional dposition,
complex(dp), dimension(:, :), intent(out), optional dg )

Integrate the supplied true spherical density with the original radial quadrature. The finite tabulated integration domain is retained, including its endpoint rule. This field contributes to XC only, not the valence charge or orbital metric.

Parameters
potOriginal scalar UPF dataset.
gvecsNative reciprocal vectors in Cartesian inverse bohr.
positionPhysical atom position in bohr.
volumePhysical cell volume in cubic bohr.
densityFourier density coefficients, including 1/volume.
dpositionOptional Cartesian center derivatives, axis first.
dgOptional reciprocal-vector derivatives at fixed center and volume, axis first.

Definition at line 34 of file upf_core.F.

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