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
6
7namespace elecstate {
8
9 void read_pseudo(std::ofstream& ofs, UnitCell& ucell);
10
11 // read in pseudopotential from files for each type of atom
12 void read_cell_pseudopots(const std::string& fn, std::ofstream& log, UnitCell& ucell);
13
14 void print_unitcell_pseudo(const std::string& fn, UnitCell& ucell);
15
16 //===========================================
17 // calculate the total number of local basis
18 // Target : nwfc, lmax,
19 // atoms[].stapos_wf
20 // PARAM.inp.nbands
21 //===========================================
22 void cal_nwfc(std::ofstream& log, UnitCell& ucell,Atom* atoms);
23
24 //======================
25 // Target : meshx
26 // Demand : atoms[].msh
27 //======================
28 void cal_meshx(int& meshx,const Atom* atoms, const int ntype);
29
30 //=========================
31 // Target : natomwfc
32 // Demand : atoms[].nchi
33 // atoms[].lchi
34 // atoms[].oc
35 // atoms[].na
36 //=========================
37 void cal_natomwfc(std::ofstream& log,int& natomwfc,const int ntype,const Atom* atoms);
38}
39
40#endif
Definition atom_spec.h:7
Definition unitcell.h:16
Definition cal_dm.h:10
void cal_nwfc(std::ofstream &log, UnitCell &ucell, Atom *atoms)
Definition cal_wfc.cpp:5
void read_pseudo(std::ofstream &ofs, UnitCell &ucell)
Definition read_pseudo.cpp:12
void cal_natomwfc(std::ofstream &log, int &natomwfc, const int ntype, const Atom *atoms)
Definition cal_wfc.cpp:140
void read_cell_pseudopots(const std::string &pp_dir, std::ofstream &log, UnitCell &ucell)
Definition read_pseudo.cpp:220
void print_unitcell_pseudo(const std::string &fn, UnitCell &ucell)
Definition read_pseudo.cpp:335
void cal_meshx(int &meshx, const Atom *atoms, const int ntype)
Definition cal_wfc.cpp:127