[petsc-users] Doubt about mesh size distribution in DMDACreate3d using periodic boundary conditions
Barry Smith
bsmith at petsc.dev
Tue Nov 19 11:55:40 CST 2024
I modify src/dm/tests/ex25.c and always see a nice even split when possible with both DM_BOUNDARY_NONE and DM_BOUNDARY_PERIODIC
Can you please send a reproducible example?
Thanks
Barry
> On Nov 19, 2024, at 6:14 AM, MIGUEL MOLINOS PEREZ <mmolinos at us.es> wrote:
>
> Dear all:
>
> It seems that if I mesh a cubic domain with “DMDACreate3d” using 8 bricks for discretization and with periodic boundaries, each of the bricks has a different size. In contrast, if I use DM_BOUNDARY_NONE, all 8 bricks have the same size.
>
> I have used this together with the DMSWarm discretization. And as you can see the number of particles per rank is not evenly distributed:
> 210 420 366 732 420 840 732 1464
>
> Am I missing something?
>
> Thanks,
> Miguel
>
>
> <Screenshot 2024-11-19 at 10.56.36.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20241119/fb18227a/attachment-0001.html>
More information about the petsc-users
mailing list