On 12/2/19 12:52 PM, Shahab Golshan wrote: > Thank you again for your help. I have another question. I want to find the > projection of a point on a face (the point on a face that has the closest > distance to the query point). I think the function: > project_real_point_to_unit_point_on_face should do this task, but I'm not > sure. Can someone help me on this?
The function is going to give you a point in the reference coordinate system of the face. If that's what you want, then that's the function you should call. Have you tried? As a general rule, it's often useful to start not using points in real space and transforming them back into the coordinate systems of cells and faces (which is very expensive), but by starting from points in the reference coordinate systems and transforming them forward into real space (cheap). This is, for example, how we define quadrature points. I don't know what you're trying to do, but it might be worthwhile thinking about alternative ways to achieve what you're looking for. Best W. -- ------------------------------------------------------------------------ Wolfgang Bangerth email: [email protected] www: http://www.math.colostate.edu/~bangerth/ -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/96993c49-a766-7073-85b6-55a85a922ce1%40colostate.edu.
