Share Newton barrier line-search step scaling#2943
Open
jslee02 wants to merge 1 commit into
Open
Conversation
Member
Author
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2943 +/- ##
==========================================
+ Coverage 84.23% 84.24% +0.01%
==========================================
Files 684 684
Lines 81088 81082 -6
==========================================
+ Hits 68302 68306 +4
+ Misses 12786 12776 -10
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
detail/newton_barrier.Motivation / Problem
[0, 1]step-bound normalization shape, with deformable paths also stepping strictly inside the CCD bound before applying a candidate.Changes / Key Changes
newton_barrier::makeLineSearchStepScale()for finite clamping plus optional safety scaling.newton_barrier::makeInteriorLineSearchStepScale()for the strictly-inside CCD fraction used by deformable/world line searches.Testing
pixi run lintpixi run -- cmake --build build/default/cpp/Release --target test_newton_barrier_primitives test_rigid_ipc_barrier test_world --parallel 8pixi run -- ctest --test-dir build/default/cpp/Release --output-on-failure -R '^(test_newton_barrier_primitives|test_rigid_ipc_barrier|test_world)$'pixi run buildpixi run test-unitpixi run test-allpixi run -e cuda test-allBreaking Changes
Related Issues / PRs (backports)
docs/dev_tasks/unified_newton_barrier_multibody.main.Checklist
main, DART 6.17.1 forrelease-6.17)