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

Update coordinates if r-adaptation #146

Open
jwallwork23 opened this issue Sep 12, 2024 · 2 comments
Open

Update coordinates if r-adaptation #146

jwallwork23 opened this issue Sep 12, 2024 · 2 comments
Assignees
Labels
optimisation An opportunity to optimise performance

Comments

@jwallwork23
Copy link
Member

If both the dm_plex_metric_no_insert and dm_plex_metric_no_swap options are set then [Par]Mmg will only apply $r$-adaptation (mesh movement). In that case the output mesh will have the same topology as the input mesh so we could just update the coordinates of the input mesh rather than creating a new one.

@jwallwork23 jwallwork23 added the optimisation An opportunity to optimise performance label Sep 12, 2024
@jwallwork23 jwallwork23 changed the title Update coordinates if $r$-adaptation Update coordinates if r-adaptation Sep 12, 2024
@ddundo ddundo self-assigned this Sep 12, 2024
@ddundo
Copy link
Member

ddundo commented Sep 12, 2024

@jwallwork23 would it make sense to do this in animate instead of goalie? Perhaps we could have animate.adapt.adapt accept a kwarg for it

@jwallwork23
Copy link
Member Author

Oops I meant to open this in Animate indeed, will move it now. Thanks @ddundo.

@jwallwork23 jwallwork23 transferred this issue from mesh-adaptation/goalie Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimisation An opportunity to optimise performance
Projects
Development

No branches or pull requests

2 participants