Skip to content

[Framework] Apply template method design pattern to BaseForceField#5485

Open
hugtalbot wants to merge 20 commits intosofa-framework:masterfrom
hugtalbot:2025_sprintsed_BaseForceField
Open

[Framework] Apply template method design pattern to BaseForceField#5485
hugtalbot wants to merge 20 commits intosofa-framework:masterfrom
hugtalbot:2025_sprintsed_BaseForceField

Conversation

@hugtalbot
Copy link
Copy Markdown
Contributor

@hugtalbot hugtalbot commented May 15, 2025

Based on #5446

Functions

  • addForce
  • addDForce
  • addKToMatrix
  • addBToMatrix
  • buildStiffnessMatrix
  • buildDampingMatrix
  • getPotentialEnergy

[ci-depends-on https://github.com/sofa-framework/SofaSphFluid/pull/16]
[ci-depends-on https://github.com/sofa-framework/Registration/pull/27]
[ci-depends-on https://github.com/SofaDefrost/ModelOrderReduction/pull/162]
[ci-depends-on https://github.com/sofa-framework/BeamAdapter/pull/194]
[ci-depends-on https://github.com/SofaDefrost/SoftRobots/pull/330]
[ci-depends-on https://github.com/sofa-framework/SofaPython3/pull/500]


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).

@hugtalbot hugtalbot added pr: breaking Change possibly inducing a compilation error pr: status wip Development in the pull-request is still in progress refactoring Refactor code labels May 15, 2025
@bakpaul bakpaul added the pr: based on previous PR PR based on a previous PR, therefore to be merged ONLY subsequently label May 15, 2025
@sofabot
Copy link
Copy Markdown
Collaborator

sofabot commented Jan 6, 2026

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

To unlock the merge button, you must

@sofabot
Copy link
Copy Markdown
Collaborator

sofabot commented Jan 6, 2026

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

To unlock the merge button, you must

@sofabot
Copy link
Copy Markdown
Collaborator

sofabot commented Jan 6, 2026

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

To unlock the merge button, you must

@hugtalbot hugtalbot added pr: status to review To notify reviewers to review this pull-request and removed pr: status wip Development in the pull-request is still in progress labels Jan 6, 2026
@hugtalbot hugtalbot self-assigned this Jan 6, 2026
@hugtalbot
Copy link
Copy Markdown
Contributor Author

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

@sofabot
Copy link
Copy Markdown
Collaborator

sofabot commented Jan 6, 2026

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

To unlock the merge button, you must

@hugtalbot
Copy link
Copy Markdown
Contributor Author

I need to remember why all getPotentialEnergy are not covered
Same for some addForce/addDForce

@sofabot
Copy link
Copy Markdown
Collaborator

sofabot commented Apr 8, 2026

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

To unlock the merge button, you must

@hugtalbot hugtalbot added refactoring Refactor code and removed refactoring Refactor code labels Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: based on previous PR PR based on a previous PR, therefore to be merged ONLY subsequently pr: breaking Change possibly inducing a compilation error pr: highlighted in next release Highlight this contribution in the notes of the upcoming release pr: status to review To notify reviewers to review this pull-request refactoring Refactor code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants