Skip to content

Typical Workflow

akwilson19 edited this page Jul 31, 2019 · 12 revisions

The most common workflow for GRTensorIII is:

  1. Load the GRTensorIII package
  2. Specify or load a spacetime
  3. Calculate tensors or scalars of interest, alter and display

From this point users may opt to define new tensors/scalars and repeat step 3 above. They may also elect to apply other Maple functions to the results they have calculated.

The commands to accomplish these steps are provided in explanations below:

1) Load the GRTensorIII package

See the instructions in Download and Setup for details on libname/path setup.

This is done using with(grtensor);

2) Specify (or load) a spacetime

Typically a spacetime will be defined at the beginning of the worksheet by using the spacetime() command. See Input of Spacetimes. This has the advantage of making the spacetime definition explicit and ensuring that the worksheet is self-contained and portable.

Spacetime metrics can be saved to files with grsaveg() and loaded with grload() if desired.

3) Calculate tensors or scalars of interest, alter and display

The commands commonly used for calculating, altering and displaying objects of interest are grcalc(), gralter() and grdisplay(). It is common to want to calculate and display, or to alter and display; this can be done with grcalcd() and gralterd().

For a list of common objects see Calculating Components. For a complete list, the Maple help page can be accessed by typing ?grt_objects in a Maple worksheet. This provides a list of help objects.