Skip to content

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

Open
juancamarotti wants to merge 1 commit intomasterfrom
mapping/solve_bug_nearest_element_iga
Open

[Mapping] Fix shape function and equation ID evaluation for high-order NURBS in Nearest Element Mapper#14249
juancamarotti wants to merge 1 commit intomasterfrom
mapping/solve_bug_nearest_element_iga

Conversation

@juancamarotti
Copy link
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
Member

Okay from my side

Copy link
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

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