Library for layered computational meshes
Project description
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.
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 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
Built Distribution
Hashes for layermesh-0.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00688e887252fe8a2ff7d664bf5e0df3ba2d7ddfc53a428be9d60df0077fb2e0 |
|
MD5 | 92dc0ca4ba998846b7d70cb6d09933b1 |
|
BLAKE2b-256 | 0534e6b9e05ae628bd63280b3a446550a48484f4cd5f48a2808a2b1ce7207f87 |