Great, thank you for that!
I am going through the thread and I have a few questions:
- How can I tell if my mesh has triangles or tetrahedrons? I assume it is something on the gmsh creation?
- I use the
create_mesh
function presented here. Is there any way I can get the mesh node coordinates? - Why do we need two xdmf filesL the triangle and the facet (cell type=lines)?
- It is not clear to me how I can read the mesh and use the markers I made in gmsh in order to add boundary conditions. Later, I will need to add a sudbomain in my mesh and problem, so I think that will answer my future question too.
Many thanks!