Hello,
I am currently working with triangulations that do not have matching dim-spacedim. For instance a Triangulation<2,3>. For a specific calculation, I would need the normal vector of the cell of the triangulation (so the vector perpendicular to the current cell at the gauss points). Is there any function that would allow me to calculate this vector?
I have looked at the cellAcessor class and the GeometryInfo struct, but so far the majority of the content seems geared towards gathering the normal of the faces of a cell. In this case, I am interested in the normal of the cell itself, not its faces.
In case this is not readily accessible, would you have a suggestion on how to calculate it in an efficient manner? I am thinking that a cross product between two vectors of the cell would do the job, but I am afraid that this would not work for non Q1 mapping.
Thanks you very much :)!
Bruno