Ask Your Question
0

set_calc_order in sagemanifold

asked 0 years ago

Karl007 gravatar image

HI,

I noticed that the command

g.set_calc_order( p , n)

with p an expansion parameter and n the order has no effect on calculating the inverse metric, the determinant, the hodge_dual, it does work on things like the Ricci tensor or Ricci scalar.

I would like to ask why this is the case and if and how this can be changed such that the hodge_dual , inverse etc.. is also calculated only to the given order. I know that I could apply the truncate method, but that takes insanely long (longer than the computation without truncation)

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 0 years ago

eric_g gravatar image

These functionalities are not implemented yet, except for the first order computation of the inverse metric, which is performed via

g.inverse(expansion_symbol=epsilon, order=1)

I agree with you that the finite order computations of the metric determinant and the Hodge dual are missing and should be implemented. Any volunteer? If you would like to implement this by yourself, please take a look at https://sagemanifolds.obspm.fr/contri...

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 0 years ago

Seen: 56 times

Last updated: May 03