:orphan:

.. _atomistic-tutorials:

Tutorials
=========



.. raw:: html

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

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows how to define and export an atomistic model following metatensor&#x27;s interface.">

.. only:: html

  .. image:: /examples/atomistic/images/thumb/sphx_glr_1-export-atomistic-model_thumb.png
    :alt:

  :ref:`sphx_glr_examples_atomistic_1-export-atomistic-model.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Exporting a model</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows how to use metatensor atomistic models to run Molecular Dynamics (MD) simulation using ASE. ASE is not the only way to run MD with metatensor models, but it is very easy to setup and use.">

.. only:: html

  .. image:: /examples/atomistic/images/thumb/sphx_glr_2-running-ase-md_thumb.png
    :alt:

  :ref:`sphx_glr_examples_atomistic_2-running-ase-md.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Running Molecular Dynamics with ASE</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This tutorial demonstrates how to create an atomistic model that requires a neighbor list, and use it to run MD simulations. This tutorial assumes knowledge of how to export an atomistic model and run it with the ASE calculator. If you haven&#x27;t read the corresponding examples, please refer to atomistic-tutorial-export and atomistic-tutorial-md.">

.. only:: html

  .. image:: /examples/atomistic/images/thumb/sphx_glr_3-atomistic-model-with-nl_thumb.png
    :alt:

  :ref:`sphx_glr_examples_atomistic_3-atomistic-model-with-nl.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Creating models that use neighbor lists</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Do you feel like your model is too slow? Do you want to make it faster? Instead of guessing which part of the code is responsible for any slowdown, you should profile your code to learn how much time is spent in each function and where to focus any optimization efforts.">

.. only:: html

  .. image:: /examples/atomistic/images/thumb/sphx_glr_4-profiling_thumb.png
    :alt:

  :ref:`sphx_glr_examples_atomistic_4-profiling.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Profiling your models</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /examples/atomistic/1-export-atomistic-model
   /examples/atomistic/2-running-ase-md
   /examples/atomistic/3-atomistic-model-with-nl
   /examples/atomistic/4-profiling


.. only:: html

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

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

      :download:`Download all examples in Python source code: atomistic_python.zip </examples/atomistic/atomistic_python.zip>`

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download all examples in Jupyter notebooks: atomistic_jupyter.zip </examples/atomistic/atomistic_jupyter.zip>`


.. only:: html

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

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