|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Namespaces | |
| namespace | Symm_Other |
| namespace | SpinRotation |
| SU(2) spin-1/2 representation of a real-space symmetry operation. | |
Classes | |
| class | Irred_Sector |
| class | LittleGroup |
| Little group (group of the wavevector) of a q-point. More... | |
| class | Symmetry_Basic |
| Basic symmetry operations class. More... | |
| class | Symmetry_rotation_k |
| k-space AO-representation symmetry restoration: reconstructs D(k) at every k-star member from D(k_ibz), for crystal-symmetry-reduced BZ sampling. More... | |
| class | Symmetry |
| Symmetry analysis class. More... | |
| class | Symmetry_rotation |
Typedefs | |
| using | Tap = std::pair<int, int> |
| using | TC = std::array<int, 3> |
| using | TapR = std::pair<Tap, TC> |
| using | TCdouble = ModuleBase::Vector3<double> |
Functions | |
| void | output_return_lattice (const std::vector< std::vector< TCdouble > > &return_lattice) |
| std::vector< int > | get_isymbvk_to_isym_map (const std::vector< ModuleBase::Matrix3 > &bvkgmat, const ModuleSymmetry::Symmetry &symm) |
| int | gcd (const int a, const int b) |
| int | m2im_k (int m) |
| void | symmetrize_force_cartesian (Symmetry *symm, const int nat, const ModuleBase::Vector3< double > &a1, const ModuleBase::Vector3< double > &a2, const ModuleBase::Vector3< double > &a3, ModuleBase::matrix &force) |
| Symmetrize a per-atom Cartesian force vector in place. | |
| std::string | mat3_fmt (const ModuleBase::Matrix3 &m) |
| void | print_symrot_info_R (const Symmetry_rotation &symrot, const Symmetry &symm, const int lmax_ao, const std::vector< TC > &Rs) |
| void | print_symrot_info_k (const Symmetry_rotation &symrot, const K_Vectors &kv, const UnitCell &ucell) |
| template<typename T> | |
| std::string | vec3_fmt (const T &x, const T &y, const T &z) |
| template<typename T> | |
| std::string | vec3_fmt (const ModuleBase::Vector3< T > &v) |
| RI::Tensor< std::complex< double > > | rotmat_Slm_to_tensor (const ModuleBase::ComplexMatrix &block) |
| float | conj_elem (const float v) |
| double | conj_elem (const double v) |
| std::complex< float > | conj_elem (const std::complex< float > &v) |
| std::complex< double > | conj_elem (const std::complex< double > &v) |
| template<typename Tdata> | |
| void | print_tensor (const RI::Tensor< Tdata > &t, const std::string &name, const double &threshold=0.0) |
| template<typename Tdata> | |
| void | print_tensor3 (const RI::Tensor< Tdata > &t, const std::string &name, const double &threshold=0.0) |
| template<typename Tdata> | |
| void | set_block (const int starti, const int startj, const RI::Tensor< std::complex< double > > &block, RI::Tensor< Tdata > &obj_tensor) |
| template<typename TR> | |
| void | print_global (const TR *tlocal, const int nr, const int nc, const std::string name) |
| template<typename TR> | |
| void | print_local (const Parallel_Orbitals &pv, const TR *tlocal, const std::string name) |
| template<typename TR> | |
| void | print_atompair_local (const Parallel_Orbitals &pv, const int iat1, const int iat2, const TR *tlocal, const std::string name) |
| void | set_block (const int starti, const int startj, const int nr, const ModuleBase::ComplexMatrix &block, double *obj) |
| void | set_block (const int starti, const int startj, const int nr, const ModuleBase::ComplexMatrix &block, std::complex< double > *obj) |
Variables | |
| bool | test_brav = 0 |
| for test only | |
| using ModuleSymmetry::Tap = std::pair<int, int> |
| using ModuleSymmetry::TapR = std::pair<Tap, TC> |
| using ModuleSymmetry::TC = std::array<int, 3> |
| using ModuleSymmetry::TCdouble = ModuleBase::Vector3<double> |
|
inline |
|
inline |
Elementwise complex conjugation used by the time-reversal branch of restore_HR_nspin4. Overloaded (not specialized) so a real Tdata compiles to the identity.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::string ModuleSymmetry::mat3_fmt | ( | const ModuleBase::Matrix3 & | m | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void ModuleSymmetry::print_symrot_info_k | ( | const Symmetry_rotation & | symrot, |
| const K_Vectors & | kv, | ||
| const UnitCell & | ucell ) |
| void ModuleSymmetry::print_symrot_info_R | ( | const Symmetry_rotation & | symrot, |
| const Symmetry & | symm, | ||
| const int | lmax_ao, | ||
| const std::vector< TC > & | Rs ) |
|
inline |
|
inline |
|
inline |
rotmat_Slm_ (inherited from Symmetry_rotation_k, shared with the LibRI-free k-space restoration) is stored as ModuleBase::ComplexMatrix; convert to RI::Tensor here, at the boundary of the real-space (RI::Tensor atom-pair) rotation code that needs that type.
|
inline |
|
inline |
|
inline |
| void ModuleSymmetry::symmetrize_force_cartesian | ( | Symmetry * | symm, |
| const int | nat, | ||
| const ModuleBase::Vector3< double > & | a1, | ||
| const ModuleBase::Vector3< double > & | a2, | ||
| const ModuleBase::Vector3< double > & | a3, | ||
| ModuleBase::matrix & | force ) |
Symmetrize a per-atom Cartesian force vector in place.
Convert Cartesian -> direct, apply symmetrize_vec3_nat, then convert back to Cartesian. The lattice vectors are passed explicitly by the caller (the current cell), because Symmetry::a1/a2/a3 may have been replaced by the symmetry-optimized lattice during the analysis. Shared by the PW and LCAO force paths.
| symm | symmetry handler |
| nat | number of atoms |
| a1 | first lattice vector of the current cell |
| a2 | second lattice vector of the current cell |
| a3 | third lattice vector of the current cell |
| force | per-atom Cartesian forces, nat x 3, modified in place |
| std::string ModuleSymmetry::vec3_fmt | ( | const ModuleBase::Vector3< T > & | v | ) |
|
extern |
for test only