Skip to main content

Library for layered computational meshes

Project description

Unit tests Documentation Status PyPI version

Layermesh

Layermesh is a Python library for creating and manipulating computational meshes with a layer/column structure, i.e. a (possibly unstructured) 2-D mesh projected down through a series of layers of constant thickness.

The uppermost layers of the mesh may be incomplete (i.e. do not contain cells for all columns), so that an irregular top surface can be used to represent e.g. topography. Similarly, the bottom layers may also be incomplete.

The Layermesh library can be used to carry out a variety of actions on such meshes, including:

  • creating meshes
  • loading and saving from HDF5 files
  • exporting to a variety of 3-D mesh formats (via the meshio library)
  • fitting surface and bottom elevation data
  • local refinement of the horizontal mesh
  • optimization to improve horizontal mesh quality
  • mesh searching, to locate particular cells, columns or layers
  • 2-D layer and vertical slice plots (via Matplotlib)

Documentation

Documentation for Layermesh can be found on Read The Docs.

Installation

Layermesh can be installed via pip, Python's package manager:

pip install layermesh

or if you don't have permissions for installing system-wide Python packages, you can just install it locally inside your own user account:

pip install --user layermesh

This will download and install Layermesh from the Python Package Index (PyPI).

Licensing

Layermesh is open-source software, released under the GNU Lesser General Public License (LGPL) version 3.

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

layermesh-0.5.1.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

layermesh-0.5.1-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file layermesh-0.5.1.tar.gz.

File metadata

  • Download URL: layermesh-0.5.1.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for layermesh-0.5.1.tar.gz
Algorithm Hash digest
SHA256 3b2075a788bd367d352a2a9310fd3eaaa47963bf4749ad6dedf7e7f7d2b47a0f
MD5 be91abeffc4b73955618a2bc8d58d95c
BLAKE2b-256 5c9e34e8f65c78070a9408f3c9cf503ed9942dc89c159221ae533912cb213821

See more details on using hashes here.

Provenance

The following attestation bundles were made for layermesh-0.5.1.tar.gz:

Publisher: pythonpublish.yml on acroucher/layermesh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file layermesh-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: layermesh-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for layermesh-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4764fd0707974e282040965db9d86596c6033d815d3356e3b94445a35fbf6a4
MD5 90681039dc6a93b0f10eb03192233994
BLAKE2b-256 f794cf539b11cd6337a3d41f92e27018c4d8fda500d0de3015a4bb85ca46de14

See more details on using hashes here.

Provenance

The following attestation bundles were made for layermesh-0.5.1-py3-none-any.whl:

Publisher: pythonpublish.yml on acroucher/layermesh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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