Examples
========

The `examples/ <https://github.com/AdirondaxProject/adirondax/tree/main/examples>`_ directory contains a collection of astrophysics simulations demonstrating various applications of the Adirondax library.


Gallery
-------

.. list-table::
   :widths: 25 25 25 25
   :header-rows: 0

   * - .. figure:: ../../examples/kelvin_helmholtz/movie.gif
         :height: 128px
         :align: center
         :alt: kelvin_helmholtz
         :target: examples.html#kelvin-helmholtz

     - .. figure:: ../../examples/logo_inverse_problem/movie.gif
         :height: 128px
         :align: center
         :alt: logo_inverse_problem
         :target: examples.html#logo-inverse-problem

     - .. figure:: ../../examples/orszag_tang/movie.gif
         :height: 128px
         :align: center
         :alt: orszag_tang
         :target: examples.html#orszag-tang

     - .. figure:: ../../examples/rayleigh_taylor/movie.gif
         :height: 128px
         :align: center
         :alt: rayleigh_taylor
         :target: examples.html#rayleigh-taylor


kelvin_helmholtz
----------------

.. figure:: ../../examples/kelvin_helmholtz/movie.gif
  :height: 256px
  :align: center
  :alt: kelvin_helmholtz
  :target: examples.html#kelvin-helmholtz

  See on GitHub: `examples/kelvin_helmholtz <https://github.com/AdirondaxProject/adirondax/tree/main/examples/kelvin_helmholtz>`_

README:

.. literalinclude:: ../../examples/kelvin_helmholtz/README.md
  :language: md

Script:

.. literalinclude:: ../../examples/kelvin_helmholtz/kelvin_helmholtz.py
  :language: python


logo_inverse_problem
--------------------

.. figure:: ../../examples/logo_inverse_problem/movie.gif
  :height: 256px
  :align: center
  :alt: logo_inverse_problem
  :target: examples.html#logo-inverse-problem

  See on GitHub: `examples/logo_inverse_problem <https://github.com/AdirondaxProject/adirondax/tree/main/examples/logo_inverse_problem>`_

README:

.. literalinclude:: ../../examples/logo_inverse_problem/README.md
  :language: md

Script:

.. literalinclude:: ../../examples/logo_inverse_problem/logo_inverse_problem.py
  :language: python


orszag_tang
-----------

.. figure:: ../../examples/orszag_tang/movie.gif
  :height: 256px
  :align: center
  :alt: orszag_tang
  :target: examples.html#kelvin-helmholtz

  See on GitHub: `examples/orszag_tang <https://github.com/AdirondaxProject/adirondax/tree/main/examples/orszag_tang>`_

README:

.. literalinclude:: ../../examples/orszag_tang/README.md
  :language: md

Script:

.. literalinclude:: ../../examples/orszag_tang/orszag_tang.py
  :language: python


rayleigh_taylor
---------------

.. figure:: ../../examples/rayleigh_taylor/movie.gif
  :height: 256px
  :align: center
  :alt: rayleigh_taylor
  :target: examples.html#rayleigh-taylor

  See on GitHub: `examples/rayleigh_taylor <https://github.com/AdirondaxProject/adirondax/tree/main/examples/rayleigh_taylor>`_

README:

.. literalinclude:: ../../examples/rayleigh_taylor/README.md
  :language: md

Script:

.. literalinclude:: ../../examples/rayleigh_taylor/rayleigh_taylor.py
  :language: python

