Skip to content

refactor: Update ForceKernel and add water forces unit tests#2336

Merged
trisyoungs merged 23 commits intodevelop2from
dissolve2/no-forces-module-node
Mar 18, 2026
Merged

refactor: Update ForceKernel and add water forces unit tests#2336
trisyoungs merged 23 commits intodevelop2from
dissolve2/no-forces-module-node

Conversation

@trisyoungs
Copy link
Member

@trisyoungs trisyoungs commented Mar 13, 2026

Follows #2326 - Do not merge until #2326 is resolved.

As the title suggests this PR reimplements the forces unit tests for the water system. Found and fixed a bug with three-point interpolation which caused inconsistencies between analytic and production forces at the very limit of the pair potential range (new unit tests added to cover this). PairPotential is also updated to adjust the delta_ parameter so that it exactly covers the requested pair potential range.

Note: The MDModule unit test will fail as the test forces need updating as a result of the above mentioned changes. This will be fixed in a follow-up PR.

Base automatically changed from dissolve2/energy-unit-tests to develop2 March 18, 2026 09:22
@trisyoungs trisyoungs force-pushed the dissolve2/no-forces-module-node branch from b35bb06 to be6bb92 Compare March 18, 2026 09:51
@trisyoungs trisyoungs merged commit 84f1fb7 into develop2 Mar 18, 2026
1 check passed
@trisyoungs trisyoungs deleted the dissolve2/no-forces-module-node branch March 18, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants