(git:26ffdda)
Loading...
Searching...
No Matches
topology_state_io Module Reference

Versioned Gaussian-basis snapshots for cross-geometry topology overlaps. Atomic units, full contraction coefficients, CP2K periodic atom images. More...

Functions/Subroutines

subroutine, public topology_state_begin (qs_env, filename, nao, nband, npoint, nspin, ntotal, spin_channel, bands, unit)
 Write basis metadata; all ranks call, only the source writes.
subroutine, public topology_state_point (unit, point, k, eigenvalues, coefficients)
 Write one point with eigenvalues in Hartree and physical AO coefficients.

Detailed Description

Versioned Gaussian-basis snapshots for cross-geometry topology overlaps. Atomic units, full contraction coefficients, CP2K periodic atom images.

Function/Subroutine Documentation

◆ topology_state_begin()

subroutine, public topology_state_io::topology_state_begin ( type(qs_environment_type), pointer qs_env,
character(len=*), intent(in) filename,
integer, intent(in) nao,
integer, intent(in) nband,
integer, intent(in) npoint,
integer, intent(in) nspin,
integer, intent(in) ntotal,
integer, intent(in) spin_channel,
integer, dimension(:), intent(in) bands,
integer, intent(out) unit )

Write basis metadata; all ranks call, only the source writes.

Parameters
qs_envelectronic structure environment
filenamesnapshot file
naonumber of AO functions
nbandretained states
npointk-points
nspinspinor components, one for a selected collinear channel
ntotalall computed eigenvalues
spin_channelcollinear channel label
bandsretained band indices
unitsource output unit, -1 on other ranks

Definition at line 48 of file topology_state_io.F.

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

◆ topology_state_point()

subroutine, public topology_state_io::topology_state_point ( integer, intent(in) unit,
integer, intent(in) point,
real(kind=dp), dimension(3), intent(in) k,
real(kind=dp), dimension(:), intent(in) eigenvalues,
complex(kind=dp), dimension(:, :), intent(in) coefficients )

Write one point with eigenvalues in Hartree and physical AO coefficients.

Parameters
unitsnapshot output unit, -1 skips output
pointone-based point index
kfractional reciprocal coordinates
eigenvaluesall computed eigenvalues, including excluded states
coefficientsselected states; spinor components are stacked by AO

Definition at line 110 of file topology_state_io.F.

Here is the caller graph for this function: