klayout-pex-plugin-elmer
Elmer FEM electrostatics cases from KLayout-PEX PEX25D scenes: the capacitance matrix of every net, floating conductor and the ground plane, by FEM (StatElecSolver).
Usage
pip install klayout-pex-plugin-elmer
pex25d export cell.pex25d --to elmer --out_dir case
cd case && ElmerGrid 14 2 mesh.msh -autoclean && ElmerSolver case.sif
- Output of the exporter:
case.sifmesh.mshandmesh.json, from klayout-pex-plugin-gmsh
- Running it: ElmerGrid converts the mesh into the directory
mesh/, whichcase.sifreads. - Result:
cmatrix.dat- mutual capacitances off the diagonal
- capacitance to ground on the diagonal, which is zero with the default
outer_boundary - body i is the group with tag i in
mesh.json
- IIC-OSIC-TOOLS doesn't include Elmer.
Options
The mesh options of klayout-pex-plugin-gmsh, plus:
| Option | Default | Meaning |
|---|---|---|
outer_boundary |
zero_charge |
Domain box: zero_charge (Elmer's natural boundary condition) or ground (0 V) |
linear_tol |
1e-10 | Relative residual of the linear solver (BiCGStabl, ILU1) |
linear_max_iterations |
1000 |
Pass them with pex25d export --option NAME=VALUE (klayout-pex 0.6.3 or later) or options={...} in Python.
Elements are linear. On the same mesh, the matrix matches Palace with order 1.
Development
poetry install # uses ../klayout-pex-plugin-gmsh until it is on PyPI
poetry run pytest # runs ElmerGrid and ElmerSolver too, if they are on PATH
Metadata
Release files for klayout-pex-plugin-elmer 0.1.1
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 |
|---|---|---|---|---|
| klayout_pex_plugin_elmer-0.1.1.tar.gz | 16.2 kB | With provenance | Details for klayout_pex_plugin_elmer-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| klayout_pex_plugin_elmer-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for klayout_pex_plugin_elmer-0.1.1-py3-none-any.whl |
Total release size: 34.7 kB
Release files / klayout_pex_plugin_elmer-0.1.1.tar.gz
| Download URL | klayout_pex_plugin_elmer-0.1.1.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5ae5238e70d8937720ddd237f59eeca5c3a6b41c69044d9491cb77efde2a8c5
|
|
BLAKE2b-256 checksum How to use checksums |
07a449eafc1cda7477c8d07f5853de03841b7a88de2b7291e91c1942f9fa5393
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / klayout_pex_plugin_elmer-0.1.1-py3-none-any.whl
| Download URL | klayout_pex_plugin_elmer-0.1.1-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
687ca3a91cdc3e3f2709727a8f8813aed85225bd4751ec381122f0d13ed13436
|
|
BLAKE2b-256 checksum How to use checksums |
1b46dc07a827bec7214961f97fa7b0a5dcec97e25ef86a54380dfccabb883a9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logSecurity for klayout-pex-plugin-elmer 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for klayout_pex_plugin_elmer-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logA 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.