Bug Report: CTensor SetCMetric error when using xPrint

32 views
Skip to first unread message

BillN

unread,
Mar 16, 2018, 1:28:07 PM3/16/18
to xAct Tensor Computer Algebra
Hi,

SetCMetric will not work when xPrint is loaded instead of just xCoba.  Attached are two identical notebooks, except one loads just xCoba, and the other loads xPrint instead (which of course includes xCoba).  The CTensor example in these notebooks comes right out of the new xCobaDoc.nb notebook, which is defining a manifold, a polar coordinate chart in same, a Schwartzschild metric, and finally using SetCMetric for this metric.  Everything is runs identically in the two notebooks until the last SetCMetric step, with the "plain" xCoba one evaluating without error, but the xPrint one throwing error messages and not evaluating.

Sorry for the bad news.  xPrint runs beautifully when using just abstract xTensor expressions in a (rather complicated) parallel evaluation based bimetric gravitation boilerplate I'm developing.

I'm using a freshly installed xAct version 1.1.3, {2018,2,28} (complete xAct package installed today 3/16/2018 after the most recent change), with the latest xPrint version (1.48) installed after xAct.  Running MMA 11.2 Home on a Windows10 Pro PC.

Regards,
Bill
CTensor test without xPrint.nb
CTensor test with xPrint.nb

magma

unread,
Mar 18, 2018, 6:45:33 AM3/18/18
to xAct Tensor Computer Algebra
Thank you for your report Bill.

xPrint 1.48 does not support the CTensor framework.
It does work with the TensorValues framework though.

Anyway, version 1.60 (to be released soon) works fine with your example and supports  CTensor framework too.

 xPrint 1.60 beta is available upon request and has been sent to Bill.

Cheers,
Alessandro


Reply all
Reply to author
Forward
0 new messages