1#ifndef WRITE_HS_SPARSE_H
2#define WRITE_HS_SPARSE_H
18 const double& sparse_thr,
20 const std::string& SR_filename,
21 const std::string& HR_filename_up,
22 const std::string& HR_filename_down);
27 const double& sparse_thr,
29 const std::string& fileflag =
"h");
31template <
typename Tdata>
34 const double& sparse_thr,
36 const std::string& filename,
38 const std::string& label,
39 const int& istep = -1,
40 const bool& reduce =
true);
Definition abfs-vector3_order.h:16
Definition LCAO_HS_arrays.hpp:9
Definition parallel_orbitals.h:9
This class has two functions: restart psi from the previous calculation, and write psi to the disk.
Definition cal_dos.h:9
void save_dH_sparse(const int &istep, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, const double &sparse_thr, const bool &binary, const std::string &fileflag="h")
Definition write_HS_sparse.cpp:332
void save_HSR_sparse(const int &istep, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, const double &sparse_thr, const bool &binary, const std::string &SR_filename, const std::string &HR_filename_up, const std::string &HR_filename_down)
Definition write_HS_sparse.cpp:10
void save_sparse(const std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, Tdata > > > &smat, const std::set< Abfs::Vector3_Order< int > > &all_R_coor, const double &sparse_thr, const bool &binary, const std::string &filename, const Parallel_Orbitals &pv, const std::string &label, const int &istep=-1, const bool &reduce=true)
Definition write_HS_sparse.cpp:704