On 8/1/21 12:05 PM, Michael Lee wrote:
fe_face_values.*get_function_gradients *returns a rank 2 tensor as the solution is the displacement vector.

No, it returns a vector of Tensor<1,dim> objects. If you want the gradients of the displacement vector, you need
  fe_face_values[displacements].get_function_gradients(...);
i.e., you need to use an extractor in [square brackets].

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/7f5cf2f6-0ee7-0462-27ef-3122c4cdb3bf%40colostate.edu.

Reply via email to