|
| | Symmetry_rotation () |
| | ~Symmetry_rotation () |
| void | set_Cs_rotation (const std::vector< std::vector< int > > &abfs_l_nchi) |
| template<typename Tdata> |
| std::map< int, std::map< std::pair< int, TC >, RI::Tensor< Tdata > > > | restore_HR (const Symmetry &symm, const Atom *atoms, const std::vector< int > &iat2it, const char mode, const std::map< int, std::map< std::pair< int, TC >, RI::Tensor< Tdata > > > &HR_irreduceble) const |
| template<typename TR> |
| void | restore_HR (const Symmetry &symm, const Atom *atoms, const std::vector< int > &iat2it, const std::vector< int > &iat2ia, const char mode, const hamilt::HContainer< TR > &HR_irreduceble, hamilt::HContainer< TR > &HR_rotated) const |
| template<typename Tdata> |
| std::array< std::map< int, std::map< std::pair< int, TC >, RI::Tensor< Tdata > > >, 4 > | restore_HR_nspin4 (const Symmetry &symm, const Atom *atoms, const std::vector< int > &iat2it, const char mode, const std::array< std::map< int, std::map< std::pair< int, TC >, RI::Tensor< Tdata > > >, 4 > &HR_irreducible_soc) const |
| template<typename Tdata> |
| void | print_HR (const std::map< int, std::map< std::pair< int, TC >, RI::Tensor< Tdata > > > &HR, const std::string name, const double &threshold=0.0) |
| | Symmetry_rotation_k () |
| virtual | ~Symmetry_rotation_k () |
| void | reset_symmetry () |
| | Discard geometry-dependent caches before rebuilding symmetry for a new cell.
|
| 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 | 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="") |
| void | set_abfs_Lmax (const int l) |
| void | cal_Ms (const K_Vectors &kv, const Symmetry &symm, const Atom *atoms, const ModuleBase::Matrix3 &latvec, const int lmax, const int nat, const std::vector< int > &iat2it, const std::vector< int > &iat2ia, const Parallel_Blkcyclic &pv, const int nspin) |
| | functions to contruct rotation matrix in AO-representation
|
| std::vector< std::vector< std::complex< double > > > | restore_dm (const K_Vectors &kv, const std::vector< std::vector< std::complex< double > > > &dm_k_ibz, const Parallel_Blkcyclic &pv) const |
| std::vector< std::vector< double > > | restore_dm (const K_Vectors &kv, const std::vector< std::vector< double > > &dm_k_ibz, const Parallel_Blkcyclic &pv) const |
| std::vector< std::complex< double > > | rot_matrix_ao (const std::vector< std::complex< double > > &DMkibz, const int ik_ibz, const int kstar_size, const int isym, const Parallel_Blkcyclic &pv, const bool TRS_conj=false) const |
| std::vector< std::complex< double > > | set_sigma_y_2d (const Parallel_Blkcyclic &pv) const |
| | (nspin=4) build the 2*nao spin operator Sigma_y = I_nao (x) sigma_y in 2d-block layout.
|
| std::vector< std::complex< double > > | trs_spin_rotate (const std::vector< std::complex< double > > &X, const std::vector< std::complex< double > > &sigma_y, const Parallel_Blkcyclic &pv, const double scale) const |
| double | wigner_d (const double beta, const int l, const int m1, const int m2) const |
| | calculate Wigner D matrix
|
| std::complex< double > | wigner_D (const TCdouble &euler_angle, const int l, const int m1, const int m2, const bool inv) const |
| std::complex< double > | ovlp_Ylm_Slm (const int l, const int m1, const int m2) const |
| | c^l_{m1, m2}=<Y_l^m1|S_l^m2>
|
| TCdouble | get_euler_angle (const ModuleBase::Matrix3 &gmatc) const |
| | calculate euler angle from rotation matrix
|
| void | cal_rotmat_Slm (const ModuleBase::Matrix3 *gmatc, const int lmax, const int nop) |
| | T_mm' = [c^\dagger D c]_mm'.
|
| void | set_block_to_mat2d (const int starti, const int startj, const ModuleBase::ComplexMatrix &block, std::vector< std::complex< double > > &obj_mat, const Parallel_Blkcyclic &pv, const bool trans=false) const |
| void | set_block_to_mat2d (const int starti, const int startj, const ModuleBase::ComplexMatrix &block, std::vector< double > &obj_mat, const Parallel_Blkcyclic &pv, const bool trans=false) const |
| std::vector< std::complex< double > > | contruct_2d_rot_mat_ao (const Symmetry &symm, const Atom *atoms, const int nat, const std::vector< int > &iat2it, const std::vector< int > &iat2ia, const TCdouble &kvec_d_ibz, int isym, const Parallel_Blkcyclic &pv, const SpinRotation::Su2 &spin_U) const |
| std::vector< std::vector< ModuleBase::ComplexMatrix > > & | get_rotmat_Slm () |
| void | set_density_rotations_for_testing (const std::vector< std::map< int, std::vector< std::complex< double > > > > &Ms, const std::vector< std::vector< int > > &little_groups, const int nsym, const int nspin) |
|
| template<typename Tdata> |
| RI::Tensor< Tdata > | rotate_atompair_serial (const RI::Tensor< Tdata > &A, const int isym, const Atom &a1, const Atom &a2, const char mode, bool output=false) const |
| template<typename Tdata> |
| void | rotate_atompair_serial (Tdata *TAT, const Tdata *A, const int &nw1, const int &nw2, const int isym, const Atom &a1, const Atom &a2, const char mode) const |
| template<typename TR> |
| void | rotate_atompair_parallel (const TR *Alocal_in, const int isym, const Atom *atoms, const std::vector< int > &iat2it, const std::vector< int > &iat2ia, const Tap &ap_in, const Tap &ap_out, const char mode, const Parallel_Orbitals &pv, TR *Alocal_out, const bool output=false) const |
| template<typename Tdata> |
| RI::Tensor< Tdata > | rotate_singleC_serial (const RI::Tensor< Tdata > &C, const int isym, const Atom &a1, const Atom &a2, const int &type1, bool output=false) const |
| | rotate a 3-dim C tensor in RI technique
|
| template<typename Tdata> |
| RI::Tensor< Tdata > | set_rotation_matrix (const Atom &a, const int &isym) const |
| template<typename Tdata> |
| RI::Tensor< Tdata > | set_rotation_matrix_abf (const int &type, const int &isym) const |
| const RI::Tensor< std::complex< double > > & | get_rotmat_Slm_tensor (const int isym, const int l) const |
Real-space (RI::Tensor / HContainer) H(R) and RI-coefficient symmetry restoration for EXX/RPA, built on top of the LibRI-independent k-space restoration in ModuleSymmetry::Symmetry_rotation_k (source_cell/module_symmetry/symm_rotation_k.h), which provides cal_Ms/restore_dm/rot_matrix_ao and the shared rotation-matrix machinery (rotmat_Slm_, irs_, Ms_, spin_U_, ...). Only the parts that genuinely need LibRI (RI::Tensor atom-pair maps, HContainer real-space rotation) live here.