|
| | QList () |
| | Default constructor.
|
| | ~QList () |
| | Destructor.
|
| void | generate_mesh (UnitCell &ucell, ModuleSymmetry::Symmetry &symm, const std::vector< int > &mp_grid, bool use_irreps) |
| | Generate the Monkhorst-Pack q-point mesh and reduce it by star.
|
| void | read_from_file (const std::string &filename, UnitCell &ucell) |
| | Read q-points from a q-points file.
|
| void | print_qlists (std::ofstream &ofs) const |
| | Print the q-points in both Cartesian and direct coordinates.
|
| int | get_nq () const |
| | Get the number of q-points.
|
| ModuleBase::Vector3< double > | get_q (int idx) const |
| | Get q-point at given index.
|
| int | get_nirr (int idx) const |
| | Get the number of irreps at given q-point.
|
| std::vector< int > | get_irrep_modes (int q_idx, int irrep_idx) const |
| | Get irrep modes at given q-point and irrep index.
|
| void | reduce_by_symmetry (const UnitCell &ucell, const ModuleSymmetry::Symmetry &symm, bool use_symm, std::string &skpt, bool &match, const int my_rank, std::ofstream &ofs_running) override |
| | Reduce the q-points by star (time-reversal included).
|
| | ReciprocalGrid ()=default |
| virtual | ~ReciprocalGrid ()=default |
| ReciprocalGrid & | operator= (const ReciprocalGrid &)=default |
| ReciprocalGrid & | operator= (ReciprocalGrid &&)=default |
| virtual void | renew (const int &kpoint_number) |
| | Resize the point-related containers.
|
| double | Monkhorst_Pack_formula (const int &k_type, const double &offset, const int &n, const int &dim) |
| | Coordinate of a point generated by the Monkhorst-Pack scheme.
|
| void | Monkhorst_Pack (const int *nmp_in, const double *koffset_in, const int k_type) |
| | Generate a Monkhorst-Pack mesh.
|
| void | kvec_d2c (const ModuleBase::Matrix3 &reciprocal_vec) |
| | Convert direct to Cartesian coordinates.
|
| void | kvec_c2d (const ModuleBase::Matrix3 &latvec) |
| | Convert Cartesian to direct coordinates.
|
| void | set_both_kvec (const ModuleBase::Matrix3 &G, const ModuleBase::Matrix3 &R, std::string &skpt, std::ofstream &ofs_running, std::ofstream &ofs_warning) |
| | Set both the direct and Cartesian coordinates, and print the table.
|
| void | normalize_wk (const int °spin) |
| | Normalize the weights so that they sum to the spin degeneracy.
|
| void | print_klists (std::ofstream &ofs) const |
| | Print the points in both Cartesian and direct coordinates.
|
| void | reduce_ibz (const ModuleBase::Matrix3 *rot_ops, int nrotkm, const ModuleBase::Matrix3 &G, const ModuleBase::Matrix3 &k_lattice, const ModuleBase::Matrix3 *kkmatrix, double epsilon, std::vector< ModuleBase::Vector3< double > > &vec_ibz, std::vector< double > &wk_ibz, std::vector< int > &ibz_index, std::vector< int > &ibz2bz) |
| | Star (IBZ) reduction primitive shared by k-points and q-points.
|
|
| std::vector< ModuleBase::Vector3< double > > | kvec_c |
| | Cartesian coordinates of the points, in unit of 2*pi/lat0.
|
| std::vector< ModuleBase::Vector3< double > > | kvec_d |
| | Direct coordinates of the points.
|
| std::vector< ModuleBase::Vector3< double > > | kvec_c_full |
| | Cartesian coordinates of the full (unreduced) mesh, in unit of 2*pi/lat0.
|
| std::vector< double > | wk |
| | Weight of each point.
|
| std::vector< int > | ngk |
| | Number of plane waves for each point (filled by the PW basis).
|
| int | nmp [3] = {0, 0, 0} |
| | Monkhorst-Pack grid dimensions.
|
| std::vector< int > | kl_segids |
| | Index of the k-line segment each point belongs to.
|
| bool | kc_done = false |
| | Whether the Cartesian coordinates have been computed.
|
| bool | kd_done = false |
| | Whether the direct coordinates have been computed.
|
| int | nks = 0 |
| | Number of points in the current pool (spin-free view).
|
| int | nkstot = 0 |
| int | nkstot_nospin = 0 |
| bool | is_mp = false |
| | Whether this is a Monkhorst-Pack grid.
|
| int | k_nkstot = 0 |
| | Total number of points read from a point-list file (0 = auto mesh).
|
| std::string | k_kword |
| | Type keyword of the point-list file.
|
| virtual int | spin_factor () const |
| | Spin-like multiplicity used by renew() (1 for q-points).
|
| bool | build_star_ops (const UnitCell &ucell, const ModuleSymmetry::Symmetry &symm, bool use_symm, ModuleBase::Matrix3 &k_vec, std::vector< ModuleBase::Matrix3 > &kgmatrix, int &nrotkm) const |
| | Build the reciprocal-space point-group operations for star reduction.
|
QList class for managing q-points.
Inherits the spin-free reciprocal-grid functionality (mesh generation, coordinate conversion, weights, star reduction primitive) from ReciprocalGrid and adds the q-specific star reduction (always including the time-reversal partner -q, no spin expansion) together with the little-group irreducible-representation data (placeholder in the current version).