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

Overwriting Restriction #1663

Open
jeremylt opened this issue Sep 12, 2024 · 2 comments
Open

Overwriting Restriction #1663

jeremylt opened this issue Sep 12, 2024 · 2 comments

Comments

@jeremylt
Copy link
Member

For some nodal operators such as the BC operators in Ratel (and I think level transfer operators for multigrid?), it would be convenient to have a way to apply a CeedElemRestriction in CEED_TRANSPOSE that overwrites instead of summing into the target vector. Lots of ways to approach it, and I'm pondering on which I prefer. Feel free to comment

@jrwrigh
Copy link
Collaborator

jrwrigh commented Sep 14, 2024

I kinda lean towards an MPI-esque naming scheme. Maybe a CeedElemRestrictionSetReduceMode()? Where the mode can either be ADD or REPLACE?

@jeremylt
Copy link
Member Author

ADD and INSERT would be my inclination, but yea, I like that approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants