Docomposed mesh visualization

Hello,

I need to visualize my 3D mesh that is decomposed to n subdomains in a single image, purpose is to show construction of subdomains, I used ‘medit(“Th”+mpirank, MThi);’ but it shows each subdomain separately. how can I show them all in once like in different colors attached together?

Thanks.

It is possible (see e.g. FreeFEM-tutorial-public/meditMPI.idp at master · fotios-kasolis/FreeFEM-tutorial-public · GitHub), but I would advise you to simply use savevtk (example: FreeFem-sources/laplace-adapt-dist-3d-PETSc.edp at master · FreeFem/FreeFem-sources · GitHub) and visualize with paraview.

1 Like