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

Implementation of pseudopotential reading functions. More...

#include "read_pp_ucell.h"
#include "source_base/global_file.h"
#include "cal_atoms_info.h"
#include "read_pp.h"
#include "bcast_cell.h"
#include "print_cell.h"
#include "source_base/atom_in.h"
#include "source_base/element_elec_config.h"
#include "source_base/parallel_common.h"
#include <cstring>
Include dependency graph for read_pp_ucell.cpp:

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::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

Implementation of pseudopotential reading functions.