tensor
Christoffel1
compute the Christoffel symbols of the first kind
Calling Sequence
Parameters
Description
Examples
Christoffel1(D1g)
D1g
-
rank three tensor_type of character [-1,-1,-1] representing the partial derivatives of the COVARIANT metric tensor. The components of D1g must be defined using the `index/cf1` indexing function (see below) which takes care of the symmetry in the first two indices of the first partials of the metric tensor (due to the symmetry of the metric).
Important: The tensor package has been deprecated. Use the superseding commands DifferentialGeometry[Tensor][Christoffel] and Physics[Christoffel] instead.
Specifically,
D1gcomtsi,j,k≔gi⁢j,k
The resultant tensor_type, Cf1 say, of this routine is the Christoffel symbols of the first kind, indexed as shown below:
Cf1comptsi,j,k≔i⁢j,k,
where ij,k is in conventional notation.
D1g, the partials of the covariant metric should be obtained using the function tensor[d1metric] once the metric itself is known.
Indexing Function: Because of the symmetry in the first two indices of the Christoffel symbols of the first kind, the array of the calculated symbols use the `index/cf1` indexing function. This function indexes an array of rank 3 so that it is automatically symmetric in its first two indices. Use of this indexing function decreases the number of symbols that must be assigned and stored to the number of independent symbols.
Simplification: This routine uses the `tensor/Christoffel1/simp` routine to carry out simplification of each independent Christoffel symbol of the first kind. By default, it is initialized to the `tensor/simp` function. It is recommended that the `tensor/Christoffel1/simp` routine be customized to suit the particular needs of the problem at hand.
This function is part of the tensor package, and so can be used in the form Christoffel1(..) only after performing the command with(tensor) or with(tensor, Christoffel1). The function can always be accessed in the long form tensor[Christoffel1](..).
Define the coordinate variables and the covariant metric under the Schwarzchild metric.
with⁡tensor:
coord≔t,r,th,ph:
g_compts≔array⁡symmetric,sparse,1..4,1..4:
g_compts1,1≔1−2⁢mr:g_compts2,2≔−1g_compts1,1:
g_compts3,3≔−r2:g_compts4,4≔−r2⁢sin⁡th2:
g≔create⁡−1,−1,eval⁡g_compts
g≔table⁡index_char=−1,−1,compts=1−2⁢mr0000−11−2⁢mr0000−r20000−r2⁢sin⁡th2
D1g≔d1metric⁡g,coord:
Cf1≔Christoffel1⁡D1g
Cf1≔table⁡index_char=−1,−1,−1,compts=array⁡cf1,1..4,1..4,1..4,1,1,1=0,1,1,2=−mr2,1,1,3=0,1,1,4=0,1,2,1=mr2,1,2,2=0,1,2,3=0,1,2,4=0,1,3,1=0,1,3,2=0,1,3,3=0,1,3,4=0,1,4,1=0,1,4,2=0,1,4,3=0,1,4,4=0,2,1,1=mr2,2,1,2=0,2,1,3=0,2,1,4=0,2,2,1=0,2,2,2=m−r+2⁢m2,2,2,3=0,2,2,4=0,2,3,1=0,2,3,2=0,2,3,3=−r,2,3,4=0,2,4,1=0,2,4,2=0,2,4,3=0,2,4,4=−r⁢sin⁡th2,3,1,1=0,3,1,2=0,3,1,3=0,3,1,4=0,3,2,1=0,3,2,2=0,3,2,3=−r,3,2,4=0,3,3,1=0,3,3,2=r,3,3,3=0,3,3,4=0,3,4,1=0,3,4,2=0,3,4,3=0,3,4,4=−sin⁡2⁢th⁢r22,4,1,1=0,4,1,2=0,4,1,3=0,4,1,4=0,4,2,1=0,4,2,2=0,4,2,3=0,4,2,4=−r⁢sin⁡th2,4,3,1=0,4,3,2=0,4,3,3=0,4,3,4=−sin⁡2⁢th⁢r22,4,4,1=0,4,4,2=r⁢sin⁡th2,4,4,3=sin⁡2⁢th⁢r22,4,4,4=0
The user may also view the result using the tensor package function displayGR.
See Also
DifferentialGeometry[Tensor][Christoffel]
Physics[Christoffel]
Physics[D_]
Physics[d_]
Physics[Einstein]
Physics[g_]
Physics[LeviCivita]
Physics[Ricci]
Physics[Riemann]
Physics[Weyl]
tensor(deprecated)
tensor(deprecated)/display_allGR
tensor(deprecated)[Christoffel2]
tensor(deprecated)[d1metric]
tensor(deprecated)[displayGR]
tensor(deprecated)[indexing]
tensor(deprecated)[simp]
tensor(deprecated)[tensorsGR]
Download Help Document