Library / Skill
Compute one-dimensional elastic collisions with momentum and energy checks
baltor_elastic_collision_1d
Compute post-collision velocities of one-dimensional elastic collisions with momentum and energy checks, and run an event-driven simulation with optional reflecting walls that returns every collision, sampled positions and conservation checks.
LICENSE1.0 KBSKILL.md1.7 KBcontracts/input.schema.json3.0 KBcontracts/output.schema.json7.1 KBexamples/example.expected.json1.3 KBexamples/example.input.json319 bytesreferences/README.md3.1 KBreferences/provenance.json4.3 KBscripts/tool.py16.3 KBverification/test_tool.py10.2 KB
Full files in your harness.
What it takes and gives
- Command
python3 -B scripts/tool.py < examples/example.input.json- Test
python3 -B -m unittest discover -s verification -p 'test_*.py' -v- Files
- SKILL.md, contracts/input.schema.json, contracts/output.schema.json, scripts/tool.py
- Placed for
- Claude Code, Codex, OpenCode, Pi
Details
- Kind
- Skill
- Licence
- MIT
- Declared effects
- reads files, runs commands
- Placed for
- Claude Code, Codex, OpenCode, Pi
- Source
- docs/architecture/NORTH-STAR.md
- Size
- 10 files, 48.3 KB
- Identity
baltor_elastic_collision_1d- Version
264dc19f1b44807ab1a9017227802fd8347c6b0b4b8af9428621620451ab906f
The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.
Where it is shown
- Algorithms that show their workDeterministic skills
Related components
Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.