|
| subroutine, public | uspp_augmentation::uspp_augmentation_init (pot, projectors, augmentation) |
| | Prepare radial quadrature and Gaunt coefficients in the native beta convention.
|
| subroutine, public | uspp_augmentation::uspp_augmentation_prepare_realspace (pot, augmentation) |
| | Prepare regular radial splines for atom-grid augmentation quadrature. UPF stores r**2 Q_ij^L(r). Interpolate Q_ij^L(r)/r**L in r**2 and multiply by solid harmonics, so values and Cartesian derivatives remain regular at the origin. The existing reciprocal-space quadrature and its overlap correction are unchanged.
|
| subroutine, public | uspp_augmentation::uspp_augmentation_realspace (augmentation, displacement, qr, gradient, hessian) |
| | Evaluate the augmentation matrix and derivatives at a Cartesian displacement. Uses cubic splines with a C2 quintic closure into an exact tabulated zero suffix. Values, gradients and Hessians share the same polynomial. No angular division by radius is needed, including at the center and on coordinate axes.
|
| subroutine, public | uspp_augmentation::uspp_augmentation_collocate_atom (augmentation, displacements, density, rho, gradient) |
| | Add one center's augmentation density and gradient to arbitrary atom-grid points.
|
| subroutine, public | uspp_augmentation::uspp_augmentation_integrate_atom (augmentation, displacements, weights, v_rho, v_gradient, matrix, density, center_gradient, point_gradient) |
| | Adjoint of the atom-grid density map, including the GGA gradient term.
|
| subroutine, public | uspp_augmentation::uspp_augmentation_prepare_fourier (augmentation, gvecs, max_bytes) |
| | Cache exact radial transforms for repeated reciprocal-vector lengths. The retained arrays are bounded; uncached lengths use direct quadrature. Initialization of a new augmentation object also releases this cache.
|
| subroutine, public | uspp_augmentation::uspp_augmentation_fourier (augmentation, g, position, volume, qg, strain, grid_index) |
| | Evaluate Q_ij(G) = integral Q_ij(r-R) exp(-i G.r) dr / volume. Direct radial quadrature is a reference without reciprocal interpolation.
|
| subroutine, public | uspp_augmentation::uspp_augmentation_collocate (augmentation, gvecs, position, volume, density_matrix, rho) |
| | Add the augmentation density on a list of reciprocal vectors.
|
| subroutine, public | uspp_augmentation::uspp_augmentation_integrate (augmentation, gvecs, position, volume, vg, multiplicity, matrix, derivative, strain) |
| | Adjoint of augmentation collocation: integrate a real local potential against Q.
|