40 AtomsInfoResult
read_pseudo(std::ofstream& ofs, UnitCell& ucell,
41 const std::string& pseudo_dir,
42 const std::string& global_out_dir,
43 const bool out_element_info,
44 const std::string& dft_functional,
46 const double pseudo_rcut,
47 const double soc_lambda,
50 const std::string& basis_type,
51 const std::string& esolver_type,
52 const std::string& init_wfc,
55 const double nelec_delta,
56 const std::string& smearing_method,
57 const std::string& ks_solver,
60 const double nupdown);
75 const std::string& global_out_dir,
76 const std::string& dft_functional,
78 const double pseudo_rcut,
79 const double soc_lambda);
105 void cal_nwfc(std::ofstream& log, UnitCell& ucell,Atom* atoms,
const int nspin,
const int nlocal,
const int npol,
106 const std::string& basis_type,
const std::string& esolver_type,
const std::string& init_wfc,
const int nbands);
117 void cal_meshx(
int& meshx,
const Atom* atoms,
const int ntype);
130 void cal_natomwfc(std::ofstream& log,
int& natomwfc,
const int ntype,
const Atom* atoms,
const int nspin);
CalAtomsInfo class for calculating atom information.
Free functions for extracting atom/orbital info from Atom array.
Definition bcast_cell.cpp:8
AtomsInfoResult read_pseudo(std::ofstream &ofs, UnitCell &ucell, const std::string &pseudo_dir, const std::string &global_out_dir, const bool out_element_info, const std::string &dft_functional, const bool lspinorb, const double pseudo_rcut, const double soc_lambda, const int nspin, const int npol, const std::string &basis_type, const std::string &esolver_type, const std::string &init_wfc, const int nbands, const bool two_fermi, const double nelec_delta, const std::string &smearing_method, const std::string &ks_solver, const int bndpar, const double nelec, const double nupdown)
Read pseudopotential files and calculate atom information.
Definition read_pp_ucell.cpp:18
void cal_nwfc(std::ofstream &log, UnitCell &ucell, Atom *atoms, const int nspin, const int nlocal, const int npol, const std::string &basis_type, const std::string &esolver_type, const std::string &init_wfc, const int nbands)
Calculate the total number of local basis.
Definition cal_wfc.cpp:5
void read_cell_pseudopots(const std::string &pp_dir, std::ofstream &log, UnitCell &ucell, const std::string &global_out_dir, const std::string &dft_functional, const bool lspinorb, const double pseudo_rcut, const double soc_lambda)
Read pseudopotential from files for each type of atom.
Definition read_pp_ucell.cpp:267
void cal_natomwfc(std::ofstream &log, int &natomwfc, const int ntype, const Atom *atoms, const int nspin)
Calculate natomwfc.
Definition cal_wfc.cpp:131
void print_unitcell_pseudo(const std::string &fn, UnitCell &ucell)
Print unit cell pseudopotential information.
Definition read_pp_ucell.cpp:393
void cal_meshx(int &meshx, const Atom *atoms, const int ntype)
Calculate meshx.
Definition cal_wfc.cpp:118
void compare_atom_labels(const std::string &label1, const std::string &label2)
Check consistency between two atom labels from STRU and pseudo or orb file.
Definition read_pp_ucell.cpp:408