.. _tui_adaptation_page:

**********
Adaptation
**********

.. _tui_homard_adapt:

HOMARD
======

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

:download:`Download this script <../../examples/test_uniform_refinement.py>`

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

:download:`Download this script <../../examples/test_homard_adapt.py>`

.. _tui_mg_adapt:

MG_Adapt
========

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

:download:`Download this script <../../examples/MGAdaptTests_without_session.py>`


**See Also** the GUI :ref:`adaptation_page`.
