In theory, all the information should be there, if you use refine()
to refine your mesh in parallel, (set redistribute=False
). There is some mesh data,
mesh.data().array("parent_cell", mesh.topology().dim()
which will give you the parent cell index for each cell. It should be possible to use that to
get the values you need.
Note that the other way, interpolate from parent to child, will now work in master branch.