.. oe:namespace:: OEProton


.. meta::
   :keywords: OEInitialCharges, InitialCharges, ChargeEngine


.. _OEProton_OEInitialCharges:

.. oe:class:: OEInitialCharges

   .. oe:api::


      class OEInitialCharges : public OEChargeEngineBase

   Charge engine input to :oe:func:`OEAssignCharges<OEProton::OEAssignCharges>`
   to assign atomic partial charges by smearing formal charges onto resonance
   shared atoms.

   The input molecule must have explicit hydrogens. Initial charges are
   graph based and do not require 3D coordinates.

   The following methods are publicly inherited from :ref:`OEChargeEngineBase <OEProton_OEChargeEngineBase>`:

   ======================================================================================= ======================================================================================= =======================================================================================
   :oe:meth:`operator!=<OEProton::OEChargeEngineBase::operator!=>`                         :oe:meth:`GetName<OEProton::OEChargeEngineBase::GetName>`                               :oe:meth:`SetRepairRequestedHint<OEProton::OEChargeEngineBase::SetRepairRequestedHint>`
   :oe:meth:`operator==<OEProton::OEChargeEngineBase::operator==>`                         :oe:meth:`GetRepairRequestedHint<OEProton::OEChargeEngineBase::GetRepairRequestedHint>` :oe:meth:`TransferCharge<OEProton::OEChargeEngineBase::TransferCharge>`
   :oe:meth:`CheckCharges<OEProton::OEChargeEngineBase::CheckCharges>`                     :oe:meth:`GetRequirements<OEProton::OEChargeEngineBase::GetRequirements>`
   :oe:meth:`CreateCopy<OEProton::OEChargeEngineBase::CreateCopy>`                         :oe:meth:`IsValid<OEProton::OEChargeEngineBase::IsValid>`
   :oe:meth:`GetExpectValidMol<OEProton::OEChargeEngineBase::GetExpectValidMol>`           :oe:meth:`SetExpectValidMol<OEProton::OEChargeEngineBase::SetExpectValidMol>`
   ======================================================================================= ======================================================================================= =======================================================================================

   .. oe:method:: Constructors

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

         .. oe:api::

            OEInitialCharges()

      .. oe:language:: python

         .. oe:api:: python

            OEInitialCharges() -> OEInitialCharges

      Constructor. There are no options for this charge engine.
