Go to the source code of this file.
|
namespace | ModuleIO |
| This class has two functions: restart psi from the previous calculation, and write psi to the disk.
|
|
|
template<typename Tdata > |
void | ModuleIO::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
|
|
template<typename Tdata > |
void | ModuleIO::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
|
|
template<typename Tdata > |
void | ModuleIO::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
|
|
template<typename Tdata > |
std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, Tdata > > > | ModuleIO::calculate_RI_Tensor_sparse (const double &sparse_threshold, const std::vector< std::map< int, std::map< TAC, RI::Tensor< Tdata > > > > &Hexxs, const UnitCell &ucell) |
|