.. include:: ../substitutions

.. oe:namespace:: OEConfGen

.. meta::
   :keywords: OEClearGlobalFragLib

.. oe:function:: OEClearGlobalFragLib

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

      .. oe:api::

         void OEClearGlobalFragLib()

   .. oe:language:: python

      .. oe:api:: python

         OEClearGlobalFragLib() -> None

   Clears the global fragment library.  This function can be used
   to remove the default fragment library in order to load a new
   one or to ensure that any force field parameter change will
   be used during the subsequent runs in favor of the preloaded
   default fragment library.

   .. note::

      This function is not thread-safe and must be called before
      starting any threads.

   .. seealso::

      * :oe:func:`OEConfGen::OEAddGlobalFragLib` function
