20 std::vector<double>& populations);
54 const std::string& global_readin_dir,
55 const Parallel_Orbitals& ParaV,
57 ModuleBase::matrix& ekb,
58 ModuleBase::matrix& wg,
59 const std::vector<int> &ik2iktot,
63 const int skip_band = 0,
64 const int istep = -1);
Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in e...
Definition csr_reader.cpp:8
void read_wfc_nao_one_data(std::ifstream &ifs, float &data)
Reads a single data value from an input file stream.
Definition read_wfc_nao.cpp:200
bool read_wfc_nao_spin_populations(const std::string &readin_dir, int nkstot, int nspin, bool gamma_only, bool binary, int my_rank, std::vector< double > &populations)
Definition read_wfc_nao.cpp:107
bool read_wfc_nao(const std::string &global_readin_dir, const Parallel_Orbitals &ParaV, psi::Psi< T > &psid, ModuleBase::matrix &ekb, ModuleBase::matrix &wg, const std::vector< int > &ik2iktot, const int nkstot, const int nspin, const bool binary, const int skip_band=0, const int istep=-1)
Reads the wavefunction coefficients from an input file.
Definition read_wfc_nao.cpp:227