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

L2Projection does not work accurately for mixed grids #330

Closed
kimauth opened this issue Mar 19, 2021 · 4 comments
Closed

L2Projection does not work accurately for mixed grids #330

kimauth opened this issue Mar 19, 2021 · 4 comments

Comments

@kimauth
Copy link
Member

kimauth commented Mar 19, 2021

For mixed grids, the L2Projection can only handle one cell type at a time. So e.g. for a grid composed of triangular and quadrilateral elements, we can do a projection within the triangular elements and another (independent) projection within the quadrilateral elements. But if we have a field that lives on both element types, we would want to do one projection of the field onto all nodes. I'll leave this issue a reminder to implement that (and a warning in case someone uses it for mixed grids).

@termi-official
Copy link
Member

Just to discuss it here openly: Wouldn't it be benificial to solve this issue in another way, as we discussed earlier over zoom, i.e. by trying to provide a unified iteration interface over different types of elements (opposing the current state of separating the iteration over different types of elements)?

@kimauth
Copy link
Member Author

kimauth commented Mar 19, 2021

Possibly, but I would say that's rather a conceptual question how to handle mixed grids in general. (Or am I misunderstanding you?)

It is possible to fix the L2Projection of fields on mixed grids with the current approach (by the MixedDofHandler) - I just can't implement it right now, thus the reminder.

@fredrikekre
Copy link
Member

@kimauth this is resolved right?

@KnutAM
Copy link
Member

KnutAM commented Sep 27, 2024

#949

@KnutAM KnutAM closed this as completed Sep 27, 2024
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

4 participants