Skip to main content

Discretization tools for finite volume and inverse problems

Project description

Discretize Logo

discretize

Latest PyPI version Latest conda-forge version MIT license Azure pipelines build status Coverage status https://zenodo.org/badge/DOI/10.5281/zenodo.596411.svg https://img.shields.io/discourse/users?server=http%3A%2F%2Fsimpeg.discourse.group%2F https://img.shields.io/badge/simpeg-purple?logo=mattermost&label=Mattermost https://img.shields.io/badge/Youtube%20channel-GeoSci.xyz-FF0000.svg?logo=youtube

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

https://raw.githubusercontent.com/simpeg/figures/master/finitevolume/cell-anatomy-tensor.png

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

Installing

discretize is on conda-forge, and is the recommended installation method.

conda install -c conda-forge discretize

Prebuilt wheels of discretize are on pypi for most platforms

pip install discretize

To install from source, note this requires a c++ compiler supporting the c++17 standard.

git clone https://github.com/simpeg/discretize.git
cd discretize
pip 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.

BibTex:

@article{cockett2015simpeg,
  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},
  year={2015},
  publisher={Elsevier}
}

Project details


Release history Release notifications | RSS feed

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.11.1.tar.gz (253.3 kB view hashes)

Uploaded Source

Built Distributions

discretize-0.11.1-cp313-cp313-win_amd64.whl (962.3 kB view hashes)

Uploaded CPython 3.13 Windows x86-64

discretize-0.11.1-cp313-cp313-musllinux_1_2_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.2+ x86-64

discretize-0.11.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

discretize-0.11.1-cp313-cp313-macosx_11_0_arm64.whl (1.0 MB view hashes)

Uploaded CPython 3.13 macOS 11.0+ ARM64

discretize-0.11.1-cp313-cp313-macosx_10_13_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.13 macOS 10.13+ x86-64

discretize-0.11.1-cp312-cp312-win_amd64.whl (962.4 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

discretize-0.11.1-cp312-cp312-musllinux_1_2_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

discretize-0.11.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

discretize-0.11.1-cp312-cp312-macosx_11_0_arm64.whl (1.1 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

discretize-0.11.1-cp312-cp312-macosx_10_13_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.12 macOS 10.13+ x86-64

discretize-0.11.1-cp311-cp311-win_amd64.whl (1.0 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

discretize-0.11.1-cp311-cp311-musllinux_1_2_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

discretize-0.11.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

discretize-0.11.1-cp311-cp311-macosx_11_0_arm64.whl (1.1 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

discretize-0.11.1-cp311-cp311-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

discretize-0.11.1-cp310-cp310-win_amd64.whl (1.0 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

discretize-0.11.1-cp310-cp310-musllinux_1_2_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

discretize-0.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

discretize-0.11.1-cp310-cp310-macosx_11_0_arm64.whl (1.1 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

discretize-0.11.1-cp310-cp310-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

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