Tensors and covariant/contravariant indices

Tensors and covariant/contravariant indices - Manipulating tensors - Messages

#1 Posted: 4/5/2024 12:11:24 PM
Kerry Hinton

Kerry Hinton

0 likes in 5 posts.

Group: User

I am seeking any assistance on how to implement tensor manipulation in SMath. I wish to create rank-4 tensors as well as raise, lower, contract and coordinate transform rank-3 and rank-4 tensors. Any advice or suggestions would be greatly appreciated.
Thanks
Kerry Hinton
#2 Posted: 4/6/2024 7:12:03 AM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Hi,
Maybe this file can help you with the implementation of tensors of rank-3 and rank-4 on SMath:


Tensors-Rank3-Rank4.sm (143 KiB) downloaded 30 time(s).

Oscar
1 users liked this post
sergio 4/6/2024 6:27:00 PM
#3 Posted: 4/6/2024 7:57:01 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Here is an update of previous file.
Now a couple of functions for create r3 and r4 tensors were added and also functions for assign values to elements on a tensor.

enjoy!

Tensors-Rank3-Rank4 6abr2024.sm (177 KiB) downloaded 54 time(s).
1 users liked this post
sergio 4/7/2024 10:15:00 PM
  • New Posts New Posts
  • No New Posts No New Posts