|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Class for storing pseudopotential data. More...
#include <pseudo.h>
Public Member Functions | |
| pseudo () | |
| ~pseudo () | |
| void | check_betar () |
| Check the input data for non-normal numbers in the betar. Subsequent values following non-normal numbers will be reset to zero to prevent potential computational issues arising from invalid data. | |
| void | print_pseudo_h (std::ofstream &ofs) const |
| void | print_pseudo_atom (std::ofstream &ofs) const |
| void | print_pseudo_vl (std::ofstream &ofs) const |
| void | print_pseudo (std::ofstream &ofs) const |
Public Attributes | |
| bool | has_so = false |
| PP_HEADER. | |
| int | nv = 0 |
| UPF file version number. | |
| std::string | psd |
| Element label. | |
| std::string | pp_type |
| Pseudo type ( NC or US ). | |
| bool | tvanp = false |
| .true. if Ultrasoft | |
| bool | nlcc = false |
| Non linear core corrections(bool). | |
| std::string | xc_func |
| Exch-Corr type. | |
| double | zv = 0 |
| z valence | |
| double | etotps = 0.0 |
| total energy | |
| double | ecutwfc = 0.0 |
| suggested cut-off for wfc | |
| double | ecutrho = 0.0 |
| suggested cut-off for rho | |
| int | lmax = 0 |
| maximum angular momentum component | |
| int | mesh = 0 |
| number of point in the radial mesh | |
| int | nchi = 0 |
| nwfc,number of wavefunctions | |
| int | nbeta = 0 |
| number of projectors | |
| int | nqlc = 0 |
| number of angular momenta in Q | |
| int | kkbeta = 0 |
| kkbeta, point where the beta are zero | |
| std::vector< std::string > | els = {} |
| els[nchi] | |
| std::vector< int > | lchi = {} |
| lchi[nchi] | |
| std::vector< double > | oc = {} |
| oc[nchi] | |
| std::vector< double > | jjj = {} |
| total angual momentum, jjj[nbeta] | |
| std::vector< double > | jchi = {} |
| jchi(nwfc), added by zhengdy-soc | |
| std::vector< int > | nn = {} |
| std::vector< double > | vloc_at = {} |
| PP_LOCAL - Local pseudopotentials. | |
| std::vector< double > | r = {} |
| PP_MESH. | |
| std::vector< double > | rab = {} |
| derivative of the radial mesh, rab[0:mesh-1] | |
| std::vector< double > | rho_atc = {} |
| PP_NLCC. | |
| std::vector< double > | rho_at = {} |
| PP_RHOATOM. | |
| ModuleBase::matrix | chi |
| PP_PSWFC. | |
| int | msh = 0 |
| PP_OTHER. | |
| double | rcut = 0.0 |
| cut-off radius | |
| std::vector< int > | lll = {} |
| PP_BETA. | |
| ModuleBase::matrix | dion |
| PP_DIJ. | |
| ModuleBase::matrix | betar |
| (nbeta, mesh), radial beta_{mu} functions | |
| int | nh = 0 |
| PP_OTHER. | |
| ModuleBase::realArray | qfuncl |
| USPP - Ultrasoft pseudopotential. | |
| ModuleBase::matrix | qqq |
| qqq(nbeta,nbeta) q_{mu,nu} | |
Class for storing pseudopotential data.
|
inline |
|
inline |
| void pseudo::check_betar | ( | ) |
Check the input data for non-normal numbers in the betar. Subsequent values following non-normal numbers will be reset to zero to prevent potential computational issues arising from invalid data.
| void pseudo::print_pseudo | ( | std::ofstream & | ofs | ) | const |
| void pseudo::print_pseudo_atom | ( | std::ofstream & | ofs | ) | const |
| void pseudo::print_pseudo_h | ( | std::ofstream & | ofs | ) | const |
| void pseudo::print_pseudo_vl | ( | std::ofstream & | ofs | ) | const |
| ModuleBase::matrix pseudo::betar |
(nbeta, mesh), radial beta_{mu} functions
| ModuleBase::matrix pseudo::chi |
PP_PSWFC.
radial atomic orbitals, chi(nchi, mesh)
| ModuleBase::matrix pseudo::dion |
PP_DIJ.
| double pseudo::ecutrho = 0.0 |
suggested cut-off for rho
| double pseudo::ecutwfc = 0.0 |
suggested cut-off for wfc
| std::vector<std::string> pseudo::els = {} |
els[nchi]
| double pseudo::etotps = 0.0 |
total energy
| bool pseudo::has_so = false |
PP_HEADER.
if .true. includes spin-orbit
| std::vector<double> pseudo::jchi = {} |
jchi(nwfc), added by zhengdy-soc
| std::vector<double> pseudo::jjj = {} |
total angual momentum, jjj[nbeta]
| int pseudo::kkbeta = 0 |
kkbeta, point where the beta are zero
| std::vector<int> pseudo::lchi = {} |
lchi[nchi]
| std::vector<int> pseudo::lll = {} |
PP_BETA.
lll(nbeta), angular momentum of the beta function
| int pseudo::lmax = 0 |
maximum angular momentum component
| int pseudo::mesh = 0 |
number of point in the radial mesh
| int pseudo::msh = 0 |
PP_OTHER.
number of points up to rcut
| int pseudo::nbeta = 0 |
number of projectors
| int pseudo::nchi = 0 |
nwfc,number of wavefunctions
| int pseudo::nh = 0 |
PP_OTHER.
number of beta functions per atomic type
| bool pseudo::nlcc = false |
Non linear core corrections(bool).
| std::vector<int> pseudo::nn = {} |
| int pseudo::nqlc = 0 |
number of angular momenta in Q
| int pseudo::nv = 0 |
UPF file version number.
| std::vector<double> pseudo::oc = {} |
oc[nchi]
| std::string pseudo::pp_type |
Pseudo type ( NC or US ).
| std::string pseudo::psd |
Element label.
| ModuleBase::realArray pseudo::qfuncl |
USPP - Ultrasoft pseudopotential.
qfuncl(2*lmax+1,nbeta*(nbeta+1)/2,mesh) Q_{mu,nu}(|r|) function for |r|> r_L
| ModuleBase::matrix pseudo::qqq |
qqq(nbeta,nbeta) q_{mu,nu}
| std::vector<double> pseudo::r = {} |
PP_MESH.
radial logaritmic mesh, r[0:mesh-1]
| std::vector<double> pseudo::rab = {} |
derivative of the radial mesh, rab[0:mesh-1]
| double pseudo::rcut = 0.0 |
cut-off radius
| std::vector<double> pseudo::rho_at = {} |
PP_RHOATOM.
radial atomic charge density, rho_at[0:mesh-1]
| std::vector<double> pseudo::rho_atc = {} |
PP_NLCC.
radial core charge density, rho_atc[0:mesh-1]
| bool pseudo::tvanp = false |
.true. if Ultrasoft
| std::vector<double> pseudo::vloc_at = {} |
PP_LOCAL - Local pseudopotentials.
[mesh], local potential( = pseudopot_upf.vloc )
| std::string pseudo::xc_func |
Exch-Corr type.
| double pseudo::zv = 0 |
z valence