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

Multiple boundary tags in meshmode export #186

Open
wence- opened this issue May 18, 2021 · 3 comments
Open

Multiple boundary tags in meshmode export #186

wence- opened this issue May 18, 2021 · 3 comments
Assignees

Comments

@wence-
Copy link

wence- commented May 18, 2021

.. warning::
Currently, no custom boundary tags are exported along with the mesh.
:mod:`firedrake` seems to only allow one marker on each facet, whereas
:mod:`meshmode` allows many.

FWIW, since firedrakeproject/firedrake#2007 entities can be marked with multiple tags and it all works. After building the plex, create a "Face Sets" label (or if you don't like that literal, a firedrake.cython.dmcommon.FACE_SETS_LABEL) (or CELL_SETS_LABEL for cells) and mark the points.

@inducer
Copy link
Owner

inducer commented May 19, 2021

cc @benSepanski

@wence- Thanks for the heads-up!

@benSepanski benSepanski self-assigned this May 20, 2021
@benSepanski
Copy link
Collaborator

The examples in utility meshes seem to only tag each face label with one tag (e.g. plex.setLabelValue(FACE_SETS_LABEL, face_id, label_id)). Are there any examples of tagging with multiple tags?

@wence-
Copy link
Author

wence- commented May 27, 2021

I don't think so. You can make a gmsh mesh that does multiple tags. Or just copy one of those functions and do multiple marking.

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

3 participants