Files
pplus-library/modules/md/lennard-jones-force/routine.json
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

43 lines
1.1 KiB
JSON

{
"name": "LennardJonesForce",
"summary": "The force between two particles at distance R under the Lennard-Jones potential: positive pushes them apart.",
"tags": [
"molecular dynamics",
"force"
],
"sources": [
{
"title": "Allen and Tildesley, Computer Simulation of Liquids, 2nd edition (Oxford, 2017), section 1.3.2, Atomic systems: the potential whose derivative this is"
},
{
"title": "Lennard-Jones, Cohesion, Proc. Phys. Soc. 43 (1931): the 12-6 form",
"url": "https://doi.org/10.1088/0959-5309/43/5/301"
}
],
"cases": [
{
"call": "LennardJonesForce(1.0, 1.0, 1.0)"
},
{
"call": "LennardJonesForce(1.122462048309373, 1.0, 1.0)"
},
{
"call": "LennardJonesForce(2.5, 0.238, 3.4)"
}
],
"references": [
{
"lang": "python",
"level": "multiply",
"file": "ref/python/multiply.py",
"note": "The same multiplications."
},
{
"lang": "mojo",
"level": "multiply",
"file": "ref/mojo/multiply.mojo",
"note": "The same multiplications in Mojo."
}
]
}