Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] BaseMapping: link mapConstraints to the "meta-alias" isMechanical #4360

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

fredroy
Copy link
Contributor

@fredroy fredroy commented Dec 14, 2023

setMechanical() and isMechanical() use the boolean states of forces, masses and constraints.
But the "meta-alias"(?) isMechanical only link forces and masses. So it would make sense to add constraints 🤔

Avoid cases like fredroy/BeamAdapter@58b3db1


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

@fredroy fredroy added enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request labels Dec 14, 2023
@fredroy
Copy link
Contributor Author

fredroy commented Dec 14, 2023

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

@hugtalbot hugtalbot 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 Dec 20, 2023
@epernod epernod force-pushed the mapping_is_mechanical branch from 2274b37 to 44b2d1e Compare December 21, 2023 00:27
@epernod epernod merged commit 7a56c19 into sofa-framework:master Dec 21, 2023
2 of 3 checks passed
@fredroy fredroy deleted the mapping_is_mechanical branch January 7, 2024 23:40
@hugtalbot hugtalbot added pr: backport todo This PR will be backported into the release preceeding its milestone. and removed pr: backport todo This PR will be backported into the release preceeding its milestone. labels Jan 10, 2024
@hugtalbot hugtalbot added this to the v24.06 milestone Jan 10, 2024
hugtalbot pushed a commit to hugtalbot/sofa that referenced this pull request Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement About a possible enhancement pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants