Wigner-Seitz cell and its nearest image translations.
Dense Wigner-Seitz construction (new_wignerseitz_cell) populates nimg, tridx, and trans. CSR neighbor-list construction (mctc_csrlist_type) populates the compressed list arrays itr_list, nimg_list, and tridx_list.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=i8), | public, | allocatable | :: | itr_list(:) |
Flattened atom-pair image offsets used by CSR neighbor lists |
||
| integer, | public, | allocatable | :: | nimg(:,:) |
Number of images for each atom pair (nat, nat) |
||
| integer, | public, | allocatable | :: | nimg_list(:) |
Number of images per CSR neighbor-list pair |
||
| integer, | public | :: | nimg_max | = | 0 |
Maximum number of images per atom pair |
|
| real(kind=wp), | public, | allocatable | :: | trans(:,:) |
Lattice translation vectors (3, ntrans) |
||
| integer, | public, | allocatable | :: | tridx(:,:,:) |
Translation indices for each atom pair (nimg_max, nat, nat) |
||
| integer, | public, | allocatable | :: | tridx_list(:) |
Flattened translation indices used by CSR neighbor lists |
type :: wignerseitz_cell !> Maximum number of images per atom pair integer :: nimg_max = 0 !> Number of images for each atom pair (nat, nat) integer, allocatable :: nimg(:, :) !> Translation indices for each atom pair (nimg_max, nat, nat) integer, allocatable :: tridx(:, :, :) !> Flattened atom-pair image offsets used by CSR neighbor lists integer(i8), allocatable :: itr_list(:) !> Number of images per CSR neighbor-list pair integer, allocatable :: nimg_list(:) !> Flattened translation indices used by CSR neighbor lists integer, allocatable :: tridx_list(:) !> Lattice translation vectors (3, ntrans) real(wp), allocatable :: trans(:, :) end type wignerseitz_cell