#include <projector_mapping_table.hpp>
Public Member Functions | |
| ProjectorMappingTable ()=default | |
| int | angular_momentum (int species_type, int channel_index) const |
| const std::vector< std::vector< int > > & | angular_momentum_table () const |
| void | build (const Crystal &crystal_structure, const PseudopotentialSet &pseudopotential_set, int number_of_species_types) |
| const std::vector< int > & | channels_per_type_table () const |
| int | combined_lm_index (int species_type, int channel_index) const |
| const std::vector< std::vector< int > > & | combined_lm_index_table () const |
| int | magnetic_quantum_number (int species_type, int channel_index) const |
| int | number_of_channels (int species_type) const |
| int | to_beta_index (int species_type, int channel_index) const |
| const std::vector< std::vector< int > > & | to_beta_index_table () const |
| int | total_number_of_projectors () const |
Definition at line 20 of file projector_mapping_table.hpp.
|
default |
|
inline |
Angular momentum l of an expanded channel.
Definition at line 92 of file projector_mapping_table.hpp.
Referenced by q3::UltrasoftPlanewaveBasis::compute_q_g_single(), q3::UltrasoftPlanewaveBasis::precompute_q_functions_g(), and q3::NormConservingPlanewaveBasis::projector_angular_momentum().
|
inline |
Raw access to the angular_momentum table (needed by USPP newd).
Definition at line 134 of file projector_mapping_table.hpp.
|
inline |
Build the projector expansion tables for all species and compute total projector count.
| crystal_structure | Crystal (needed for atom→species mapping) |
| pseudopotential_set | The pseudopotentials |
| number_of_species_types | Number of distinct species |
Definition at line 30 of file projector_mapping_table.hpp.
References q3::harmonic_combined_degree_order_index(), q3::harmonic_order_sequence(), q3::Crystal::number_of_atoms(), q3::PseudopotentialSet::size(), and q3::Crystal::species_type_index().
Referenced by q3::NormConservingPlanewaveBasis::init().
|
inline |
Raw access to the channels-per-type table (needed by USPP newd).
Definition at line 113 of file projector_mapping_table.hpp.
|
inline |
Combined (l,m) index for an expanded channel (QE convention: l² + offset).
Definition at line 106 of file projector_mapping_table.hpp.
Referenced by q3::UltrasoftPlanewaveBasis::compute_q_g_single(), q3::UltrasoftPlanewaveBasis::precompute_q_functions_g(), and q3::NormConservingPlanewaveBasis::projector_combined_lm_index().
|
inline |
Raw access to the combined_lm_index table (needed by USPP newd).
Definition at line 127 of file projector_mapping_table.hpp.
|
inline |
Magnetic quantum number m of an expanded channel.
Definition at line 99 of file projector_mapping_table.hpp.
Referenced by q3::NormConservingPlanewaveBasis::projector_magnetic_quantum_number().
|
inline |
Number of expanded projector channels for a species (sum of 2l+1).
Definition at line 78 of file projector_mapping_table.hpp.
Referenced by q3::UltrasoftPlanewaveBasis::add_augmentation_charges(), q3::NormConservingPlanewaveBasis::number_of_projector_channels(), and q3::UltrasoftPlanewaveBasis::precompute_q_functions_g().
|
inline |
Map an expanded channel back to its radial beta projector index.
Definition at line 85 of file projector_mapping_table.hpp.
Referenced by q3::UltrasoftPlanewaveBasis::compute_q_g_single(), q3::UltrasoftPlanewaveBasis::precompute_q_functions_g(), and q3::NormConservingPlanewaveBasis::projector_to_beta_index().
|
inline |
Raw access to the to_beta_index table (needed by USPP newd).
Definition at line 120 of file projector_mapping_table.hpp.
|
inline |
Total Kleinman-Bylander projectors across all atoms.
Definition at line 71 of file projector_mapping_table.hpp.
Referenced by q3::NormConservingPlanewaveBasis::total_number_of_projectors().