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

Unsigned element restriction for correct operator diagonal assembly #1196

Merged
merged 6 commits into from
Apr 27, 2023

Conversation

sebastiangrimberg
Copy link
Collaborator

@sebastiangrimberg sebastiangrimberg commented Apr 17, 2023

This PR attempts to resolve #1195 for an element restriction constructed using CeedElemRestrictionCreateOriented, and adds a test for H(div) mass from this branch (thank you @rezgarshakeri)

Correctly handling #1168 is more complicated and likely should only allow for approximate diagonal assembly using this same CeedElemRestrictionApplyUnsigned approach. This is the same strategy used, for example, in MFEM for parallel non-conforming meshes where the P matrix has a form more complicated than being a simple mapping of local dof to parallel true dof.

@sebastiangrimberg sebastiangrimberg changed the title Unsigned element restriction for correct operator diagonal assembly WIP: Unsigned element restriction for correct operator diagonal assembly Apr 17, 2023
@sebastiangrimberg sebastiangrimberg marked this pull request as draft April 17, 2023 23:35
@sebastiangrimberg sebastiangrimberg changed the title WIP: Unsigned element restriction for correct operator diagonal assembly Unsigned element restriction for correct operator diagonal assembly Apr 18, 2023
@sebastiangrimberg sebastiangrimberg marked this pull request as ready for review April 18, 2023 00:16
Copy link
Member

@jeremylt jeremylt left a comment

Choose a reason for hiding this comment

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

LGTM

@sebastiangrimberg sebastiangrimberg merged commit 4b7c8c0 into CEED:main Apr 27, 2023
22 checks passed
@sebastiangrimberg sebastiangrimberg deleted the sjg/unsigned-restr-dev branch April 27, 2023 20:17
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.

Operator diagonal assembly after #889
2 participants