Skip to content

New rcpr - #339

Merged
drobnyjt merged 14 commits into
devfrom
new_rcpr
Aug 22, 2026
Merged

New rcpr#339
drobnyjt merged 14 commits into
devfrom
new_rcpr

Conversation

@drobnyjt

@drobnyjt drobnyjt commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Thank you for your contribution to rustBCA!

Before submitting this PR, please make sure you have:

  • Opened an issue
  • Referenced the relevant issue number(s) below
  • Provided a description of the changes below
  • Ensured all tests pass and added any necessary tests for new code

Fixes #338

Description

Updates rcpr to latest version.

Deprecates root polishing - on testing with rcpr's new python interface, as far as I can tell, nothing is gained with root polishing for doca-type problems.

Implements Boyd's semi-infinite domain transformation before rootfinding (see Boyd, Solving Transcendental Equations, 2014, sections B.3 and A.5) - this restricts the rootfinding range to [0, 1] where the CPR is much better behvaved, increasing numerical stability and reducing requirements on N and epsilon.

Tests

examples/test_morse.py, cargo test, and an in-progress MD benchmark.

@drobnyjt
drobnyjt merged commit e1e006f into dev Aug 22, 2026
2 checks passed
@drobnyjt
drobnyjt deleted the new_rcpr branch August 22, 2026 01:53
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.

1 participant