Skip to content

How to obtain atomic information such as radius, number, and the number of valence electrons and protons? #662

Answered by dyzheng
sunml99 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your question!
In ABACUS, we can find atomic information come from the function below:

int Pseudopot_upf::init_pseudo_reader(const std::string &fn)

In this function, information for element is imported from pseudopotential files.
For example:

  • atomic radius is "GlobalC::ucell.atoms[it].r[GlobalC::ucell.atoms[it].mesh-1]", unit is bohr;
  • atomic number as same as protons of the atom is not in ABACUS, you can refer to periodic table with "GlobalC::ucell.atoms[it].psd";
  • number of valence electrons is "GlobalC::ucell.atoms[it].zp".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mohanchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #560 on January 26, 2022 02:15.