triqs_dft_tools.converters.plovasp.proj_group.ProjectorGroup
- class triqs_dft_tools.converters.plovasp.proj_group.ProjectorGroup(gr_pars, shells, eigvals)[source]
Container of projectors defined within a certain energy window.
The constructor selects a subset of projectors according to the parameters from the config-file (passed in pars).
- Parameters:
gr_pars (dict) : group parameters from the config-file
shells ([ProjectorShell]) : array of ProjectorShell objects
eigvals (numpy.array) : array of KS eigenvalues
Methods
calc_complement
(eigvals)Calculate the complement for a group of projectors.
calc_hk
(eigvals)Calculate H(k) for a group by applying the projectors P to the eigenvalues eps.
Generates a map from a set of projectors belonging to different shells and ions onto a set of block projector matrices, each of which is orthonormalized.
nelect_window
(el_struct)Determines the total number of electrons within the window.
Orthogonalize a group of projectors.
orthogonalize_projector_matrix
(p_matrix)Orthogonalizes a projector defined by a rectangular matrix p_matrix.
select_bands
(eigvals)Select a subset of bands lying within a given energy window.
Methods
|
Constructor |
|
Calculate the complement for a group of projectors. |
|
Calculate H(k) for a group by applying the projectors P to the eigenvalues eps. |
Generates a map from a set of projectors belonging to different shells and ions onto a set of block projector matrices, each of which is orthonormalized. |
|
|
Determines the total number of electrons within the window. |
Orthogonalize a group of projectors. |
|
|
Orthogonalizes a projector defined by a rectangular matrix p_matrix. |
|
Select a subset of bands lying within a given energy window. |