Skip to main content

Discretization tools for finite volume and inverse problems

Project description

Discretize Logo


Latest PyPI version Latest conda-forge version MIT license Azure pipelines build status Coverage status

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

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)

  • Triangular (2D) and Tetrahedral (3D) Meshes


discretize is on conda-forge

conda install -c conda-forge discretize

discretize is on pypi

pip install discretize

To install from source

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.


  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},

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discretize-0.9.0.tar.gz (1.1 MB view hashes)

Uploaded source

Built Distributions

discretize-0.9.0-cp310-cp310-win_amd64.whl (890.0 kB view hashes)

Uploaded cp310

discretize-0.9.0-cp39-cp39-win_amd64.whl (941.8 kB view hashes)

Uploaded cp39

discretize-0.9.0-cp38-cp38-win_amd64.whl (947.3 kB view hashes)

Uploaded cp38

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page