|
TPCCLIB
|
Element names and symbols. See: https://iupac.org/what-we-do/periodic-table-of-elements. More...
#include "tpcclibConfig.h"#include <stdio.h>#include <stdlib.h>#include <math.h>#include <time.h>#include <string.h>#include "tpcisotope.h"Go to the source code of this file.
Functions | |
| char * | elementName (unsigned short int z) |
| char * | elementSymbol (unsigned short int z) |
| unsigned short int | elementIdentify (const char *str) |
Element names and symbols. See: https://iupac.org/what-we-do/periodic-table-of-elements.
Definition in file elements.c.
| unsigned short int elementIdentify | ( | const char * | str | ) |
Identify the given string representation of element name or symbol.
| str | Name or symbol of element, for example 'Carbon' or 'C'. |
Definition at line 298 of file elements.c.
Referenced by isotopeIdentify().
| char * elementName | ( | unsigned short int | z | ) |
Return pointer to element name.
| z | Atomic number (Z) of the element. |
Definition at line 270 of file elements.c.
| char * elementSymbol | ( | unsigned short int | z | ) |
Return pointer to element symbol.
| z | Atomic number (Z) of the element. |
Definition at line 284 of file elements.c.