ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
read_wf2rho_pw.h
Go to the documentation of this file.
1#ifndef READ_WF2RHO_PW_H
2#define READ_WF2RHO_PW_H
3
6
7#include <string>
8#include <fstream>
9
10namespace ModuleIO
11{
21
23 const ModulePW::PW_Basis_K* pw_wfc,
24 ModuleSymmetry::Symmetry& symm,
25 Charge& chg,
26 const std::string &readin_dir,
27 const int kpar,
28 const int my_pool,
29 const int my_rank,
30 const int nproc_in_pool,
31 const int rank_in_pool,
32 const int nbands,
33 const int nspin,
34 const int npol,
35 const int nkstot,
36 const std::vector<int> &ik2iktot,
37 const std::vector<int> &isk,
38 std::ofstream &ofs_running);
39
40template <typename Device>
42 const ModulePW::PW_Basis_K* pw_wfc,
43 ModuleSymmetry::Symmetry& symm,
44 Charge& chg,
45 const std::string &readin_dir,
46 const int kpar,
47 const int my_pool,
48 const int my_rank,
49 const int nproc_in_pool,
50 const int rank_in_pool,
51 const int nbands,
52 const int nspin,
53 const int npol,
54 const int nkstot,
55 const std::vector<int> &ik2iktot,
56 const std::vector<int> &isk,
57 std::ofstream &ofs_running);
58
59} // namespace ModuleIO
60
61#endif
Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in e...
Definition csr_reader.cpp:8
void read_wf2rho_pw_impl(const ModulePW::PW_Basis_K *pw_wfc, ModuleSymmetry::Symmetry &symm, Charge &chg, const std::string &readin_dir, const int kpar, const int my_pool, const int my_rank, const int nproc_in_pool, const int rank_in_pool, const int nbands, const int nspin, const int npol, const int nkstot, const std::vector< int > &ik2iktot, const std::vector< int > &isk, std::ofstream &ofs_running)
Definition read_wf2rho_pw.cpp:13
void read_wf2rho_pw(const ModulePW::PW_Basis_K *pw_wfc, ModuleSymmetry::Symmetry &symm, Charge &chg, const std::string &readin_dir, const int kpar, const int my_pool, const int my_rank, const int nproc_in_pool, const int rank_in_pool, const int nbands, const int nspin, const int npol, const int nkstot, const std::vector< int > &ik2iktot, const std::vector< int > &isk, std::ofstream &ofs_running)
read wave functions and occupation numbers to charge density
Definition read_wf2rho_pw.cpp:249
int rank_in_pool
Definition pw_test.cpp:12
int nproc_in_pool
Definition pw_test.cpp:12