:orphan:

C Examples
==========

These examples demonstrate the usage of Cantera's generated C interface library,
which can also be used to call Cantera from other languages that are able to call C
functions.

.. caution::
    The generated CLib interface is an experimental part of the Cantera API and may
    be changed or removed without notice.



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This program illustrates using Cantera&#x27;s generated C-library interface to compute thermodynamic, kinetic, and transport properties of a gas mixture. In addition, a simple reactor network simulation is illustrated.">

.. only:: html

  .. image:: /examples/clib/images/thumb/sphx_glr_demo_thumb.png
    :alt:

  :ref:`sphx_glr_examples_clib_demo.c`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">CLib Demo</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /examples/clib/demo


.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-gallery

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download all examples as source code: clib.zip </examples/clib/clib.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
