.. # split from OEPBFunctions.rst:7

.. include:: ../substitutions

.. oe:namespace:: OEPB

.. meta::
   :keywords: OECalculateCoulombicBinding

.. oe:function:: OECalculateCoulombicBinding

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

      .. oe:api::

         float OECalculateCoulombicBinding(const OEChem::OEMolBase& protein,
                                           const OEChem::OEMolBase& ligand,
                                           float dielectric)

   .. oe:language:: python

      .. oe:api:: python

         OECalculateCoulombicBinding(protein: Union[OEGraphMol,OEMol,OEQMol],
                                     ligand: Union[OEGraphMol,OEMol,OEQMol],
                                     dielectric: float) -> float

   Returns the analytic binding energy in kT for the ligand and protein in
   the specified dielectric using Coulomb's Law.
   Both ``protein`` and ``ligand`` must have 3D coordinates and
   partial charges assigned.

