Class: IsotopeFactory

IsotopeFactory

new IsotopeFactory()

Factory to create and get suitable isotope.
Source:

Methods

(static) getIsotope(symbolOrAtomicNumber, massNumber) → {Kekule.Isotope}

Returns a suitable isotope object.
Parameters:
Name Type Description
symbolOrAtomicNumber Varaint Element symbol(String) or atomic number(Integer).
massNumber Int
Source:
Returns:
Type
Kekule.Isotope

(static) getIsotopeById(id) → {Kekule.Isotope}

Returns a suitable isotope by id.
Parameters:
Name Type Description
id String Isotope ID, such as H2, C13.
Source:
Returns:
Type
Kekule.Isotope