Skip to content

Commit

Permalink
Add the lanthanides elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
kentlouisetonino committed Jul 4, 2024
1 parent 7e6014c commit 6365e36
Show file tree
Hide file tree
Showing 4 changed files with 317 additions and 0 deletions.
Binary file modified bin/elementexplorer
Binary file not shown.
1 change: 1 addition & 0 deletions src/elements/data/data.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
#include "./elements_5th_period.c"
#include "./elements_6th_period.c"
#include "./elements_7th_period.c"
#include "./elements_lanthanides.c"
#endif
301 changes: 301 additions & 0 deletions src/elements/data/elements_lanthanides.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,301 @@
#include "../element_type.h"

element_details lanthanum = {
"La",
"Lanthanum",
"57",
"Lanthanide",
"138.9055 u",
"Solid",
"[Xe] 6s2 5d1",
"+3",
"1.1",
"240 pm",
"5.577 eV",
"0.5 eV",
"1191 K",
"3737 K",
"6.15 g/cm³",
"1839",
"https://pubchem.ncbi.nlm.nih.gov/element/57",
};

element_details cerium = {
"Ce",
"Cerium",
"58",
"Lanthanide",
"140.116 u",
"Solid",
"[Xe] 6s2 4f1 5d1",
"+4, +3",
"1.12",
"235 pm",
"5.539 eV",
"0.5 eV",
"1071 K",
"3697 K",
"6.770 g/cm³",
"1803",
"https://pubchem.ncbi.nlm.nih.gov/element/58",
};

element_details praseodymium = {
"Pr",
"Praseodymium",
"59",
"Lanthanide",
"140.90766 u",
"Solid",
"[Xe] 6s2 4f3",
"+3",
"1.13",
"239 pm",
"5.464 eV",
"N/A",
"1204 K",
"3793 K",
"6.77 g/cm³",
"1885",
"https://pubchem.ncbi.nlm.nih.gov/element/59",
};

element_details neodymium = {
"Nd",
"Neodymium",
"60",
"Lanthanide",
"144.24 u",
"Solid",
"[Xe] 6s2 4f4",
"+3",
"1.14",
"229 pm",
"5.525 eV",
"N/A",
"1294 K",
"3347 K",
"7.01 g/cm³",
"1885",
"https://pubchem.ncbi.nlm.nih.gov/element/60",
};

element_details promethium = {
"Pm",
"Promethium",
"61",
"Lanthanide",
"144.91276 u",
"Solid",
"[Xe] 6s2 4f5",
"+3",
"N/A",
"236 pm",
"5.55 eV",
"N/A",
"1315 K",
"3273 K",
"7.26 g/cm³",
"1945",
"https://pubchem.ncbi.nlm.nih.gov/element/61",
};

element_details samarium = {
"Sm",
"Samarium",
"62",
"Lanthanide",
"150.4 u",
"Solid",
"[Xe] 6s2 4f6",
"+3, +2",
"1.17",
"229 pm",
"5.644 eV",
"N/A",
"1347 K",
"2067 K",
"7.52 g/cm³",
"1879",
"https://pubchem.ncbi.nlm.nih.gov/element/62",
};

element_details europium = {
"Eu",
"Europium",
"63",
"Lanthanide",
"151.964 u",
"Solid",
"[Xe] 6s2 4f7",
"+3, +2",
"N/A",
"233 pm",
"5.670 eV",
"N/A",
"1095 K",
"1802 K",
"5.24 g/cm³",
"1901",
"https://pubchem.ncbi.nlm.nih.gov/element/63",
};

element_details gadolinium = {
"Gd",
"Gadolinium",
"64",
"Lanthanide",
"157.2 u",
"Solid",
"[Xe] 6s2 4f7 5d1",
"+3",
"1.2",
"237 pm",
"6.150 eV",
"N/A",
"1586 K",
"3546 K",
"7.90 g/cm³",
"1880",
"https://pubchem.ncbi.nlm.nih.gov/element/64",
};

element_details terbium = {
"Tb",
"Terbium",
"65",
"Lanthanide",
"158.92535 u",
"Solid",
"[Xe] 6s2 4f9",
"+3",
"N/A",
"221 pm",
"5.864 eV",
"N/A",
"1629 K",
"3503 K",
"8.23 g/cm³",
"1843",
"https://pubchem.ncbi.nlm.nih.gov/element/65",
};

element_details dysprosium = {
"Dy",
"Dysprosium",
"66",
"Lanthanide",
"162.500 u",
"Solid",
"[Xe] 6s2 4f10",
"+3",
"1.22",
"229 pm",
"5.939 eV",
"N/A",
"1685 K",
"2840 K",
"8.55 g/cm³",
"1886",
"https://pubchem.ncbi.nlm.nih.gov/element/66",
};

element_details holmium = {
"Ho",
"Holmium",
"67",
"Lanthanide",
"164.93033 u",
"Solid",
"[Xe] 6s2 4f11",
"+3",
"1.23",
"216 pm",
"6.022 eV",
"N/A",
"1747 K",
"2973 K",
"8.80 g/cm³",
"1878",
"https://pubchem.ncbi.nlm.nih.gov/element/67",
};

element_details erbium = {
"Er",
"Erbium",
"68",
"Lanthanide",
"167.26 u",
"Solid",
"[Xe] 6s2 4f12",
"+3",
"1.24",
"235 pm",
"6.108 eV",
"N/A",
"1802 K",
"3141 K",
"9.07 g/cm³",
"1843",
"https://pubchem.ncbi.nlm.nih.gov/element/68",
};

element_details thulium = {
"Tm",
"Thulium",
"69",
"Lanthanide",
"168.93422 u",
"Solid",
"[Xe] 6s2 4f13",
"+3",
"1.25",
"227 pm",
"6.184 eV",
"N/A",
"1818 K",
"2223 K",
"9.32 g/cm³",
"1879",
"https://pubchem.ncbi.nlm.nih.gov/element/69",
};

element_details ytterbium = {
"Yb",
"Ytterbium",
"70",
"Lanthanide",
"173.05 u",
"Solid",
"[Xe] 6s2 4f14",
"+3, +2",
"N/A",
"242 pm",
"6.254 eV",
"N/A",
"1092 K",
"1469 K",
"6.90 g/cm³",
"1878",
"https://pubchem.ncbi.nlm.nih.gov/element/70",
};

element_details lutetium = {
"Lu",
"Lutetium",
"71",
"Lanthanide",
"174.9668 u",
"Solid",
"[Xe] 6s2 4f14 5d1",
"+3",
"1.27",
"221 pm",
"5.426 eV",
"N/A",
"1936 K",
"3675 K",
"9.84 g/cm³",
"1907",
"https://pubchem.ncbi.nlm.nih.gov/element/71",
};
15 changes: 15 additions & 0 deletions src/elements/element_array.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,19 @@ element elements[] = {
{"lv", "livermorium", &livermorium},
{"ts", "tennessine", &tennessine},
{"og", "oganesson", &oganesson},
{"la", "lanthanum", &lanthanum},
{"ce", "cerium", &cerium},
{"pr", "praseodymium", &praseodymium},
{"nd", "neodymium", &neodymium},
{"pm", "promethium", &promethium},
{"sm", "samarium", &samarium},
{"eu", "europium", &europium},
{"gd", "gadolinium", &gadolinium},
{"tb", "terbium", &terbium},
{"dy", "dysprosium", &dysprosium},
{"ho", "holmium", &holmium},
{"er", "erbium", &erbium},
{"tm", "thulium", &thulium},
{"yb", "ytterbium", &ytterbium},
{"lu", "lutetium", &lutetium},
};

0 comments on commit 6365e36

Please sign in to comment.