Zephyr Scientific Library (zscilib)
chemistry.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2020 Kevin Townsend (KTOWN)
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
21 #ifndef ZEPHYR_INCLUDE_ZSL_CHEMISTRY_H_
22 #define ZEPHYR_INCLUDE_ZSL_CHEMISTRY_H_
23 
24 #include <zsl/zsl.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
161 };
162 
176 extern const zsl_real_t zsl_chem_atom_weight[119];
177 
178 #ifdef __cplusplus
179 }
180 #endif
181 
182 #endif /* ZEPHYR_INCLUDE_ZSL_CHEMLISTRY_H_ */
183  /* End of chemistry group */
ZSL_CHEM_ELEM_RUBIDIUM
@ ZSL_CHEM_ELEM_RUBIDIUM
Definition: chemistry.h:79
ZSL_CHEM_ELEM_BOHRIUM
@ ZSL_CHEM_ELEM_BOHRIUM
Definition: chemistry.h:149
ZSL_CHEM_ELEM_RHODIUM
@ ZSL_CHEM_ELEM_RHODIUM
Definition: chemistry.h:87
zsl_chem_atom_weight
const zsl_real_t zsl_chem_atom_weight[119]
An array of standard atomic weights for all elements.
Definition: chemistry.c:13
ZSL_CHEM_ELEM_MENDELEVIUM
@ ZSL_CHEM_ELEM_MENDELEVIUM
Definition: chemistry.h:143
ZSL_CHEM_ELEM_GALLIUM
@ ZSL_CHEM_ELEM_GALLIUM
Definition: chemistry.h:73
ZSL_CHEM_ELEM_PROMETHIUM
@ ZSL_CHEM_ELEM_PROMETHIUM
Definition: chemistry.h:103
ZSL_CHEM_ELEM_IRIDIUM
@ ZSL_CHEM_ELEM_IRIDIUM
Definition: chemistry.h:119
ZSL_CHEM_ELEM_TELLURIUM
@ ZSL_CHEM_ELEM_TELLURIUM
Definition: chemistry.h:94
ZSL_CHEM_ELEM_CERIUM
@ ZSL_CHEM_ELEM_CERIUM
Definition: chemistry.h:100
ZSL_CHEM_ELEM_FERMIUM
@ ZSL_CHEM_ELEM_FERMIUM
Definition: chemistry.h:142
ZSL_CHEM_ELEM_YTTERBIUM
@ ZSL_CHEM_ELEM_YTTERBIUM
Definition: chemistry.h:112
ZSL_CHEM_ELEM_SILICON
@ ZSL_CHEM_ELEM_SILICON
Definition: chemistry.h:56
ZSL_CHEM_ELEM_LIVERMORIUM
@ ZSL_CHEM_ELEM_LIVERMORIUM
Definition: chemistry.h:158
ZSL_CHEM_ELEM_ACTINIUM
@ ZSL_CHEM_ELEM_ACTINIUM
Definition: chemistry.h:131
ZSL_CHEM_ELEM_CALIFORNIUM
@ ZSL_CHEM_ELEM_CALIFORNIUM
Definition: chemistry.h:140
ZSL_CHEM_ELEM_TECHNETIUM
@ ZSL_CHEM_ELEM_TECHNETIUM
Definition: chemistry.h:85
ZSL_CHEM_ELEM_TERBIUM
@ ZSL_CHEM_ELEM_TERBIUM
Definition: chemistry.h:107
ZSL_CHEM_ELEM_URANIUM
@ ZSL_CHEM_ELEM_URANIUM
Definition: chemistry.h:134
ZSL_CHEM_ELEM_ZINC
@ ZSL_CHEM_ELEM_ZINC
Definition: chemistry.h:72
ZSL_CHEM_ELEM_LANTHANUM
@ ZSL_CHEM_ELEM_LANTHANUM
Definition: chemistry.h:99
ZSL_CHEM_ELEM_BARIUM
@ ZSL_CHEM_ELEM_BARIUM
Definition: chemistry.h:98
ZSL_CHEM_ELEM_NIOBIUM
@ ZSL_CHEM_ELEM_NIOBIUM
Definition: chemistry.h:83
ZSL_CHEM_ELEM_SEABORGIUM
@ ZSL_CHEM_ELEM_SEABORGIUM
Definition: chemistry.h:148
ZSL_CHEM_ELEM_MANGANESE
@ ZSL_CHEM_ELEM_MANGANESE
Definition: chemistry.h:67
ZSL_CHEM_ELEM_FRANCIUM
@ ZSL_CHEM_ELEM_FRANCIUM
Definition: chemistry.h:129
ZSL_CHEM_ELEM_MAGNESIUM
@ ZSL_CHEM_ELEM_MAGNESIUM
Definition: chemistry.h:54
ZSL_CHEM_ELEM_SULFUR
@ ZSL_CHEM_ELEM_SULFUR
Definition: chemistry.h:58
zsl_chem_elements
zsl_chem_elements
List of all elements in the periodic table, where the value associated with the enum entry equals the...
Definition: chemistry.h:42
ZSL_CHEM_ELEM_RADIUM
@ ZSL_CHEM_ELEM_RADIUM
Definition: chemistry.h:130
ZSL_CHEM_ELEM_OGANESSON
@ ZSL_CHEM_ELEM_OGANESSON
Definition: chemistry.h:160
ZSL_CHEM_ELEM_THORIUM
@ ZSL_CHEM_ELEM_THORIUM
Definition: chemistry.h:132
ZSL_CHEM_ELEM_PHOSPHORUS
@ ZSL_CHEM_ELEM_PHOSPHORUS
Definition: chemistry.h:57
ZSL_CHEM_ELEM_YTTRIUM
@ ZSL_CHEM_ELEM_YTTRIUM
Definition: chemistry.h:81
ZSL_CHEM_ELEM_COPPER
@ ZSL_CHEM_ELEM_COPPER
Definition: chemistry.h:71
ZSL_CHEM_ELEM_RUTHERFORDIUM
@ ZSL_CHEM_ELEM_RUTHERFORDIUM
Definition: chemistry.h:146
ZSL_CHEM_ELEM_PLUTONIUM
@ ZSL_CHEM_ELEM_PLUTONIUM
Definition: chemistry.h:136
ZSL_CHEM_ELEM_TITANIUM
@ ZSL_CHEM_ELEM_TITANIUM
Definition: chemistry.h:64
ZSL_CHEM_ELEM_COBALT
@ ZSL_CHEM_ELEM_COBALT
Definition: chemistry.h:69
ZSL_CHEM_ELEM_CHROMIUM
@ ZSL_CHEM_ELEM_CHROMIUM
Definition: chemistry.h:66
ZSL_CHEM_ELEM_THULIUM
@ ZSL_CHEM_ELEM_THULIUM
Definition: chemistry.h:111
ZSL_CHEM_ELEM_KRYPTON
@ ZSL_CHEM_ELEM_KRYPTON
Definition: chemistry.h:78
ZSL_CHEM_ELEM_BERKELIUM
@ ZSL_CHEM_ELEM_BERKELIUM
Definition: chemistry.h:139
ZSL_CHEM_ELEM_VANADIUM
@ ZSL_CHEM_ELEM_VANADIUM
Definition: chemistry.h:65
ZSL_CHEM_ELEM_CALCIUM
@ ZSL_CHEM_ELEM_CALCIUM
Definition: chemistry.h:62
ZSL_CHEM_ELEM_MOSCOVIUM
@ ZSL_CHEM_ELEM_MOSCOVIUM
Definition: chemistry.h:157
ZSL_CHEM_ELEM_CADMIUM
@ ZSL_CHEM_ELEM_CADMIUM
Definition: chemistry.h:90
ZSL_CHEM_ELEM_MOLYBDENUM
@ ZSL_CHEM_ELEM_MOLYBDENUM
Definition: chemistry.h:84
ZSL_CHEM_ELEM_SCANDIUM
@ ZSL_CHEM_ELEM_SCANDIUM
Definition: chemistry.h:63
ZSL_CHEM_ELEM_TENNESSINE
@ ZSL_CHEM_ELEM_TENNESSINE
Definition: chemistry.h:159
ZSL_CHEM_ELEM_POLONIUM
@ ZSL_CHEM_ELEM_POLONIUM
Definition: chemistry.h:126
ZSL_CHEM_ELEM_LAWRENCIUM
@ ZSL_CHEM_ELEM_LAWRENCIUM
Definition: chemistry.h:145
ZSL_CHEM_ELEM_BISMUTH
@ ZSL_CHEM_ELEM_BISMUTH
Definition: chemistry.h:125
ZSL_CHEM_ELEM_INDIUM
@ ZSL_CHEM_ELEM_INDIUM
Definition: chemistry.h:91
ZSL_CHEM_ELEM_EINSTEINIUM
@ ZSL_CHEM_ELEM_EINSTEINIUM
Definition: chemistry.h:141
ZSL_CHEM_ELEM_NITROGEN
@ ZSL_CHEM_ELEM_NITROGEN
Definition: chemistry.h:49
ZSL_CHEM_ELEM_NEODYMIUM
@ ZSL_CHEM_ELEM_NEODYMIUM
Definition: chemistry.h:102
ZSL_CHEM_ELEM_LITHIUM
@ ZSL_CHEM_ELEM_LITHIUM
Definition: chemistry.h:45
ZSL_CHEM_ELEM_SODIUM
@ ZSL_CHEM_ELEM_SODIUM
Definition: chemistry.h:53
ZSL_CHEM_ELEM_OXYGEN
@ ZSL_CHEM_ELEM_OXYGEN
Definition: chemistry.h:50
ZSL_CHEM_ELEM_RHENIUM
@ ZSL_CHEM_ELEM_RHENIUM
Definition: chemistry.h:117
ZSL_CHEM_ELEM_ROENTGENIUM
@ ZSL_CHEM_ELEM_ROENTGENIUM
Definition: chemistry.h:153
ZSL_CHEM_ELEM_POTASSIUM
@ ZSL_CHEM_ELEM_POTASSIUM
Definition: chemistry.h:61
ZSL_CHEM_ELEM_FLEROVIUM
@ ZSL_CHEM_ELEM_FLEROVIUM
Definition: chemistry.h:156
ZSL_CHEM_ELEM_PLATINUM
@ ZSL_CHEM_ELEM_PLATINUM
Definition: chemistry.h:120
ZSL_CHEM_ELEM_LEAD
@ ZSL_CHEM_ELEM_LEAD
Definition: chemistry.h:124
ZSL_CHEM_ELEM_SELENIUM
@ ZSL_CHEM_ELEM_SELENIUM
Definition: chemistry.h:76
ZSL_CHEM_ELEM_HAFNIUM
@ ZSL_CHEM_ELEM_HAFNIUM
Definition: chemistry.h:114
ZSL_CHEM_ELEM_COPERNICIUM
@ ZSL_CHEM_ELEM_COPERNICIUM
Definition: chemistry.h:154
ZSL_CHEM_ELEM_AMERICIUM
@ ZSL_CHEM_ELEM_AMERICIUM
Definition: chemistry.h:137
ZSL_CHEM_ELEM_GOLD
@ ZSL_CHEM_ELEM_GOLD
Definition: chemistry.h:121
ZSL_CHEM_ELEM_BROMINE
@ ZSL_CHEM_ELEM_BROMINE
Definition: chemistry.h:77
ZSL_CHEM_ELEM_ASTATINE
@ ZSL_CHEM_ELEM_ASTATINE
Definition: chemistry.h:127
ZSL_CHEM_ELEM_GERMANIUM
@ ZSL_CHEM_ELEM_GERMANIUM
Definition: chemistry.h:74
ZSL_CHEM_ELEM_HASSIUM
@ ZSL_CHEM_ELEM_HASSIUM
Definition: chemistry.h:150
ZSL_CHEM_ELEM_SAMARIUM
@ ZSL_CHEM_ELEM_SAMARIUM
Definition: chemistry.h:104
ZSL_CHEM_ELEM_NEPTUNIUM
@ ZSL_CHEM_ELEM_NEPTUNIUM
Definition: chemistry.h:135
ZSL_CHEM_ELEM_MERCURY
@ ZSL_CHEM_ELEM_MERCURY
Definition: chemistry.h:122
ZSL_CHEM_ELEM_DUBNIUM
@ ZSL_CHEM_ELEM_DUBNIUM
Definition: chemistry.h:147
ZSL_CHEM_ELEM_GADOLINIUM
@ ZSL_CHEM_ELEM_GADOLINIUM
Definition: chemistry.h:106
ZSL_CHEM_ELEM_LUTETIUM
@ ZSL_CHEM_ELEM_LUTETIUM
Definition: chemistry.h:113
ZSL_CHEM_ELEM_DARMSTADTIUM
@ ZSL_CHEM_ELEM_DARMSTADTIUM
Definition: chemistry.h:152
ZSL_CHEM_ELEM_NOBELIUM
@ ZSL_CHEM_ELEM_NOBELIUM
Definition: chemistry.h:144
ZSL_CHEM_ELEM_MEITNERIUM
@ ZSL_CHEM_ELEM_MEITNERIUM
Definition: chemistry.h:151
ZSL_CHEM_ELEM_CAESIUM
@ ZSL_CHEM_ELEM_CAESIUM
Definition: chemistry.h:97
ZSL_CHEM_ELEM_IRON
@ ZSL_CHEM_ELEM_IRON
Definition: chemistry.h:68
ZSL_CHEM_ELEM_THALLIUM
@ ZSL_CHEM_ELEM_THALLIUM
Definition: chemistry.h:123
ZSL_CHEM_ELEM_TUNGSTEN
@ ZSL_CHEM_ELEM_TUNGSTEN
Definition: chemistry.h:116
zsl.h
API header file for zscilib.
ZSL_CHEM_ELEM_HELIUM
@ ZSL_CHEM_ELEM_HELIUM
Definition: chemistry.h:44
ZSL_CHEM_ELEM_IODINE
@ ZSL_CHEM_ELEM_IODINE
Definition: chemistry.h:95
ZSL_CHEM_ELEM_RUTHENIUM
@ ZSL_CHEM_ELEM_RUTHENIUM
Definition: chemistry.h:86
ZSL_CHEM_ELEM_PALLADIUM
@ ZSL_CHEM_ELEM_PALLADIUM
Definition: chemistry.h:88
ZSL_CHEM_ELEM_ALUMINIUM
@ ZSL_CHEM_ELEM_ALUMINIUM
Definition: chemistry.h:55
ZSL_CHEM_ELEM_NEON
@ ZSL_CHEM_ELEM_NEON
Definition: chemistry.h:52
ZSL_CHEM_ELEM_FLUORINE
@ ZSL_CHEM_ELEM_FLUORINE
Definition: chemistry.h:51
ZSL_CHEM_ELEM_STRONTIUM
@ ZSL_CHEM_ELEM_STRONTIUM
Definition: chemistry.h:80
ZSL_CHEM_ELEM_BERYLLIUM
@ ZSL_CHEM_ELEM_BERYLLIUM
Definition: chemistry.h:46
ZSL_CHEM_ELEM_ARGON
@ ZSL_CHEM_ELEM_ARGON
Definition: chemistry.h:60
ZSL_CHEM_ELEM_CURIUM
@ ZSL_CHEM_ELEM_CURIUM
Definition: chemistry.h:138
ZSL_CHEM_ELEM_ZIRCONIUM
@ ZSL_CHEM_ELEM_ZIRCONIUM
Definition: chemistry.h:82
ZSL_CHEM_ELEM_CHLORINE
@ ZSL_CHEM_ELEM_CHLORINE
Definition: chemistry.h:59
ZSL_CHEM_ELEM_XENON
@ ZSL_CHEM_ELEM_XENON
Definition: chemistry.h:96
ZSL_CHEM_ELEM_TIN
@ ZSL_CHEM_ELEM_TIN
Definition: chemistry.h:92
ZSL_CHEM_ELEM_NICKEL
@ ZSL_CHEM_ELEM_NICKEL
Definition: chemistry.h:70
zsl_real_t
double zsl_real_t
Definition: zsl.h:51
ZSL_CHEM_ELEM_NIHONIUM
@ ZSL_CHEM_ELEM_NIHONIUM
Definition: chemistry.h:155
ZSL_CHEM_ELEM_OSMIUM
@ ZSL_CHEM_ELEM_OSMIUM
Definition: chemistry.h:118
ZSL_CHEM_ELEM_PRASEODYMIUM
@ ZSL_CHEM_ELEM_PRASEODYMIUM
Definition: chemistry.h:101
ZSL_CHEM_ELEM_CARBON
@ ZSL_CHEM_ELEM_CARBON
Definition: chemistry.h:48
ZSL_CHEM_ELEM_ERBIUM
@ ZSL_CHEM_ELEM_ERBIUM
Definition: chemistry.h:110
ZSL_CHEM_ELEM_PROTACTINIUM
@ ZSL_CHEM_ELEM_PROTACTINIUM
Definition: chemistry.h:133
ZSL_CHEM_ELEM_BORON
@ ZSL_CHEM_ELEM_BORON
Definition: chemistry.h:47
ZSL_CHEM_ELEM_EUROPIUM
@ ZSL_CHEM_ELEM_EUROPIUM
Definition: chemistry.h:105
ZSL_CHEM_ELEM_RADON
@ ZSL_CHEM_ELEM_RADON
Definition: chemistry.h:128
ZSL_CHEM_ELEM_ANTIMONY
@ ZSL_CHEM_ELEM_ANTIMONY
Definition: chemistry.h:93
ZSL_CHEM_ELEM_TANTALUM
@ ZSL_CHEM_ELEM_TANTALUM
Definition: chemistry.h:115
ZSL_CHEM_ELEM_HYDROGEN
@ ZSL_CHEM_ELEM_HYDROGEN
Definition: chemistry.h:43
ZSL_CHEM_ELEM_DYSPROSIUM
@ ZSL_CHEM_ELEM_DYSPROSIUM
Definition: chemistry.h:108
ZSL_CHEM_ELEM_SILVER
@ ZSL_CHEM_ELEM_SILVER
Definition: chemistry.h:89
ZSL_CHEM_ELEM_HOLMIUM
@ ZSL_CHEM_ELEM_HOLMIUM
Definition: chemistry.h:109
ZSL_CHEM_ELEM_ARSENIC
@ ZSL_CHEM_ELEM_ARSENIC
Definition: chemistry.h:75