Need help with discretize?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

108 Stars 16 Forks MIT License 4.9K Commits 51 Opened issues


Discretization tools for finite volume and inverse problems.

Services available


Need anything else?

Contributors list


.. image:: :target: :alt: Latest PyPI version

.. image:: :target: :alt: MIT license

.. image:: :target: :alt: Azure pipelines build status

.. image:: :target: :alt: Coverage status

.. image:: :target: :alt: codacy status

.. image:: :target:

.. image:: :target:

.. image:: :target:

.. image:: :target:

discretize - A python package for finite volume discretization.

The vision is to create a package for finite volume simulation with a focus on large scale inverse problems. This package has the following features:

  • modular with respect to the spacial discretization
  • built with the inverse problem in mind
  • supports 1D, 2D and 3D problems
  • access to sparse matrix operators
  • access to derivatives to mesh variables

.. image::

Currently, discretize supports:

  • Tensor Meshes (1D, 2D and 3D)
  • Cylindrically Symmetric Meshes
  • QuadTree and OcTree Meshes (2D and 3D)
  • Logically Rectangular Meshes (2D and 3D)

Installing ^^^^^^^^^^ discretize is on conda-forge

.. code:: shell

conda install -c conda-forge discretize

discretize is on pypi

.. code:: shell

pip install discretize

To install from source

.. code:: shell

git clone
python install

Citing discretize ^^^^^^^^^^^^^^^^^

Please cite the SimPEG paper when using discretize in your work:

Cockett, R., Kang, S., Heagy, L. J., Pidlisecky, A., & Oldenburg, D. W. (2015). SimPEG: An open source framework for simulation and gradient based parameter estimation in geophysical applications. Computers & Geosciences.


.. code:: Latex

  title={SimPEG: An open source framework for simulation and gradient based parameter estimation in geophysical applications},
  author={Cockett, Rowan and Kang, Seogi and Heagy, Lindsey J and Pidlisecky, Adam and Oldenburg, Douglas W},
  journal={Computers \& Geosciences},

Links ^^^^^





Bugs & Issues:



We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.