Skip to content

Add volume groups#292

Closed
majosm wants to merge 6 commits into
inducer:mainfrom
majosm:volume-groups
Closed

Add volume groups#292
majosm wants to merge 6 commits into
inducer:mainfrom
majosm:volume-groups

Conversation

@majosm
Copy link
Copy Markdown
Collaborator

@majosm majosm commented Jan 24, 2022

Taking another stab at region tagging, since #129 is way out of date. Still need to implement the mesh partitioning part.

Comment thread meshmode/mesh/__init__.py Outdated
# {{{ volume groups

@dataclass(frozen=True)
class VolumeGroup:
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
class VolumeGroup:
class TaggedElementSubgroup:

?
Or ElementSubgroup?

@majosm majosm force-pushed the volume-groups branch 2 times, most recently from d4f5130 to f8ee127 Compare April 6, 2022 04:01
@majosm
Copy link
Copy Markdown
Collaborator Author

majosm commented Apr 6, 2022

@inducer I tried both implementations of subgroups that we considered: stored in the mesh (296906d) and stored in the mesh group (e780479). Any preference between the two? I'm slightly leaning towards the latter.

@majosm
Copy link
Copy Markdown
Collaborator Author

majosm commented Apr 6, 2022

After thinking about this more (and finding some bugs in my implementation) I'm starting to wonder if it would be better to just have read_gmsh return the tag information separately. I'm going to take a stab at that and see how it looks.

@inducer
Copy link
Copy Markdown
Owner

inducer commented Apr 6, 2022

After thinking about this more (and finding some bugs in my implementation) I'm starting to wonder if it would be better to just have read_gmsh return the tag information separately. I'm going to take a stab at that and see how it looks.

I'm liking that idea.

@majosm
Copy link
Copy Markdown
Collaborator Author

majosm commented Apr 12, 2022

Superseded by #320.

@majosm majosm closed this Apr 12, 2022
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

Successfully merging this pull request may close these issues.

2 participants