1#ifndef SPARSE_FORMAT_EXX_H
2#define SPARSE_FORMAT_EXX_H
10#include <RI/global/Tensor.h>
41template <
typename Tdata>
43 const UnitCell& ucell,
44 const Parallel_Orbitals& pv,
45 LCAO_HS_Arrays& HS_Arrays,
46 const int& current_spin,
47 const double& sparse_thr,
49 const std::vector<std::map<
int, std::map<std::pair<
int, std::array<int, 3>>, RI::Tensor<Tdata>>>>& Hexxs,
50 const double hybrid_alpha);
53extern template void cal_HR_exx<double>(
54 const UnitCell& ucell,
55 const Parallel_Orbitals& pv,
56 LCAO_HS_Arrays& HS_Arrays,
57 const int& current_spin,
58 const double& sparse_thr,
60 const std::vector<std::map<
int, std::map<std::pair<
int, std::array<int, 3>>, RI::Tensor<double>>>>& Hexxs,
61 const double hybrid_alpha);
63extern template void cal_HR_exx<std::complex<double>>(
64 const UnitCell& ucell,
65 const Parallel_Orbitals& pv,
66 LCAO_HS_Arrays& HS_Arrays,
67 const int& current_spin,
68 const double& sparse_thr,
70 const std::vector<std::map<int, std::map<std::pair<int, std::array<int, 3>>, RI::Tensor<std::complex<double>>>>>& Hexxs,
71 const double hybrid_alpha);