← Back to team overview

ffc team mailing list archive

4th order tensors

 

Hi,

I'd like to construct a 4th order Identity tensor. I am having some trouble trying to figure out if/how FFC handles tensors of higher order than 2. If anyone has successfully accomplished this, and would like to provide some guidance, it would be appreciated. Currently I am trying to hard-code in 81 terms and I am getting lost in the indices. A similar question would be how numpy handles arrays with more than two indices?

Thanks
Jake


Follow ups