Dear all,
attached is a minimal example which demonstrates that the function
"extract_surface_mesh()" in the GridGenerator namespace
does not extract refined cells.
That is, it seems to work only for globally refined meshes.
There is a comment in the implementation of this function:
// Create boundary mesh and mapping
// from only level(0) cells of the volume mesh.
Since the documentation states nothing about the usage of this function for adaptively
refined meshes (like it is done in flatten_triangulation, for instance),
I am not sure whether this is desired behavior or not.
In my case, I probably do not need the full power of this function.
All I want to do is to "copy" the solution values on a surface of the volume mesh
to a surface mesh, and to associate a DoFHandler object to the surface mesh
that allows me to do further postprocessing.
So I do not care about the boundary and manifold id as well
as the return type, however, my volume mesh may contain hanging nodes.
Best regards,
Simon