.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples_gallery/simple.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_examples_gallery_simple.py: Simple diffusion equation ========================= This example solves a simple diffusion equation in two dimensions. .. GENERATED FROM PYTHON SOURCE LINES 7-16 .. image-sg:: /examples_gallery/images/sphx_glr_simple_001.png :alt: simple :srcset: /examples_gallery/images/sphx_glr_simple_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none 0%| | 0/10.0 [00:00` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: simple.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: simple.zip `