.. # split from OEPBFunctions.rst:39

.. include:: ../substitutions

.. oe:namespace:: OEPB

.. meta::
   :keywords: OEMakeETGrid

.. oe:function:: OEMakeETGrid

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

      .. oe:api::

         bool OEMakeETGrid(OESystem::OEScalarGrid& grid,
                           const OEChem::OEMolBase& mol, const OEET& et)

   .. oe:language:: python

      .. oe:api:: python

         OEMakeETGrid(grid: OEScalarGrid, mol: Union[OEGraphMol,OEMol,OEQMol],
                      et: OEET) -> bool

   Calculates the electrostatic Tanimoto grid for the ``mol``
   passed in and the reference molecule that needs to be already set
   to the :ref:`OEET <OEPB_OEET>` instance.
   Both ``mol`` and the reference molecule set via
   :oe:meth:`OEPB::OEET::SetRefMol` must have 3D coordinates and
   partial charges assigned.

