Пример #1
0
        public static void Load(out List <string> elementSymbolList, out List <Element> elementList)
        {
            elementSymbolList = new List <string>();
            elementList       = new List <Element>();

            PeriodicTable.SetElement_H(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_He(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Li(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Be(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_B(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_C(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_N(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_O(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_F(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ne(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Na(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Mg(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Al(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Si(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_P(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_S(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Cl(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ar(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_K(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ca(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Sc(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ti(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_V(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Cr(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Mn(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Fe(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Co(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ni(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Cu(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Zn(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ga(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ge(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_As(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Se(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Br(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Kr(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Rb(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Sr(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Y(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Zr(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Nb(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Mo(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Tc(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ru(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Rh(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Pd(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ag(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Cd(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_In(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Sn(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Sb(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Te(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_I(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Xe(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Cs(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ba(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_La(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ce(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Pr(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Nd(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Pm(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Sm(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Eu(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Gd(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Tb(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Dy(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ho(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Er(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Tm(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Yb(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Lu(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Hf(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ta(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_W(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Re(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Os(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ir(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Pt(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Au(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Hg(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Tl(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Pb(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Bi(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Po(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_At(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Rn(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Fr(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ra(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Ac(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Th(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Pa(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_U(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Np(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Pu(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Am(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Cm(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Bk(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Cf(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Es(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Fm(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Md(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_No(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_Lr(ref elementSymbolList, ref elementList);
            PeriodicTable.SetElement_X(ref elementSymbolList, ref elementList);
        }