I have a mesh that has been divided in two submeshes. For a given point, I need to determine which of the two submeshes the point belongs to. How can this be done in Fenics 1.3?
It appears that Mesh.h does not specify intersected_cell, which otherwise would have been useful. At least, the lines:
Point p(0.0,0.0,0.0);
int cid = cmesh.intersected_cell(p);
gave the compilation error:
main.cpp:592:25: error: ‘const class dolfin::Mesh’ has no member named ‘intersected_cell’