Skip to content

[FEM] TetrahedralCorotationalFEMForceField fix stream functions#6128

Open
Lucas-TJ wants to merge 5 commits into
sofa-framework:masterfrom
Lucas-TJ:TetrahedralCorotationalFEMForceField_fix_stream_functions
Open

[FEM] TetrahedralCorotationalFEMForceField fix stream functions#6128
Lucas-TJ wants to merge 5 commits into
sofa-framework:masterfrom
Lucas-TJ:TetrahedralCorotationalFEMForceField_fix_stream_functions

Conversation

@Lucas-TJ
Copy link
Copy Markdown

@Lucas-TJ Lucas-TJ commented May 27, 2026

Hello !

For my project, I want to save and load data from components. In TetrahedralCorotationalFEMForceField, I had a problem with the data " tetrahedronInfo" : this data contained no value, but this is necessary to load correctly.

So, in this PR, I fix the Output stream and Input stream functions from TetrahedralCorotationalFEMForceField.

For example,
Without this PR :
Screenshot from 2026-05-27 14-41-27

With this PR :
Screenshot from 2026-05-27 14-41-20

Now, I can save and load the component TetrahedralCorotationalFEMForceField.

Thank you !

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

@fredroy fredroy added pr: fix Fix a bug pr: status to review To notify reviewers to review this pull-request labels May 27, 2026
@fredroy
Copy link
Copy Markdown
Contributor

fredroy commented May 27, 2026

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

@alxbilger
Copy link
Copy Markdown
Contributor

Could you add a test checking that you can read something that you saved, and that it matches?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: fix Fix a bug 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.

3 participants