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

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to