[petsc-users] Doubt about mesh size distribution in DMDACreate3d using periodic boundary conditions

MIGUEL MOLINOS PEREZ mmolinos at us.es
Tue Nov 19 05:14:33 CST 2024


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


[cid:534265d3-3f18-41cd-8006-539cb06751f9 at eurprd01.prod.exchangelabs.com]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20241119/6292514b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2024-11-19 at 10.56.36.png
Type: image/png
Size: 233037 bytes
Desc: Screenshot 2024-11-19 at 10.56.36.png
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20241119/6292514b/attachment-0001.png>


More information about the petsc-users mailing list