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_ghost performance #69

Open
gouarin opened this issue Apr 11, 2023 · 0 comments
Open

update_ghost performance #69

gouarin opened this issue Apr 11, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@gouarin
Copy link
Contributor

gouarin commented Apr 11, 2023

By default, the function update_ghost updates all the ghosts defined in the mesh (AMR or MRA). When you compute the new solution using a time scheme, for example, only the ghosts used by the spatial scheme need to be updated. The ghosts used to adapt the mesh are not needed.

Then, the cost can be considerably reduced if you only update the right ghosts.

@gouarin gouarin added the good first issue Good for newcomers label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant