Skip to content

[ODESolver.Forward] Support mapped masses in EulerExplicitSolver#6000

Open
alxbilger wants to merge 2 commits intosofa-framework:masterfrom
alxbilger:forwardeulermappedmass
Open

[ODESolver.Forward] Support mapped masses in EulerExplicitSolver#6000
alxbilger wants to merge 2 commits intosofa-framework:masterfrom
alxbilger:forwardeulermappedmass

Conversation

@alxbilger
Copy link
Contributor

@alxbilger alxbilger commented Mar 9, 2026

Based on #5991

Fixes #5999

Relevant commit: fdd47c0

[with-all-tests]


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

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@alxbilger alxbilger added pr: enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request labels Mar 9, 2026
@fredroy
Copy link
Contributor

fredroy commented Mar 11, 2026

[ci-build][with-all-tests]

@hugtalbot hugtalbot added the pr: highlighted in next release Highlight this contribution in the notes of the upcoming release label Mar 12, 2026
@sofabot
Copy link
Collaborator

sofabot commented Mar 13, 2026

[ci-depends-on] detected during build #4.

To unlock the merge button, you must

@fredroy fredroy force-pushed the forwardeulermappedmass branch from ea73dd7 to 697284e Compare March 17, 2026 06:37
Comment on lines +389 to +390
sofa::simulation::MappingGraph mappingGraph;
mappingGraph.build(params, this->getContext());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curiosity, is this something costly to do at every solve? or trivial?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not measured but I plan to cache it. Building the mapping graph should not be costly on a small scene graph. For example, the mapping graph is also built by the matrix assembly every time step.

Co-authored-by: Themis Skamagkis <70031729+th-skam@users.noreply.github.com>
@th-skam th-skam added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: enhancement About a possible enhancement pr: highlighted in next release Highlight this contribution in the notes of the upcoming release pr: status ready Approved a pull-request, ready to be squashed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Forward Euler solver does not support mapped masses

5 participants