Software for General Relativity

Click For Summary

Discussion Overview

The discussion revolves around the best software options for performing calculations in General Relativity (GR). Participants share their experiences and preferences regarding various software tools, including their strengths and weaknesses.

Discussion Character

  • Debate/contested
  • Technical explanation

Main Points Raised

  • One participant suggests GRTensor as a potential software for GR calculations.
  • Another participant argues that the term "best" is subjective and mentions using Maxima with ctensor as their primary tool, noting that both are free and open source.
  • A participant expresses a preference for GRTensor over Maxima but highlights issues with its built-in Christoffel symbols and the automatic simplification process, which can be challenging without proper assumptions.
  • Concerns are raised about GRTensor's compatibility with expensive proprietary systems like Maple and Mathematica, with one participant sharing their negative experience with Mathematica's licensing.
  • A suggestion is made to try Cadabra, which is noted to be free software.
  • Another participant mentions that Cadabra is focused on coordinate-independent calculations.

Areas of Agreement / Disagreement

Participants express differing opinions on the best software for GR calculations, with no consensus reached on a single preferred tool. Multiple competing views on software capabilities and limitations remain evident.

Contextual Notes

Some limitations are noted regarding GRTensor's functionality and its reliance on proprietary systems, as well as the specific focus of Cadabra on coordinate-independent calculations.

Worldline
Messages
23
Reaction score
0
What is the best software for GR calculations ? GRTensor ?
 
Last edited:
Physics news on Phys.org


"Best" is going to be subjective, and there is going to be different software for different tasks in GR. But my workhorse is maxima with ctensor. Both maxima and ctensor are free and open source.
 


I like GrTensor a lot better than Maxima. Though I can't swear that it isn't liking what I use. There are a few things to beware of with GrTensor - the built in Christofel symbols are a bit funky (just an index interchange, and you can define your own macro to fix it, but you could get caught easily if you didn't catch it.)

The biggest problem I find is getting things to simplify - the automatic simplification process seems a bit obtuse. It helps to give it "assumptions", which tell it how to make things under a square roo t positive. (It's not good at guessing that, and it matters to the sign of the result).

The latex output from GrTensor sometimes needs some rework when posting it to PF.

It's still incredibly powerful software.
 


pervect said:
I like GrTensor a lot better than Maxima.

Unfortunately GrTensor only works with expensive, proprietary computer algebra systems: Maple and Mathematica. An academic single-user license for Maple is $1200. I gave up on Mathematica back in the 90's when an operating system upgrade caused it to stop working on my machine, and Wolfram told me my only option was to buy a new copy.
 
Thank you for ur comments
 
I think cadabra is purely for coordinate-independent calculations.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 57 ·
2
Replies
57
Views
4K
  • · Replies 55 ·
2
Replies
55
Views
5K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 0 ·
Replies
0
Views
1K
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K