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
Trees, but not cells get distributed in P4estMesh
?
#1329
Comments
I'll assign this to you as a mid-term goal. It's great that you found this issue! |
I think this issue may be caused by the fact that we use p4est with the This could be tested by setting |
Thanks, @lchristm! Could you please test this, @JoshuaLampert? It would also be great if you could check how many ranks get no cells |
You're right, @lchristm. Setting |
Thanks, @JoshuaLampert! Did AMR try to coarsen cells that were distributed across multiple cores in your tests? |
I am not quite sure how to check that. Can you give me a hint? |
You could test it with indicators that always want to coarsen the mesh, similar to https://github.com/trixi-framework/Trixi.jl/blob/main/examples/tree_2d_dgsem/elixir_advection_amr_coarsen_twice.jl |
Thanks, @ranocha. I ran this elixir for a |
Thanks a lot, @JoshuaLampert! @sloede What's your opinion - how shall we proceed? I expect there can be situations where both options for |
If I understand |
Okay - so we will leave everything as it is. Is this GitHub issue enough to document this or do you think we should discuss it somewhere else - maybe in the FAQ section of the docs at https://trixi-framework.github.io/Trixi.jl/stable/troubleshooting/? |
@JoshuaLampert a definitive test would be if you create a P4estMesh with 2x2 trees and ref level 1. This should give you 16 cells, right? If you now set |
I think it would be good to document this somewhere either in a docstring or the Trixi manual. |
A docstring isn't really an option since we don't expose this functionality (unless someone calls |
I did that and I get as expected initially
I will do that. |
Great! Thanks for confirming my mental model 🙂 Thus, I think this definitely settles it. IMHO once this is documented in Trixi.jl, we can close this issue. |
We should double-check that in a
P4estMesh
really the cells get distributed and not the trees. The issue came up in #1326 (comment).The text was updated successfully, but these errors were encountered: