Wolfgang,
Thanks, this is exactly what I needed at exactly the right place...
I feel slightly dumb right now not having found it :(
Thanks for the quick answer.
Bruno

On Monday, 18 November 2019 12:27:44 UTC-5, Wolfgang Bangerth wrote:
>
>
> 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:                 bang...@colostate.edu 
> <javascript:> 
>                             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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/d8b25a63-f34d-4172-ba04-37f6649925ae%40googlegroups.com.

Reply via email to