6#include <RI/global/Tensor.h>
11using TC = std::array<int, 3>;
12using TAC = std::pair<int, TC>;
15template <
typename Tdata>
20 std::vector<std::map<
int, std::map<
TAC, RI::Tensor<Tdata>>>>& Hexxs);
23template <
typename Tdata>
25 std::vector<std::map<
int, std::map<
TAC, RI::Tensor<Tdata>>>>& Hexxs);
28template <
typename Tdata>
31 const std::map<
int, std::map<
TAC, RI::Tensor<Tdata>>>& Hexxs);
35template <
typename Tdata>
37 const double& sparse_threshold,
38 const std::vector<std::map<
int, std::map<
TAC, RI::Tensor<Tdata>>>>& Hexxs,
Definition input_help.cpp:10
void write_Hexxs_csr(const std::string &file_name, const UnitCell &ucell, const std::map< int, std::map< TAC, RI::Tensor< Tdata > > > &Hexxs)
write Hexxs in CSR format
std::pair< int, TC > TAC
Definition restart_exx_csr.h:12
void read_Hexxs_cereal(const std::string &file_name, std::vector< std::map< int, std::map< TAC, RI::Tensor< Tdata > > > > &Hexxs)
read Hexxs in cereal format
Definition restart_exx_csr.hpp:64
void read_Hexxs_csr(const std::string &file_name, const UnitCell &ucell, const int nspin, const int nbasis, std::vector< std::map< int, std::map< TAC, RI::Tensor< Tdata > > > > &Hexxs)
read Hexxs in CSR format
Definition restart_exx_csr.hpp:13
std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, Tdata > > > calculate_RI_Tensor_sparse(const double &sparse_threshold, const std::vector< std::map< int, std::map< TAC, RI::Tensor< Tdata > > > > &Hexxs, const UnitCell &ucell)
std::array< int, 3 > TC
Definition restart_exx_csr.h:11