Skip to content

[Bindings] Add bindings for the element rotations of CorotationalFEMForceField - #649

Open
th-skam wants to merge 2 commits into
sofa-framework:masterfrom
th-skam:bindings_rotations
Open

th-skam wants to merge 2 commits into
sofa-framework:masterfrom
th-skam:bindings_rotations

Conversation

@th-skam

@th-skam th-skam commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +52 to +54
for (const auto& rotation : rotations)
out = std::copy_n(rotation.ptr(), dim * dim, out);
return result;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Let's see if we can avoid copy

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants