A bridge between pyhip and meshio
Project description
Yet another mesh I/O
yamio aims to bridge meshio and pyhip.
Both projects support various formats for representing unstructured grids. Nevertheless, they were unable to communicate without loss of information. yamio extends meshio by adding treatment to boundary patches through extension of the meshio.Mesh object and by defining a direct writer to pyhip main format (.mesh.xmf). Additionally, yamio adds support for Ensight's gold files.
Install with
pip install yamio
The basic usage is very similar to meshio.
To read a mesh
import yamio
mesh = yamio.read(filename) # extension inferred
To write a mesh
import yamio
mesh = yamio.write(filename, mesh) # extension inferred
Additionally to meshio, the following formats are available: .mesh.xmf (pyhip main format) and .geo.
Note: after you have a .mesh.xmf mesh, you can rely on pyhip to do additional mesh conversions.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yamio-0.1.3.tar.gz.
File metadata
- Download URL: yamio-0.1.3.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac6c1e0d2d43dbd88191b8415b6950c2c626b13dc6f8397a77ba2170232c0913
|
|
| MD5 |
69aa760ce7c2ea47bacce0994b99cdf4
|
|
| BLAKE2b-256 |
f1b86d5dc6fbc9d2a0b10fd56748c3bd20f6dbfd7f8dc8b0a1a83787548a4a9c
|
File details
Details for the file yamio-0.1.3-py3-none-any.whl.
File metadata
- Download URL: yamio-0.1.3-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60bbc5f0ae140e5032ef9fe61c103cc371f25fa8dd1441940278343a859aadba
|
|
| MD5 |
de0252f8215edfb826831caca9b062f7
|
|
| BLAKE2b-256 |
8cb3f8406e0963ab7ac916625b7af5aaaa74b2d5841936d52039149354f67276
|