-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix voloctree volume mapper #443
Conversation
It's not much about the check (we can leave it as it is now), but having the discrepancy |
Yes, you're right, for this reason it makes sense. For the check I would keep for clarity the num octants or analogous. |
88b7135
to
238b763
Compare
I splitted the algorithm filling the list of mapped octants to be sent to the reference mesh in 2 parts to make it more readable. |
0b23652
to
ad8664d
Compare
I renamed "first_overlap_ref_idx" in "first_overlap_map_idx". |
It should be cleaner now, do you agree? |
I put this pull in draft. Further tests show problems in the splitted algorithm. At b59ef91 the algorithm works fine. |
I don't see the latest changes, can you check if you have uploaded them? |
5af6de8
to
cb1685d
Compare
As much as I could test it, it seems to work now. |
cb1685d
to
e6e0e11
Compare
In the _recoverPartition method of the voloctree volume mapper, particularly within the algorithm responsible for constructing the list of rank-local mapped mesh octants intended for transmission to the overlapping ranks of the reference mesh, there was an oversight in correctly re-initializing the mapped mesh octant Morton code within the main loop.
Furthermore, a critical check was absent to halt the loop from inserting mapped mesh octants into the list once the mapped mesh rank reaches its final element.