ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
read_pp_ucell.h File Reference

Functions for reading pseudopotential files. More...

#include "unitcell.h"
#include "cal_atoms_info.h"
Include dependency graph for read_pp_ucell.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  unitcell
 Free functions for extracting atom/orbital info from Atom array.

Functions

AtomsInfoResult unitcell::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.
void unitcell::read_cell_pseudopots (const std::string &fn, 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.
void unitcell::print_unitcell_pseudo (const std::string &fn, UnitCell &ucell)
 Print unit cell pseudopotential information.
void unitcell::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.
void unitcell::cal_meshx (int &meshx, const Atom *atoms, const int ntype)
 Calculate meshx.
void unitcell::cal_natomwfc (std::ofstream &log, int &natomwfc, const int ntype, const Atom *atoms, const int nspin)
 Calculate natomwfc.
void unitcell::compare_atom_labels (const std::string &label1, const std::string &label2)
 Check consistency between two atom labels from STRU and pseudo or orb file.

Detailed Description

Functions for reading pseudopotential files.