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



IntAtWeight


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

The function IntAtWeight returns the nominal atomic mass of the atom with atomic number AtNr. The returned value refers either to the most abundant isotope or to the most stable isotope. The parameter AtNr may take any value between 1 and 103 (MaxChemElem); a zero value is returned for any invalid argument.

Example: The statement IntAtWeight (17) returns the value 35 (for chlorine-35).

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