Docomposed mesh visualization


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?


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.