Skip to main content

Tools and helpers for simplex meshes

Project description


CircleCI codecov Code style: black PyPi Version GitHub stars

Compute Voronoi tesselations and everything else you need for finite-volume discretizations. Do it fast, too.


Given a triangular or tetrahedral mesh, meshplex computes

  • covolumes,
  • control volumes,
  • cell circumcenters,
  • the surface areas,
  • control volume circumcenters,

and much more.

To use meshplex, simple read a mesh (e.g., this pacman):

mesh ='pacman.msh')


(For mesh creation, check out pygmsh, mshr, pygalmesh, meshzoo, optimesh or any other tool.)


meshplex is available from the Python Package Index, so simply type

pip install -U meshplex

to install or upgrade.


To run the meshplex unit tests, check out this repository and type



To create a new release

  1. bump the __version__ number,

  2. publish to PyPi and GitHub:

    make publish


meshplex is published under the MIT license.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
meshplex-0.8.0-py2.py3-none-any.whl (23.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3
meshplex-0.8.0.tar.gz (20.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page