fix-slf-mesh-ot
Fix missing IPOBO (boundary node index) records in SERAFIN (.slf) mesh files generated by q4ts. Patches the binary file in-place by reading boundary node numbers from a .cli file.
Installation
pip install fix-slf-mesh-ot
Usage
fix-slf-mesh-ot mesh.slf boundary.cli
How it works
find_ipobo_offset— Parses the SERAFIN binary format (tries big/little endian) to locate the IPOBO record offset. Walks the header: title → variable count → variable names → params → geometry (NELEM, NPOIN, NDP) → IKLE → IPOBO position.fix_ipobo— Reads the.clifile to build a boundary-node-to-index mapping, then writes the IPOBO array at the found offset via a temp file +os.replace.
The SERAFIN format uses Fortran-style records (4-byte length prefix/suffix around each data block).
License
MIT
Metadata
Release files for fix-slf-mesh-ot 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fix_slf_mesh_ot-0.1.0.tar.gz | 5.1 kB | Without provenance | Details for fix_slf_mesh_ot-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fix_slf_mesh_ot-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for fix_slf_mesh_ot-0.1.0-py3-none-any.whl |
Total release size: 9.3 kB
Release files / fix_slf_mesh_ot-0.1.0.tar.gz
| Download URL | fix_slf_mesh_ot-0.1.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8be79559a6d4486fca589a77db80ad5c06a37d99640bd610ed71895bf9eff8f
|
|
BLAKE2b-256 checksum How to use checksums |
651158399ea33203aeebb8671759c5d4e79da0093917da2b079d8ad6c8e33b9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / fix_slf_mesh_ot-0.1.0-py3-none-any.whl
| Download URL | fix_slf_mesh_ot-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43df7c9e22ee6af4becdc562a536b94288b4eacc8580ad675fc42b8f8d78da17
|
|
BLAKE2b-256 checksum How to use checksums |
406e2a38da4dd2e8ff58d058c80c0051bbd8bf24dd53bd5678287375747ea96e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for fix-slf-mesh-ot 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.