What is the first and second index of the gradient tensor

24 views
Skip to first unread message

yuesu jin

unread,
Sep 7, 2020, 8:22:01 PM9/7/20
to deal.II User Group
Dear all,
  I want to contract the gradient tensor with another vector, such as T_ij*n_j, the gradient tensor is d_j u_i (d is the partial differential operator). I am wondering what is the first index of gradient tensor, i or j? Thank you !
Best regards,
Yuesu  

--
Yuesu Jin,
Ph.D student,
University of Houston,
College of Natural Sciences and Mathematics,
Department of Earth and Atmospheric Sciences,
Houston, Texas 77204-5008


Wolfgang Bangerth

unread,
Sep 8, 2020, 12:00:27 AM9/8/20
to dea...@googlegroups.com
On 9/7/20 6:21 PM, yuesu jin wrote:
>   I want to contract the gradient tensor with another vector, such as
> T_ij*n_j, the gradient tensor is d_j u_i (d is the partial differential
> operator). I am wondering what is the first index of gradient tensor, i or j?

I believe it is
T_ij = d_j u_i
I know I documented this somewhere (maybe in FEValues::gradient() or
FEValuesView::Vector::gradient) but if you can't find it, it would be nice if
you could just try out and maybe suggest a place where this should be documented.

Best
W.


--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

yuesu jin

unread,
Sep 8, 2020, 12:18:54 AM9/8/20
to deal.II User Group
Dear Dr.Bangerth,
  I found it just before, it is on  the page of FEValuesView (https://www.dealii.org/current/doxygen/deal.II/classFEValuesViews_1_1Vector.html). Thank you very much!
Best regards,
Yuesu

--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/5074e87b-889e-5c44-77e6-62fcfc1be1da%40colostate.edu.
Reply all
Reply to author
Forward
0 new messages