.. oe:namespace:: OESz

.. meta::
   :keywords: OERestrictionEnergyResult, RestrictionEnergyResult


.. _OESz_OERestrictionEnergyResult:

.. oe:class:: OERestrictionEnergyResult

   .. oe:api::


      class OERestrictionEnergyResult

   Container for restriction energy results for a single conformer.

   .. oe:method:: Constructors

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

         .. oe:api::

            OERestrictionEnergyResult()
            OERestrictionEnergyResult(const OEChem::OEMolBase& argConf)
            OERestrictionEnergyResult(const OERestrictionEnergyResult&)

      .. oe:language:: python

         .. oe:api:: python

            OERestrictionEnergyResult() -> OERestrictionEnergyResult
            OERestrictionEnergyResult(argRes: OERestrictionEnergyResult) -> OERestrictionEnergyResult
            OERestrictionEnergyResult(argConf: Union[OEGraphMol,OEMol,OEQMol]) -> OERestrictionEnergyResult

      Default and copy constructors.

   .. oe:method:: operator=
      :language: c++

      .. oe:api::

         OERestrictionEnergyResult& operator=(const OERestrictionEnergyResult&)

      Assignment operator.


   .. oe:method:: GetGlobalStrain

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

         .. oe:api::

            double GetGlobalStrain() const

      .. oe:language:: python

         .. oe:api:: python

            GetGlobalStrain() -> float

      Returns the global strain (in kcal/mol) associated with this conformer, due to being restricted.
       
   .. oe:method:: GetLocalStrain

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

         .. oe:api::

            double GetLocalStrain() const

      .. oe:language:: python

         .. oe:api:: python

            GetLocalStrain() -> float

      Returns the local strain (in kcal/mol) associated with this conformer, due to being restricted.

