DiSMech-Newton
Discrete elastic rods and shells for NVIDIA Newton.
DiSMechSolver: implicit discrete rods and shells inspired by Daviet (2023).
Examples
| Cantilever | Overhand Knot | Plectoneme |
|---|---|---|
DER (top) and Newton's VBD (bottom) against Euler-Bernoulli.uv run examples/cantilever.py |
A knot pulled tight with friction Audoly et al. (2007).uv run examples/overhand_knot.py |
A twisted rod coils into a plectoneme Clauvelin et al. (2009).uv run examples/plectoneme.py |
| Flagella Bundling | System Identification | RGB-D Capture |
Flagella bundle in a viscous fluid Tong et al. (2022).uv run examples/flagella.py --flagella 10 |
L-BFGS fits parameters from positions and a gripper force sensor.uv run examples/fit_buckling.py |
Fitting rod geometry and parameters from a single RGB-D camera.uv run --extra splat examples/fit_capture.py |
Install
Requires Python 3.10+. Runs on an NVIDIA GPU with CUDA 13 or on the CPU.
pip install "dismech-newton[gpu]"
Metadata
Release files for dismech-newton 0.1.0.post3
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 |
|---|---|---|---|---|
| dismech_newton-0.1.0.post3.tar.gz | 60.6 kB | With provenance | Details for dismech_newton-0.1.0.post3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dismech_newton-0.1.0.post3-py3-none-any.whl | Python 3 | none | any | Details for dismech_newton-0.1.0.post3-py3-none-any.whl |
Total release size: 125.6 kB
Release files / dismech_newton-0.1.0.post3.tar.gz
| Download URL | dismech_newton-0.1.0.post3.tar.gz |
|---|---|
| Size | 60.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
525082e5c0005c7460331b6e0748d1cf61cdf869776267eb496f143ea4cd3e43
|
|
BLAKE2b-256 checksum How to use checksums |
50a588fbafc07177c869285bfea42a57418a87d6320a582dcb7748195a766c92
|
| 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 Oct 21, 2026.
Transparency logRelease files / dismech_newton-0.1.0.post3-py3-none-any.whl
| Download URL | dismech_newton-0.1.0.post3-py3-none-any.whl |
|---|---|
| Size | 65.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7306865693c1b355023f54165715935446a8fa729bbba714193321af1a2dfe4
|
|
BLAKE2b-256 checksum How to use checksums |
c63c7d7378cdacc4f198a5d49ec068f629737c61a2de582e77da4f281d193ec1
|
| 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 Oct 21, 2026.
Transparency logSecurity for dismech-newton 0.1.0.post3
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for dismech_newton-0.1.0.post3.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 Oct 21, 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.