Beispiel #1
0
 /// <summary>  Configures an atom to have all the data of the
 /// given isotope.
 ///
 /// </summary>
 /// <param name="atom">    The atom to be configure
 /// </param>
 /// <param name="isotope"> The isotope to read the data from
 /// </param>
 /// <returns>          The configured atom
 /// </returns>
 public virtual IAtom configure(IAtom atom, IIsotope isotope)
 {
     atom.MassNumber = isotope.MassNumber;
     atom.Symbol     = isotope.Symbol;
     atom.setExactMass(isotope.getExactMass());
     atom.AtomicNumber     = isotope.AtomicNumber;
     atom.NaturalAbundance = isotope.NaturalAbundance;
     return(atom);
 }
 /// <summary>  Configures an atom to have all the data of the
 /// given isotope.
 /// 
 /// </summary>
 /// <param name="atom">    The atom to be configure
 /// </param>
 /// <param name="isotope"> The isotope to read the data from
 /// </param>
 /// <returns>          The configured atom
 /// </returns>
 public virtual IAtom configure(IAtom atom, IIsotope isotope)
 {
     atom.MassNumber = isotope.MassNumber;
     atom.Symbol = isotope.Symbol;
     atom.setExactMass(isotope.getExactMass());
     atom.AtomicNumber = isotope.AtomicNumber;
     atom.NaturalAbundance = isotope.NaturalAbundance;
     return atom;
 }