Loading...
Searching...
No Matches
elements.h File Reference

Provides mappings between atomic numbers and element symbols for the periodic table. More...

`#include <unordered_map>`
`#include <cstdint>`
`#include <string>`
Include dependency graph for elements.h:
This graph shows which files directly or indirectly include this file:

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

## Detailed Description

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.