atlas[Riemann] - calculation of Riemannian tensor
atlas[Ricci] - calculation of Ricci tensor
atlas[RicciScalar] - calculation of Ricci scalar
Calling Sequence:
Riemann(Id)
Ricci(Id)
RicciScalar(Id)
Parameters:
Id - variable - corresponding identifier
Description:
- The Riemann procedure allows one to calculate the curvature tensor. The procedure is only available if the curvature 2-forms have been calculated (see atlas[Curvature]).
- The Ricci procedure allows one to calculate the Ricci tensor. The procedure is only available if the curvature 2-forms (see atlas[Curvature]) have been calculated.
- The RicciScalar procedure allows one to calculate the Ricci scalar. The procedure is only available if the metric tensor is definite (see atlas[Metric]) and the Ricci tensor has been calculated.
Examples:
3-dimensional sphere
Declare forms:
![{xi, e[j]}](Maple/atlas/help/images/Riemann_1.gif) | (2.1.1) |
Declare vectors:
![{X, Y, Z, E[j]}](Maple/atlas/help/images/Riemann_2.gif) | (2.1.2) |
Declare constant
:
Constants(lambda);
 | (2.1.3) |
Declare coframe:
Coframe(e[1]=2*d(x)/(1+lambda*(x^2+y^2+z^2)),e[2]=2*d(y)/(1+lambda*(x^2+y^2+z^2)),e[3]=2*d(z)/(1+lambda*(x^2+y^2+z^2)));
![[e[1] = `+`(`/`(`*`(2, `*`(d(x))), `*`(`+`(1, `*`(lambda, `*`(`+`(`*`(`^`(x, 2)), `*`(`^`(y, 2)), `*`(`^`(z, 2))))))))), e[2] = `+`(`/`(`*`(2, `*`(d(y))), `*`(`+`(1, `*`(lambda, `*`(`+`(`*`(`^`(x, 2))...](Maple/atlas/help/images/Riemann_5.gif)
![[e[1] = `+`(`/`(`*`(2, `*`(d(x))), `*`(`+`(1, `*`(lambda, `*`(`+`(`*`(`^`(x, 2)), `*`(`^`(y, 2)), `*`(`^`(z, 2))))))))), e[2] = `+`(`/`(`*`(2, `*`(d(y))), `*`(`+`(1, `*`(lambda, `*`(`+`(`*`(`^`(x, 2))...](Maple/atlas/help/images/Riemann_6.gif) | (2.1.4) |
Declare frame:
Frame(E[i]);
![`+`(`*`(`/`(1, 2), `*`(e[1])), `*`(`/`(1, 2), `*`(e[1], `*`(lambda, `*`(`^`(x, 2))))), `*`(`/`(1, 2), `*`(e[1], `*`(lambda, `*`(`^`(y, 2))))), `*`(`/`(1, 2), `*`(e[1], `*`(lambda, `*`(`^`(z, 2))))))](Maple/atlas/help/images/Riemann_10.gif) | (2.1.6) |
Declare metric on
(see atlas[Metric]):
Metric(g=e[1]&.e[1]+e[2]&.e[2]+e[3]&.e[3]);
![g = `+`(`&.`(e[1], e[1]), `&.`(e[2], e[2]), `&.`(e[3], e[3]))](Maple/atlas/help/images/Riemann_12.gif) | (2.1.7) |
Connection calculation:
![omega[i, j]](Maple/atlas/help/images/Riemann_13.gif) | (2.1.8) |
Curvature calculation:
![Omega[i, j]](Maple/atlas/help/images/Riemann_14.gif) | (2.1.9) |
Riemannian tensor calculation:
Ricci tensor calculation:
![r = `+`(`*`(2, `*`(lambda, `*`(`&.`(e[1], e[1])))), `*`(2, `*`(lambda, `*`(`&.`(e[2], e[2])))), `*`(2, `*`(lambda, `*`(`&.`(e[3], e[3])))))](Maple/atlas/help/images/Riemann_18.gif) | (2.1.11) |
Ricci scalar calculation:
 | (2.1.12) |
Example 2
Declare forms:
![{xi, e[j]}](Maple/atlas/help/images/Riemann_20.gif) | (2.2.1) |
Declare vectors:
![{X, Y, Z, E[j]}](Maple/atlas/help/images/Riemann_21.gif) | (2.2.2) |
Declare coframe:
Coframe(e[1]=x*d(x)+y*d(y),e[2]=x*d(y)-y*d(x));
![[e[1] = `+`(`*`(x, `*`(d(x))), `*`(y, `*`(d(y)))), e[2] = `+`(`*`(x, `*`(d(y))), `-`(`*`(y, `*`(d(x)))))]](Maple/atlas/help/images/Riemann_22.gif) | (2.2.3) |
Declare frame:
Frame(E[i]);
![[E[1] = `+`(`/`(`*`(x, `*`(Diff(``, x))), `*`(`+`(`*`(`^`(x, 2)), `*`(`^`(y, 2))))), `/`(`*`(y, `*`(Diff(``, y))), `*`(`+`(`*`(`^`(x, 2)), `*`(`^`(y, 2)))))), E[2] = `+`(`-`(`/`(`*`(y, `*`(Diff(``, x)...](Maple/atlas/help/images/Riemann_23.gif) | (2.2.4) |
Connection definition:
![`*`(e[1], `*`(x))](Maple/atlas/help/images/Riemann_24.gif) | (2.2.5) |
![`*`(y, `*`(e[2]))](Maple/atlas/help/images/Riemann_25.gif) | (2.2.6) |
![`*`(y, `*`(e[1]))](Maple/atlas/help/images/Riemann_26.gif) | (2.2.7) |
![`+`(`-`(`*`(x, `*`(e[2]))))](Maple/atlas/help/images/Riemann_27.gif) | (2.2.8) |
Connection declaration:
![omega[i, j]](Maple/atlas/help/images/Riemann_28.gif) | (2.2.9) |
Curvature calculation:
Curvature(Omega);
![Omega[i, j]](Maple/atlas/help/images/Riemann_29.gif) | (2.2.10) |
Ricci calculation:
Ricci(r);
| Warning, There is no actual metric tensor | |
See Also:
atlas, atlas[Connection], atlas[Curvature], atlas[Metric].