probes w90 library for (current) wannier centres
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(lib_common_type), | intent(in) | :: | common_data |
library data object |
||
| real(kind=dp), | intent(out) | :: | centres(:,:) |
must be allocated with size >= n_wannier |
subroutine w90_get_centres(common_data, centres) !! probes w90 library for (current) wannier centres implicit none real(kind=dp), intent(out) :: centres(:, :) !! must be allocated with size >= n_wannier type(lib_common_type), intent(in) :: common_data !! library data object centres = common_data%wannier_data%centres end subroutine w90_get_centres