Skip to main content

Discretization tools for finite volume and inverse problems

Project description

Latest PyPI version MIT license Travis CI build status Coverage status codacy 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

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)

Installing

discretize is on pypi

pip install discretize

To install from source

git clone https://github.com/simpeg/discretize.git
python setup.py 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.3.3.tar.gz (539.5 kB view details)

Uploaded Source

Built Distributions

discretize-0.3.3-py3.6-linux-x86_64.egg (2.5 MB view details)

Uploaded Source

discretize-0.3.3-py2.7-linux-x86_64.egg (2.2 MB view details)

Uploaded Source

discretize-0.3.3-cp35-cp35m-win_amd64.whl (460.8 kB view details)

Uploaded CPython 3.5m Windows x86-64

discretize-0.3.3-cp35-cp35m-win32.whl (368.8 kB view details)

Uploaded CPython 3.5m Windows x86

discretize-0.3.3-cp27-cp27m-win_amd64.whl (494.7 kB view details)

Uploaded CPython 2.7m Windows x86-64

discretize-0.3.3-cp27-cp27m-win32.whl (390.9 kB view details)

Uploaded CPython 2.7m Windows x86

File details

Details for the file discretize-0.3.3.tar.gz.

File metadata

  • Download URL: discretize-0.3.3.tar.gz
  • Upload date:
  • Size: 539.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.12.4 setuptools/20.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for discretize-0.3.3.tar.gz
Algorithm Hash digest
SHA256 517aef2c3e4facfb01341f6cc6e1fb122259385ecb94e96f0ae4bd52d64393b1
MD5 951f1cd73cc01ddba95bbbd377b489ea
BLAKE2b-256 15eb5ffcac86299feddafe2743deb86276595b5aa9d121ff44923f9fc150a7c9

See more details on using hashes here.

File details

Details for the file discretize-0.3.3-py3.6-linux-x86_64.egg.

File metadata

  • Download URL: discretize-0.3.3-py3.6-linux-x86_64.egg
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for discretize-0.3.3-py3.6-linux-x86_64.egg
Algorithm Hash digest
SHA256 d2d19f3ccea9794a4505e6b763e6556eeb1b6f93fb4a08930f2a740c347b2e81
MD5 0049556a82de545428505e3a6827f526
BLAKE2b-256 7229aaaf608c5e0af860ec9d4be5eacd5454fa296ee88865df1b9a11a495dd62

See more details on using hashes here.

File details

Details for the file discretize-0.3.3-py2.7-linux-x86_64.egg.

File metadata

  • Download URL: discretize-0.3.3-py2.7-linux-x86_64.egg
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.12.4 setuptools/20.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for discretize-0.3.3-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 ffdda504fe5c7606484ae5f85aca662a345410b0d02618af24100c0666caca3e
MD5 e3af99d228bfbaaa37f2275f1852ff9f
BLAKE2b-256 fc6dbe0c8aee4cb1991c1c50fa2a32401ced51f366a2b09f23a0ea4b7fc98913

See more details on using hashes here.

File details

Details for the file discretize-0.3.3-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: discretize-0.3.3-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 460.8 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.14.2 setuptools/27.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for discretize-0.3.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 14b701928ada4060843df6729a42c724fa29d5ffe08cc65ccacc3e91cb95961e
MD5 5e5ffab4880a22b83b2c4e6d084b5fd1
BLAKE2b-256 c6fd519c72ee752f41ef3bdf65f19003c7ebf341a7f8e320deadf5ae0b4153d9

See more details on using hashes here.

File details

Details for the file discretize-0.3.3-cp35-cp35m-win32.whl.

File metadata

  • Download URL: discretize-0.3.3-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 368.8 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.14.2 setuptools/27.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for discretize-0.3.3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 8c4462be6b1c8ad79ea3f7ed7b698e90a9cf355645cd815c939c7cac93076c03
MD5 9b13916145b2f0df0f3000bb60af2cc6
BLAKE2b-256 e693a87229e3718b6f8bf415ce15d0aa58a583e6b7051a4d95f327a3ea57559f

See more details on using hashes here.

File details

Details for the file discretize-0.3.3-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: discretize-0.3.3-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 494.7 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for discretize-0.3.3-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 2b916fe8d107377f456d505be08f481e736d29c1af73fdbc1cf5bc03dded64f8
MD5 eb96b357a1b44fa64724bc762e8cc060
BLAKE2b-256 2018aa4a9df178c932b59c446ff457da5bb75ed030890790e7daa1edc21c3e3a

See more details on using hashes here.

File details

Details for the file discretize-0.3.3-cp27-cp27m-win32.whl.

File metadata

  • Download URL: discretize-0.3.3-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 390.9 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for discretize-0.3.3-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 05a903eb635a9c86d0346b5803f1274419cd21fbca0b1d88cc15e0458762889a
MD5 78339d72254e520ac15a2bfeb60003a1
BLAKE2b-256 5033abcf6eeaa18dc05157e023617b8c890c03178507b8df28ed1c889aba89b0

See more details on using hashes here.

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