Repository navigation
[Core,IntegrationScheme] Replace legacy propagation by mapping-graph based propagation - #6334
Merged
Merged
Conversation
th-skam
reviewed
Sep 30, 2026
alxbilger
force-pushed
the
replacepropagation
branch
4 times, most recently
from
October 8, 2026 09:42
3da17d7 to
4c1d6da
Compare
Contributor
Author
|
The reason a scene crashes with this PR: #6375 |
hugtalbot
approved these changes
Oct 16, 2026
fredroy
reviewed
Oct 21, 2026
fredroy
reviewed
Oct 21, 2026
fredroy
left a comment
Contributor
There was a problem hiding this comment.
And it (🤖) also detected that with the StaticEquilibrium:
With free motion, the Newton loop now updates freePosition but keeps computing forces at position. The residual never reflects the step, so the line search and convergence check are wrong. The fix is to call m_mop->mparams.setX(m_xResult) once in doSetupIntegrationStep, as the Velocity and Acceleration schemes already do.
and not detected in the tests because there is not scene using StaticEquilibrium with Freemotion.
(so maybe it does not make sense to use Freemotion with StaticEquilibrium 🤔 ?)
…based propagation
alxbilger
force-pushed
the
replacepropagation
branch
from
October 29, 2026 15:22
c031278 to
80d08d3
Compare
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.
Following the deprecation of the legacy propagation functions (#6312), they are replaced by a mapping-graph aware function, found in
DifferentialOperations.[with-all-tests]
Based on : #6375
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if