ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
read_pseudo.h
Go to the documentation of this file.
1#ifndef READ_PSEUDO_H
2#define READ_PSEUDO_H
3
5
6namespace elecstate {
7
8 void read_pseudo(std::ofstream& ofs, UnitCell& ucell);
9
10 // read in pseudopotential from files for each type of atom
11 void read_cell_pseudopots(const std::string& fn, std::ofstream& log, UnitCell& ucell);
12
13 void print_unitcell_pseudo(const std::string& fn, UnitCell& ucell);
14
15 //===========================================
16 // calculate the total number of local basis
17 // Target : nwfc, lmax,
18 // atoms[].stapos_wf
19 // PARAM.inp.nbands
20 //===========================================
21 void cal_nwfc(std::ofstream& log, UnitCell& ucell,Atom* atoms);
22
23 //======================
24 // Target : meshx
25 // Demand : atoms[].msh
26 //======================
27 void cal_meshx(int& meshx,const Atom* atoms, const int ntype);
28
29 //=========================
30 // Target : natomwfc
31 // Demand : atoms[].nchi
32 // atoms[].lchi
33 // atoms[].oc
34 // atoms[].na
35 //=========================
36 void cal_natomwfc(std::ofstream& log,int& natomwfc,const int ntype,const Atom* atoms);
37}
38
39#endif
Definition atom_spec.h:6
Definition unitcell.h:15
Definition read_atoms_helper_test.cpp:11
void cal_nwfc(std::ofstream &log, UnitCell &ucell, Atom *atoms)
Definition cal_wfc.cpp:7
void read_pseudo(std::ofstream &ofs, UnitCell &ucell)
Definition read_pseudo.cpp:13
void cal_natomwfc(std::ofstream &log, int &natomwfc, const int ntype, const Atom *atoms)
Definition cal_wfc.cpp:142
void read_cell_pseudopots(const std::string &pp_dir, std::ofstream &log, UnitCell &ucell)
Definition read_pseudo.cpp:221
void print_unitcell_pseudo(const std::string &fn, UnitCell &ucell)
Definition read_pseudo.cpp:337
void cal_meshx(int &meshx, const Atom *atoms, const int ntype)
Definition cal_wfc.cpp:129