1#ifndef SPARSE_FORMAT_HSR_H
2#define SPARSE_FORMAT_HSR_H
18 std::set<Abfs::Vector3_Order<int>> all_R_coor;
22 for (
int iR = 0; iR < atom_pair.
get_R_size(); ++iR)
26 all_R_coor.insert(dR);
38using TAC = std::pair<int, std::array<int, 3>>;
43 const int& current_spin,
44 const double& sparse_thr,
49 const std::vector<std::map<
int, std::map<
TAC, RI::Tensor<double>>>>* Hexxd =
nullptr,
50 const std::vector<std::map<
int, std::map<
TAC, RI::Tensor<std::complex<double>>>>>* Hexxc =
nullptr
55 const int& current_spin,
56 const double& sparse_threshold,
62 const int& current_spin,
63 const double& sparse_threshold,
69 const int& current_spin,
70 const double& sparse_threshold,
Definition abfs-vector3_order.h:16
Definition sltk_grid_driver.h:43
Definition LCAO_HS_arrays.hpp:9
Definition parallel_orbitals.h:9
Definition atom_pair.h:42
ModuleBase::Vector3< int > get_R_index(const int &index) const
Definition atom_pair.cpp:795
size_t get_R_size() const
Definition atom_pair.h:288
Definition hcontainer.h:144
size_t size_atom_pairs() const
calculate number of AtomPairs for current R index
Definition hcontainer.cpp:576
AtomPair< T > & get_atom_pair(int i, int j) const
return a reference of AtomPair with index of atom I and J in atom_pairs
Definition hcontainer.cpp:353
base device SOURCES math_dngvd_test cpp endif() if(ENABLE_GOOGLEBENCH) AddTest(TARGET PERF_MODULE_HSOLVER_KERNELS LIBS parameter $
Definition CMakeLists.txt:10