:orphan: Mesh Generation =============== `discretize` provides a numerical grid (or "mesh") on which to solve differential equations. Each mesh type has a similar API to make working with different meshes relatively simple. Within `discretize`, all meshes are classes that have properties like the number of cells `nC`, and methods, like `plotGrid`. To learn how to create meshes with `discretize`, we have provided a set of tutorials. These tutorials aim to teach the user: - where discrete variables can live on meshes - how to construct various types of meshes - how to extract useful properties from mesh objects - some aspects of plotting and meshes .. raw:: html
.. raw:: html
.. only:: html .. image:: /tutorials/mesh_generation/images/thumb/sphx_glr_1_mesh_overview_thumb.png :alt: :ref:`sphx_glr_tutorials_mesh_generation_1_mesh_overview.py` .. raw:: html
Overview of Mesh Types
.. raw:: html
.. only:: html .. image:: /tutorials/mesh_generation/images/thumb/sphx_glr_2_tensor_mesh_thumb.png :alt: :ref:`sphx_glr_tutorials_mesh_generation_2_tensor_mesh.py` .. raw:: html
Tensor meshes
.. raw:: html
.. only:: html .. image:: /tutorials/mesh_generation/images/thumb/sphx_glr_3_cylindrical_mesh_thumb.png :alt: :ref:`sphx_glr_tutorials_mesh_generation_3_cylindrical_mesh.py` .. raw:: html
Cylindrical meshes
.. raw:: html
.. only:: html .. image:: /tutorials/mesh_generation/images/thumb/sphx_glr_4_tree_mesh_thumb.png :alt: :ref:`sphx_glr_tutorials_mesh_generation_4_tree_mesh.py` .. raw:: html
Tree Meshes
.. raw:: html
.. toctree:: :hidden: /tutorials/mesh_generation/1_mesh_overview /tutorials/mesh_generation/2_tensor_mesh /tutorials/mesh_generation/3_cylindrical_mesh /tutorials/mesh_generation/4_tree_mesh .. 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: mesh_generation_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: mesh_generation_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_