|
fourdst::libcomposition v2.3.1
Robust atomic species information library
|
Provides mappings between atomic numbers and element symbols for the periodic table. More...
#include <unordered_map>#include <cstdint>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | fourdst |
| namespace | fourdst::atomic |
| Contains canonical information about atomic species and elements used by 4D-STAR. | |
Variables | |
| static const std::unordered_map< uint8_t, std::string > | fourdst::atomic::element_symbol_map |
| Maps atomic number (Z) to element symbol. | |
| static const std::unordered_map< std::string, uint8_t > | fourdst::atomic::symbol_element_map |
| Maps element symbol to atomic number (Z). | |
Provides mappings between atomic numbers and element symbols for the periodic table.
This header defines lookup tables for converting between atomic numbers (Z) and their corresponding chemical element symbols, and vice versa. These maps are useful for parsing, displaying, or validating chemical compositions in scientific applications.
Definition in file elements.h.