Coordinate calculation of the Ricci and Weyl tensors from a basis
> restart:
> grtw();
We load the bases.
> qload(mix1);
From the bases we calculate the metric components.
> grcalc(g(dn,dn,pdn),g(up,up),detg);
> gralter(_,6,7);
Component simplification of a GRTensorII object:
Applying routine expand to object g(dn,dn,pdn)
Applying routine expand to object g(up,up)
Applying routine expand to object detg
Applying routine factor to object g(dn,dn,pdn)
Applying routine factor to object g(up,up)
Applying routine factor to object detg
Though not needed for the following calculations, it is sometimes convenient to see the line element.
> grcalc(ds);
> grdisplay(_);
We now proceed to calculate the coordinate components of the Ricci and Weyl tensors.
> grcalc(Chr(dn,dn,up));
> gralter(_,6,7);
Component simplification of a GRTensorII object:
Applying routine expand to object Chr(dn,dn,up)
Applying routine factor to object Chr(dn,dn,up)
> grcalcalter(R(dn,dn),6);
Simplification will be applied during calculation.
Applying routine expand to object R(dn,dn)
> gralter(_,6,7);
Component simplification of a GRTensorII object:
Applying routine expand to object R(dn,dn)
Applying routine factor to object R(dn,dn)
> grmap(_,autoAlias,`x`);
Applying routine autoAlias to R(dn,dn)
Warning, alias or macro b[T] defined in terms of b
Warning, alias or macro a[T] defined in terms of a
Warning, alias or macro c[T] defined in terms of c
> grdisplay(_);
> grcalcalter(Ricciscalar,6);
Simplification will be applied during calculation.
Applying routine expand to object tRicciscalar
> gralter(_,6,7);
Component simplification of a GRTensorII object:
Applying routine expand to object Ricciscalar
Applying routine factor to object Ricciscalar
> grcalcalter(C(dn,dn,dn,dn),6);
Simplification will be applied during calculation.
Applying routine expand to object R(dn,dn,dn,dn)
Applying routine expand to object tRicciscalar
Applying routine expand to object C(dn,dn,dn,dn)
> gralter(_,6,7);
Component simplification of a GRTensorII object:
Applying routine expand to object C(dn,dn,dn,dn)
Applying routine factor to object C(dn,dn,dn,dn)
> grmap(_,autoAlias,`x`);
Applying routine autoAlias to C(dn,dn,dn,dn)
> grdisplay(_);
>