Hello,
I use a Meshfunction
to define various interfaces inside a mesh
(labeled from 1 to 4) :
my_facets_meshfunction = MeshFunction("size_t", mesh, "my_facet_region.xml")
(where geometry in .xml file is defined and generated with gmsh)
I can use it to define boundary conditions, for example if label 1
corresponds to an exterior set of facets on which I want to impose a displacement :
V = FunctionSpace(mesh, "Lagrange", 1)
bc = DirichletBC(V, Constant(0.0), my_facets_meshfunction, 1)
Now, for some post-processing, I want to obtain the list of coordinates along a given set of my_facets_meshfunction
(for instance defined with label 4
, so I can follow the evolution along an interface), has someone an idea of how I can do it ?
Many thanks in advance !