tensor[geodesic_eqns] - generate the Euler-Lagrange equations for the geodesic curves
|
Calling Sequence
|
|
geodesic_eqns(coord, param, Cf2)
|
|
Parameters
|
|
coord
|
-
|
list of coordinate names
|
param
|
-
|
name of the variable to parametrize the curves with
|
Cf2
|
-
|
Christoffel symbols of the second kind
|
|
|
|
|
Description
|
|
•
|
The function geodesic_eqns(coord, Tau, Cf2) generates (but does not solve) the Euler-Lagrange equations of the geodesics for a metric with Christoffel symbols of the second kind Cf2 and coordinate variables coord. The equations are written in terms of the coordinate variable names as functions of the given parameter Tau. They are returned in the format of a list of equations.
|
•
|
Cf2 should be indexed using the cf2 indexing function provided by the tensor package. It can be computed using the Christoffel2 routine.
|
|
|
Examples
|
|
>
|
|
Determine the geodesic equations for the Poincare half-plane. The coordinates are:
>
|
|
| (1) |
The metric is:
>
|
|
>
|
|
| (2) |
>
|
|
>
|

|
>
|
|
>
|
|
>
|
|
| (3) |
Now generate the geodesic equations:
>
|
|
| (4) |
How about Euclidean 3-space in Cartesian coordinates?
>
|
|
| (5) |
>
|
|
>
|
|
| (6) |
>
|
|
>
|

|
>
|
|
>
|
|
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
and in spherical-polar coordinates?
>
|
|
| (10) |
The metric is:
>
|
|
>
|
|
| (11) |
>
|
|
>
|

|
>
|
|
>
|
|
>
|
|
| (12) |
Now generate the geodesic equations:
>
|
|

| (13) |
|
|