Bruno,

> 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.

Yes, you're looking at the wrong place. I bet you need this at the 
quadrature points, and there the place to look is the FEValues class. It 
has a member normal() that does what you need when you use it via an 
FEValues (rather than FEFaceValues) object:

https://www.dealii.org/current/doxygen/deal.II/classFEValuesBase.html#ac25ec6835799c3b6c7c842f8acb05eb3

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/2dfc5c28-1d6b-a7f6-dcd9-eeec37f98454%40colostate.edu.

Reply via email to