changing CD to PD

61 views
Skip to first unread message

David Pirtskhalava

unread,
Aug 12, 2010, 9:03:12 PM8/12/10
to xAct Tensor Computer Algebra
Hi,

is there a way to change covariant derivatives to partial ones
everywhere in an expression?


thanks,

d

JMM

unread,
Aug 13, 2010, 9:34:36 AM8/13/10
to xAct Tensor Computer Algebra
Hi David,

>  is there a way to change covariant derivatives to partial ones
> everywhere in an expression?

Do you mean a brute force replacement like this?

expr /. CD->PD

If the change involves Christoffels then the proper command is of
course ChangeCovD (also accepted with its former name
CovDToChristoffel).

Let me know if I'm misinterpreting your question.

Cheers,
Jose.

David Pirtskhalava

unread,
Aug 20, 2010, 11:30:53 PM8/20/10
to xAct Tensor Computer Algebra
Hi Jose,

Yes, I meant just the brute force replacement. I just wanted the
derivatives to commute on the flat background (sometimes it gives
error messages like "Detected metric-incompatible derivatives", but it
still works perfectly). Thank you very much!
Reply all
Reply to author
Forward
0 new messages