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

feature: Internal Mesh Generator with regions specified from table #3429

Draft
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

rrsettgast
Copy link
Member

This PR allows the InternalMeshGenerator to use a TableFunction in order to specify regions. The approach is as follows, but the details are up for discussion:

  • The internal mesh generator can use a table of integers that correspond to region indices to specify what cells are in what regions.
  • The concept of CellBlock remains, and is still used to specify CellBlockSubRegion inside a Region.
  • The TableFunction be specified at in either the ElementRegions xml block (which corresponds indirectly with the ElementRegionManager) or in the InternalMeshGenerator block.

Tasks:

  • Implement mechanism to use TableFunction to specify regions.
  • Determine location of the TableFunction name. ElementRegions vs InternalMeshGenerator. Implement the input.
  • Error checking for the table. What if the extents of the TableFunction are insufficient for the mesh? etc...
  • Unit tests
  • Integrated tests

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