On 09/18/2017 06:38 AM, Bryukhanov Ilya wrote:

I solved the finite element task for the elasticity problem and obtained displacement fields. Then I did the same as has been done in the step-18 concerning accumulated stress data as mean stress for quadrature points. Now I need the function that returns the stress tensor for a given point.
How to find the cell in which given point lies?

You will want to use something like the VectorTools::point_gradient() function for what you want to do. You should take a look at its implementation to see how it works and how it finds a cell.

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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to