[petsc-users] DMPlex and Boundary facets

Lawrence Mitchell wence at gmx.li
Wed May 19 09:00:22 CDT 2021



> On 19 May 2021, at 14:57, Karin&NiKo <niko.karin at gmail.com> wrote:
> 
> Thank you very much Lawrence.
> Are the names lost or are they saved somewhere ?
> If I do : "./ex2 -filename /tmp/test/Cube_with_facets.msh4 -dm_view vtk:/tmp/foo.vtk" , I only get the tets of the initial mesh.

I believe that the mapping of names to integer labels is not maintained in the loading process (you mean this bit, right?):

$PhysicalNames
7
2 1 "Surf1"
2 2 "Surf2"
2 3 "Encast"
2 4 "Press"
2 5 "Surf5"
2 6 "Surf6"
3 7 "Vol"
$EndPhysicalNames

I don't know enough (anything) about the VTK output to know what is output for viz.

Lawrence


More information about the petsc-users mailing list