.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEDefaultImplicitHCount

.. oe:function:: OEDefaultImplicitHCount

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

      .. oe:api::

         unsigned int OEDefaultImplicitHCount(const OEAtomBase* atm)

   .. oe:language:: python

      .. oe:api:: python

         OEDefaultImplicitHCount(atm: OEAtomBase) -> int

   Determines the default number of implicit hydrogens on an atom using
   **OpenEye's valence model**.  This count assumes that it is free to
   change the formal charge of an atom.

   .. note::

      If the charge state is correctly set on each atom, you should call the
      :oe:func:`OEChem::OEDefaultMDLHCount` function instead.

   .. seealso::

      * :ref:`section_valence_openeye` section
      * :oe:func:`OEChem::OEAssignImplicitHydrogens` function
