ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
spar_st.h
Go to the documentation of this file.
1#ifndef SPARSE_FORMAT_ST_H
2#define SPARSE_FORMAT_ST_H
3
6
7namespace sparse_format {
9void cal_SR(const Parallel_Orbitals& pv,
10 std::set<Abfs::Vector3_Order<int>>& all_R_coor,
11 std::map<Abfs::Vector3_Order<int>, std::map<size_t, std::map<size_t, double>>>& SR_sparse,
12 std::map<Abfs::Vector3_Order<int>, std::map<size_t, std::map<size_t, std::complex<double>>>>& SR_soc_sparse,
13 const Grid_Driver& grid,
14 const double& sparse_thr,
15 hamilt::Hamilt<std::complex<double>>* p_ham);
16
18void cal_TR(const UnitCell& ucell,
19 const Parallel_Orbitals& pv,
20 LCAO_HS_Arrays& HS_arrays,
21 const Grid_Driver& grid,
22 const TwoCenterBundle& two_center_bundle,
23 const LCAO_Orbitals& orb,
24 const double& sparse_thr);
25
27void cal_STN_R_for_T(const UnitCell& ucell,
28 const Parallel_Orbitals& pv,
29 LCAO_HS_Arrays& HS_arrays,
30 const Grid_Driver& grid,
31 const std::vector<double>& orb_cutoff,
32 const double& sparse_thr);
33
34void destroy_T_R_sparse(LCAO_HS_Arrays& HS_Arrays);
35} // namespace sparse_format
36
37#endif
Definition abfs-vector3_order.h:16
Definition sltk_grid_driver.h:43
Definition LCAO_HS_arrays.hpp:9
Definition ORB_read.h:19
Definition parallel_orbitals.h:9
Definition two_center_bundle.h:11
Definition unitcell.h:16
Definition hamilt.h:16
Definition spar_dh.h:13
void cal_TR(const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_arrays, const Grid_Driver &grid, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, const double &sparse_thr)
calculate kinetic matrix with lattice vector R
Definition spar_st.cpp:54
void cal_SR(const Parallel_Orbitals &pv, std::set< Abfs::Vector3_Order< int > > &all_R_coor, std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, double > > > &SR_sparse, std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, std::complex< double > > > > &SR_soc_sparse, const Grid_Driver &grid, const double &sparse_thr, hamilt::Hamilt< std::complex< double > > *p_ham)
calculate overlap matrix with lattice vector R
Definition spar_st.cpp:12
void cal_STN_R_for_T(const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_arrays, const Grid_Driver &grid, const std::vector< double > &orb_cutoff, const double &sparse_thr)
cal_STN_R_for_T is only called by cal_TR
Definition spar_st.cpp:91
void destroy_T_R_sparse(LCAO_HS_Arrays &HS_Arrays)
Definition spar_st.cpp:198