00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #include <specie/atomicWeights.H>
00027
00028
00029
00030 const Foam::atomicWeightTable::atomicWeight
00031 Foam::atomicWeightTable::atomicWeights[atomicWeightTable::nElements] =
00032 {
00033 {"E", 0},
00034 {"H", 1.00797},
00035 {"He", 4.00260},
00036 {"Li", 6.93900},
00037 {"Be", 9.01220},
00038 {"B", 10.81100},
00039 {"C", 12.01115},
00040 {"N", 14.00670},
00041 {"O", 15.99940},
00042 {"F", 18.99840},
00043 {"Ne", 20.18300},
00044 {"Na", 22.98980},
00045 {"Mg", 24.31200},
00046 {"Al", 26.98150},
00047 {"Si", 28.08600},
00048 {"P", 30.97380},
00049 {"S", 32.06400},
00050 {"Cl", 35.45300},
00051 {"Ar", 39.94800},
00052 {"K", 39.10200},
00053 {"Ca", 40.08000},
00054 {"Sc", 44.95600},
00055 {"Ti", 47.90000},
00056 {"V", 50.94200},
00057 {"Cr", 51.99600},
00058 {"Mn", 54.93800},
00059 {"Fe", 55.84700},
00060 {"Co", 58.93320},
00061 {"Ni", 58.71000},
00062 {"Cu", 63.54000},
00063 {"Zn", 65.37000},
00064 {"Ga", 69.72000},
00065 {"Ge", 72.59000},
00066 {"As", 74.92160},
00067 {"Se", 78.96000},
00068 {"Br", 79.90090},
00069 {"Kr", 83.80000},
00070 {"Rb", 85.47000},
00071 {"Sr", 87.62000},
00072 {"Y", 88.90500},
00073 {"Zr", 91.22000},
00074 {"Nb", 92.90600},
00075 {"Mo", 95.94000},
00076 {"Tc", 99.00000},
00077 {"Ru", 101.07000},
00078 {"Rh", 102.90500},
00079 {"Pd", 106.40000},
00080 {"Ag", 107.87000},
00081 {"Cd", 112.40000},
00082 {"In", 114.82000},
00083 {"Sn", 118.69000},
00084 {"Sb", 121.75000},
00085 {"Te", 127.60000},
00086 {"I", 126.90440},
00087 {"Xe", 131.30000},
00088 {"Cs", 132.90500},
00089 {"Ba", 137.34000},
00090 {"La", 138.91000},
00091 {"Ce", 140.12000},
00092 {"Pr", 140.90700},
00093 {"Nd", 144.24000},
00094 {"Pm", 145.00000},
00095 {"Sm", 150.35000},
00096 {"Eu", 151.96000},
00097 {"Gd", 157.25000},
00098 {"Tb", 158.92400},
00099 {"Dy", 162.50000},
00100 {"Ho", 164.93000},
00101 {"Er", 167.26000},
00102 {"Tm", 168.93400},
00103 {"Yb", 173.04000},
00104 {"Lu", 174.99700},
00105 {"Hf", 178.49000},
00106 {"Ta", 180.94800},
00107 {"W", 183.85000},
00108 {"Re", 186.20000},
00109 {"Os", 190.20000},
00110 {"Ir", 192.20000},
00111 {"Pt", 195.09000},
00112 {"Au", 196.96700},
00113 {"Hg", 200.59000},
00114 {"Tl", 204.37000},
00115 {"Pb", 207.19000},
00116 {"Bi", 208.98000},
00117 {"Po", 210.00000},
00118 {"At", 210.00000},
00119 {"Rn", 222.00000},
00120 {"Fr", 223.00000},
00121 {"Ra", 226.00000},
00122 {"Ac", 227.00000},
00123 {"Th", 232.03800},
00124 {"Pa", 231.00000},
00125 {"U", 238.03000},
00126 {"Np", 237.00000},
00127 {"Pu", 242.00000},
00128 {"Am", 243.00000},
00129 {"Cm", 247.00000},
00130 {"Bk", 249.00000},
00131 {"Cf", 251.00000},
00132 {"Es", 254.00000},
00133 {"Fm", 253.00000},
00134 {"D", 2.01410},
00135 {"e", 5.45e-4}
00136 };
00137
00138
00139
00140
00141 Foam::atomicWeightTable::atomicWeightTable()
00142 {
00143 for (int i=0; i<nElements; i++)
00144 {
00145 insert(word(atomicWeights[i].name), atomicWeights[i].weight);
00146 }
00147 }
00148
00149
00150
00151
00152 Foam::atomicWeightTable Foam::atomicWeights;
00153
00154
00155