(git:08825b9)
Loading...
Searching...
No Matches
spectral_localizer_bloch Module Reference

Exact spectral flattening of a translation-invariant AO torus in primitive Bloch blocks. More...

Functions/Subroutines

subroutine, public localizer_flatten_bloch (h, s, grid, nspin, energy, scale, tolerance, metric_tolerance, gap_tolerance, para_env, flattened, gap, metric_ratio, residuals, status)
 Flatten all Bloch bands, then return to the original distributed real-cell/spin AO basis.

Detailed Description

Exact spectral flattening of a translation-invariant AO torus in primitive Bloch blocks.

Author
Thomas D. Kuehne, tkueh.nosp@m.ne@c.nosp@m.p2k.o.nosp@m.rg

Function/Subroutine Documentation

◆ localizer_flatten_bloch()

subroutine, public spectral_localizer_bloch::localizer_flatten_bloch ( type(localizer_matrix_type), intent(inout) h,
type(localizer_matrix_type), intent(inout) s,
integer, dimension(3), intent(in) grid,
integer, intent(in) nspin,
real(dp), intent(in) energy,
real(dp), intent(in) scale,
real(dp), intent(in) tolerance,
real(dp), intent(in) metric_tolerance,
real(dp), intent(in) gap_tolerance,
type(mp_para_env_type), pointer para_env,
type(localizer_matrix_type), intent(out) flattened,
real(dp), intent(out) gap,
real(dp), intent(out) metric_ratio,
real(dp), dimension(4), intent(out) residuals,
integer, intent(out) status )

Flatten all Bloch bands, then return to the original distributed real-cell/spin AO basis.

Parameters
hOriginal complex Hamiltonian in spin/cell/atom order, unchanged
sOriginal complex metric in the same order, unchanged
gridFull Gamma-centered torus dimensions
nspinNumber of physical spin blocks (one or two)
energyAbsolute query energy
scalePositive flattened energy
toleranceStructure, covariance and eigensystem tolerance
metric_toleranceMinimum global overlap eigenvalue ratio
gap_toleranceMinimum original electronic distance from the query
para_envCommunicator; independent eigensystems are distributed across its ranks
flattenedNewly allocated covariant shifted Hamiltonian only on success
gapOriginal electronic gap, not a flattened localizer gap
metric_ratioGlobal minimum/maximum overlap eigenvalue ratio across all k-points
residualsCovariance, metric orthonormality, eigenproblem and final Hermiticity residuals
status0 success, 1 unresolved gap, -1 invalid layout/data, -2 metric, -4 eigensolver, -6 excessive residual, -7 broken translation covariance
Note
No occupied-state projection, symmetry reduction or modification of coordinate operators.

Definition at line 54 of file spectral_localizer_bloch.F.

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