Skip to content

[Mapping] Fix shape function and equation ID evaluation for high-order NURBS in Nearest Element Mapper#14249

Merged
juancamarotti merged 2 commits into
masterfrom
mapping/solve_bug_nearest_element_iga
Mar 4, 2026
Merged

[Mapping] Fix shape function and equation ID evaluation for high-order NURBS in Nearest Element Mapper#14249
juancamarotti merged 2 commits into
masterfrom
mapping/solve_bug_nearest_element_iga

Conversation

@juancamarotti
Copy link
Copy Markdown
Contributor

Summary

This PR fixes an issue in the IGA–FEM Nearest Element Mapper related to the evaluation of shape functions and the corresponding equation IDs when using NURBS surfaces with polynomial degree p > 2, inside projection_utilities.cpp.

The bug led to incorrect local support handling in the projection utilities, which resulted in:

  • Wrong shape function evaluation
  • Incorrect equation ID assembly

@juancamarotti juancamarotti requested a review from a team as a code owner March 3, 2026 11:03
@juancamarotti juancamarotti self-assigned this Mar 3, 2026
@juancamarotti juancamarotti added C++ FastPR This Pr is simple and / or has been already tested and the revision should be fast Bugfix Mapping labels Mar 3, 2026
@loumalouomega
Copy link
Copy Markdown
Member

Okay from my side

philbucher
philbucher previously approved these changes Mar 3, 2026
Copy link
Copy Markdown
Member

@philbucher philbucher left a comment

Choose a reason for hiding this comment

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

I suggest to add a unittest for this

@juancamarotti
Copy link
Copy Markdown
Contributor Author

I suggest to add a unittest for this

I added the test now. Thanks for the help :)

@juancamarotti juancamarotti merged commit ab1709e into master Mar 4, 2026
10 checks passed
@juancamarotti juancamarotti deleted the mapping/solve_bug_nearest_element_iga branch March 4, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugfix C++ FastPR This Pr is simple and / or has been already tested and the revision should be fast Mapping

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants