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

Redesign periodic meshes #3240

Merged
merged 2 commits into from
Nov 29, 2023
Merged

Redesign periodic meshes #3240

merged 2 commits into from
Nov 29, 2023

Conversation

ksagiyam
Copy link
Contributor

@ksagiyam ksagiyam commented Nov 16, 2023

Depends on https://gitlab.com/petsc/petsc/-/merge_requests/7035 (merged and forks updated).

Make periodic meshes work just like regular meshes.

We construct a periodic mesh as in the following:

  • make a mesh with a periodic topology (with no partition overlap),
  • make the Firedrake DG coordinates,
  • convert the Firedrake DG coordinates to the DMPlex DG coordinates,
  • set the DMPlex DG coordinates in the underlying plex,
  • distribute, add overlap, refine, as needed,
  • convert the DMPlex DG coordinates to the Firedrake DG coordinates.

@ksagiyam ksagiyam force-pushed the ksagiyam/mh_for_periodic_meshes branch 4 times, most recently from d9d7597 to 6416fa5 Compare November 22, 2023 23:56
@ksagiyam ksagiyam marked this pull request as ready for review November 22, 2023 23:57
@ksagiyam ksagiyam force-pushed the ksagiyam/mh_for_periodic_meshes branch from 6416fa5 to 0fe6b61 Compare November 27, 2023 12:58
@dham dham merged commit beb7a5b into master Nov 29, 2023
@dham dham deleted the ksagiyam/mh_for_periodic_meshes branch November 29, 2023 17:05
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