Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocked quadrature elements #896

Open
garth-wells opened this issue Jan 15, 2025 · 0 comments
Open

Blocked quadrature elements #896

garth-wells opened this issue Jan 15, 2025 · 0 comments

Comments

@garth-wells
Copy link
Member

basix.ufl has functions for creating 'quadrature elements' and 'blocked elements'.

  • Blocked elements are typically 'stacked' Lagrange elements, e.g. to build a vector Lagrange element with three components. The shape is set by passing a shape argument to basix.ufl.blocked_element.
  • Quadrature elements are pseudo elements that support Functions that can be evaluated only at specific points. The shape is set by passing a shape argument to basix.ufl.quadrature_element.

A quirk is that blocked elements with a non-trivial shape have sub-elements, which allows components to be extracted, but 'blocked' quadrature elements don't. Could this be made consistent?

@mscroggs

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

No branches or pull requests

1 participant