Dear all,
I'm trying to evaluate the solution of face elements (FE_FaceQ) at specific points on a face. For uniformly refined meshes the following works perfectly (as far as I can tell)
std::vector<Vector<double>> result_values (1, Vector<double>(1));
const Point<dim - 1> punit_face = StaticMappingQ1<dim, dim>::mapping
.project_real_point_to_unit_point_on_face(cell, face_id, point);
Quadrature<dim - 1> quadrature(punit_face);
FEFaceValues<dim> fe_v(fe, quadrature, update_values);
fe_v.reinit(cell, face_id);
fe_v.get_function_values(solution, result_values);
However when I refine some cells on the grid it seems to give wrong results for the cells around the hanging nodes. In specific it seems to be incorrect when cell is the coarse cell.
So the question, does the previous code work with non uniformly refined meshes? If not is there a way to adapt it to make it work?
Regards,
Lars