Skip to content

Allocation free shapefunctions for GWP and Largange Spaces#204

Open
cmuenger wants to merge 6 commits into
krcools:masterfrom
cmuenger:gen_shapefun
Open

Allocation free shapefunctions for GWP and Largange Spaces#204
cmuenger wants to merge 6 commits into
krcools:masterfrom
cmuenger:gen_shapefun

Conversation

@cmuenger
Copy link
Copy Markdown

@cmuenger cmuenger commented May 18, 2026

  • Rework of shape function evaluation, avoiding allocation of a workspace during the evaluation of higher-order polynomials. (preparation for compatibility with GPU)
  • Unifying code for Lagrange global and local spaces into a single evaluation function for arbitrary order. (2D meshes/triangle only).

Breaking changes:

  • Indexing/ordering of global and local Lagrange functions of order 1 and 2. Now consistent with higher-order spaces.
  • By default, DoFs will be placed everywhere on the supplied mesh during the construction of the Lagrange space, if no restrictions are explicitly given by the user. No longer implicitly assumes the Dirichlet boundary condition on open meshes.

@cmuenger cmuenger changed the title @generated shapefunctions for GWP and Largange Spaces Allocation free shapefunctions for GWP and Largange Spaces May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant