#include <irred_sec.h>
|
| void | find_irred_sector (const Symmetry &symm, const Atom *atoms, const int nat, const int ntype, const std::vector< int > &iat2it, const std::vector< int > &iat2ia, const std::vector< TC > &Rs, const TC &period, const Lattice &lat, const std::string &output_dir="") |
| const std::map< Tap, std::set< TC > > & | get_irred_sector () const |
| TCdouble | get_return_lattice (const Symmetry &symm, const ModuleBase::Matrix3 &gmatd, const TCdouble gtransd, const TCdouble &posd_a1, const TCdouble &posd_a2) const |
| TCdouble | get_return_lattice (const int iat, const int isym) const |
|
| void | cal_return_lattice_all (const Symmetry &symm, const Atom *atoms, const int nat, const std::vector< int > &iat2it, const std::vector< int > &iat2ia) |
| TC | rotate_R (const Symmetry &symm, const int isym, const int iat1, const int iat2, const TC &R, const char gauge='R') const |
| | The sub functions to find irreducible sector: {abR}.
|
| TapR | rotate_apR_by_formula (const Symmetry &symm, const int isym, const TapR &iapR, const char gauge='R') const |
| ModuleBase::Matrix3 | direct_to_cartesian (const ModuleBase::Matrix3 &d, const ModuleBase::Matrix3 &latvec) const |
| void | output_full_map_to_irreducible_sector (const int nat) |
| void | output_sector_star () |
| void | write_irreducible_sector (const std::string &output_dir) |
| void | gen_symm_bvk (const Symmetry &symm, const Atom *atoms, const Lattice &lat, const int nat, const int ntype, const TC bvk_period) |
| | The sub functions judge special symmetry.
|
◆ cal_return_lattice_all()
| void ModuleSymmetry::Irred_Sector::cal_return_lattice_all |
( |
const Symmetry & | symm, |
|
|
const Atom * | atoms, |
|
|
const int | nat, |
|
|
const std::vector< int > & | iat2it, |
|
|
const std::vector< int > & | iat2ia ) |
|
protected |
◆ direct_to_cartesian()
◆ find_irred_sector()
| void ModuleSymmetry::Irred_Sector::find_irred_sector |
( |
const Symmetry & | symm, |
|
|
const Atom * | atoms, |
|
|
const int | nat, |
|
|
const int | ntype, |
|
|
const std::vector< int > & | iat2it, |
|
|
const std::vector< int > & | iat2ia, |
|
|
const std::vector< TC > & | Rs, |
|
|
const TC & | period, |
|
|
const Lattice & | lat, |
|
|
const std::string & | output_dir = "" ) |
The main function to find irreducible sector: {abR}
- Parameters
-
| output_dir | if non-empty, write_irreducible_sector() dumps a debug listing to <output_dir>/irreducible_sector.txt (callers pass the run's global output directory setting); kept as an explicit argument rather than reading the global config directly so this LibRI-free class has no module_parameter link dependency. |
◆ gen_symm_bvk()
| void ModuleSymmetry::Irred_Sector::gen_symm_bvk |
( |
const Symmetry & | symm, |
|
|
const Atom * | atoms, |
|
|
const Lattice & | lat, |
|
|
const int | nat, |
|
|
const int | ntype, |
|
|
const TC | bvk_period ) |
|
protected |
The sub functions judge special symmetry.
◆ get_irred_sector()
| const std::map< Tap, std::set< TC > > & ModuleSymmetry::Irred_Sector::get_irred_sector |
( |
| ) |
const |
|
inline |
◆ get_return_lattice() [1/2]
| TCdouble ModuleSymmetry::Irred_Sector::get_return_lattice |
( |
const int | iat, |
|
|
const int | isym ) const |
|
inline |
◆ get_return_lattice() [2/2]
Perfoming {R|t} to atom position r in the R=0 lattice, we get Rr+t, which may get out of R=0 lattice, whose image in R=0 lattice is r'=Rr+t-O. This function is to get O for each atom and each symmetry operation. Preserve the input coordinate representatives; do not wrap away their integer lattice shifts.
◆ output_full_map_to_irreducible_sector()
| void ModuleSymmetry::Irred_Sector::output_full_map_to_irreducible_sector |
( |
const int | nat | ) |
|
|
protected |
◆ output_sector_star()
| void ModuleSymmetry::Irred_Sector::output_sector_star |
( |
| ) |
|
|
protected |
◆ rotate_apR_by_formula()
| TapR ModuleSymmetry::Irred_Sector::rotate_apR_by_formula |
( |
const Symmetry & | symm, |
|
|
const int | isym, |
|
|
const TapR & | iapR, |
|
|
const char | gauge = 'R' ) const |
|
protected |
◆ rotate_R()
| TC ModuleSymmetry::Irred_Sector::rotate_R |
( |
const Symmetry & | symm, |
|
|
const int | isym, |
|
|
const int | iat1, |
|
|
const int | iat2, |
|
|
const TC & | R, |
|
|
const char | gauge = 'R' ) const |
|
protected |
The sub functions to find irreducible sector: {abR}.
gauge='L' means H(R)=<R|H|0>; gauge='R' means H(R)=<0|H|R> gauge='L': R'=R+O_1-O_2; gauge='R': R'=R+O_2-O_1
◆ write_irreducible_sector()
| void ModuleSymmetry::Irred_Sector::write_irreducible_sector |
( |
const std::string & | output_dir | ) |
|
|
protected |
◆ Symmetry_rotation
| friend class Symmetry_rotation |
|
friend |
◆ Symmetry_rotation_k
| friend class Symmetry_rotation_k |
|
friend |
◆ bvk_nsym_
| int ModuleSymmetry::Irred_Sector::bvk_nsym_ |
|
protected |
◆ full_map_to_irreducible_sector_
| std::map<TapR, std::pair<int, TapR>, apR_less_func> ModuleSymmetry::Irred_Sector::full_map_to_irreducible_sector_ |
|
protected |
◆ invmap_
| std::vector<int> ModuleSymmetry::Irred_Sector::invmap_ |
|
protected |
◆ irreducible_sector_
| std::map<Tap, std::set<TC> > ModuleSymmetry::Irred_Sector::irreducible_sector_ |
|
protected |
whether in 2D plain or not for each symmetry operation
irreducible atom pairs: [n_iap][(isym, ap=(iat1, iat2))] The index range of the orbital matrix to be calculated: irreducible R in irreducible atom pairs
◆ isymbvk_to_isym_
| std::vector<int> ModuleSymmetry::Irred_Sector::isymbvk_to_isym_ |
|
protected |
symmetry info for BvK supercell
◆ return_lattice_
| std::vector<std::vector<TCdouble> > ModuleSymmetry::Irred_Sector::return_lattice_ |
|
protected |
the direct lattice vector of {R|t}\tau-\tau' for each atoms and each symmetry operation. [natom][nsym]
◆ sector_stars_
| std::map<TapR, std::map<int, TapR> > ModuleSymmetry::Irred_Sector::sector_stars_ |
|
protected |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/module_symmetry/irred_sec.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/module_symmetry/irred_sec.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/module_symmetry/irred_sec_bvk.cpp