.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetDefaultMass

.. oe:function:: OEGetDefaultMass

   .. oe:language:: c++ java csharp

      .. oe:api::

         unsigned int OEGetDefaultMass(unsigned int elemno)

   .. oe:language:: python

      .. oe:api:: python

         OEGetDefaultMass(elemno: int) -> int

   Returns the most abundant isotope for the given atomic number *i.e.* the same
   values as required by the MDL file format.
   In MDL SD files, non-natural isotopes are represented as a delta from
   the most commonly occurring isotope for a particular element/atomic number.

   For example, for :oe:const:`OEChem::OEElemNo::C` this function returns the
   value 12.
   For input value of zero and for values greater than or equal to
   :oe:const:`OEChem::OEElemNo::MAXELEM`, it returns zero.

