The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ShortElectronConfig


Unit:SDL_cdata
Class:none
Declaration:function ShortElectronConfig (AtNr: integer): string;

The function ShortElectronConfig returns the electron configuration of a particular atom. The parameter AtNr may take any value between 1 and 103 (MaxChemElem). Any other value of AtNr results in a returned empty string.

The function returns a string which contains the electron configuration using a shorthand notation: a full noble gas electron shell is indicated by the atomic symbol of the particular noble gas enclosed in square brackets. For example, the electron configuration of the element iron is defined by the shorthand notation '[Ar] 3d6 4s2', which means that iron exhibits the full argon shell plus 6 p-electrons in the third shell and 2 s-electrons in the fourth.

Example: This function is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): periosys



Last Update: 2023-Feb-06