Open NBoulle opened 5 years ago
Apologies for the slow response. This problem occurs because for non-matching meshes like this, we use libsupermesh to find the intersection of cells. However, libsupermesh doesn't support this for interval meshes. On the other hand, it should be quite easy to write the code ourselves that computes the intersection in 1D.
I think one could write this extra code, if you would like to give it a go we can provide some guidance.
Another option, if you can get to your fine mesh by regularly refining the coarse one then you can make a MeshHierarchy
and then prolong
from one to the other.
I'm trying to project a function defined on a coarse mesh into a finer mesh but the following code fails.