Skip to content

[Core] Rename BaseMechanicalState to BaseVectorState - #6446

Open
alxbilger wants to merge 1 commit into
sofa-framework:masterfrom
alxbilger:basevectorstate
Open

alxbilger wants to merge 1 commit into
sofa-framework:masterfrom
alxbilger:basevectorstate

Conversation

@alxbilger

Copy link
Copy Markdown
Contributor

Based on the content of the class, there is no reason that BaseMechanicalState requires to be named after mechanics. It is more an interface for the manipulation of vectors. That is why I suggest to rename it BaseVectorState.

This PR keeps the symbol BaseMechanicalState as an alias to BaseVectorState. I did not add the deprecation of the symbol and the header. It will come in another PR, when this one is validated.


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: status to review To notify reviewers to review this pull-request pr: refactoring Refactor code pr: clean Cleaning the code labels Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: clean Cleaning the code pr: refactoring Refactor code pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant