tensor(deprecated)/Christoffel2 - Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : tensor(deprecated)/Christoffel2

tensor[Christoffel2] - compute the Christoffel symbols of the second kind

Calling Sequence

Christoffel2(ginv, Cf1)

Parameters

ginv

-

rank two tensor_type of character [1,1] representing the contravariant metric tensor; specifically, ginvcomptsi,j:=gij The components of ginv should be indexed using Maple's `symmetric` indexing function.

Cf1

-

rank three tensor_type of character [-1,-1,-1] representing the Christoffel symbols of the first kind; specifically, Cf1compts[i,j,k]:={ij,k} The components of Cf1 should be indexed using the `index/cf1` indexing function.

Description

Important: The tensor package has been deprecated. Use the superseding commands DifferentialGeometry[Tensor][Christoffel] and Physics[Christoffel] instead.

• 

The resultant tensor_type, Cf2 say, of this routine is the Christoffel symbols of the second kind, indexed as shown below:

Cf2comptsi,j,kijkin conventional notation

• 

The ginv parameter can be obtained by using the tensor package function tensor[invert] and the Cf1 parameter can be obtained by using the tensor package function tensor[Christoffel1]. Otherwise, be sure to use the appropriate indexing functions for the components of these quantities (as mentioned above).

• 

Indexing Function:  Because the Christoffel symbols of the second kind are symmetric in the last two (that is, lower) indices, the array of computed symbols uses the `index/cf2` indexing function. This function indexes an array of rank 3 so that it is symmetric in the second and third 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/Christoffel2/simp` routine to carry out the simplification of each independent Christoffel symbol of the second kind. By default, it is initialized to the `tensor/simp` function.  It is recommended that the `tensor/Christoffel2/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 Christoffel2(..) only after performing the command with(tensor) or with(tensor, Christoffel2).  The function can always be accessed in the long form tensor[Christoffel2](..).

Examples

Important: The tensor package has been deprecated. Use the superseding commands DifferentialGeometry[Tensor][Christoffel] and Physics[Christoffel] instead.

Define the coordinate variables and the covariant metric tensor components for the Schwarzchild metric:

withtensor:

coord:=t,r,θ,φ:

g_compts:=arraysymmetric,sparse,1..4,1..4:

g_compts1,1:=12mr:g_compts2,2:=1g_compts1,1:

g_compts3,3:=r2:g_compts4,4:=r2sinth2:

g:=create1,1,evalg_compts

g:=tableindex_char=1,1,compts=12mr0000112mr0000r20000r2sinth2

(1)

Now determine the contravariant components of the metric tensor, the first partials of the covariant metric tensor components, and the Christoffel symbols of the first kind:

ginv:=invertg,'detg':

D1g:=d1metricg,coord:

Cf1:=Christoffel1D1g:

Because this metric involves trigonometric functions, alter the `tensor/Christoffel2/simp` routine to apply Maple's simplify function using the "trig" option to the quantities it computes:

`tensor/Christoffel2/simp`:= proc(x) simplify(x, trig) end proc:

Finally, we use the Christoffel2 routine to obtain the Christoffel symbols of the second kind:

Cf2:=Christoffel2ginv,Cf1

Cf2:=tableindex_char=1,1,1,compts=ARRAYcf2,1..4,1..4,1..4,1,1,1=0,1,1,2=mrr+2m,1,1,3=0,1,1,4=0,1,2,1=mrr+2m,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=r+2mmr3,2,1,2=0,2,1,3=0,2,1,4=0,2,2,1=0,2,2,2=mrr+2m,2,2,3=0,2,2,4=0,2,3,1=0,2,3,2=0,2,3,3=r+2m,2,3,4=0,2,4,1=0,2,4,2=0,2,4,3=0,2,4,4=r+2msinth2,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=1r,3,2,4=0,3,3,1=0,3,3,2=1r,3,3,3=0,3,3,4=0,3,4,1=0,3,4,2=0,3,4,3=0,3,4,4=0,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=1r,4,3,1=0,4,3,2=0,4,3,3=0,4,3,4=0,4,4,1=0,4,4,2=1r,4,4,3=0,4,4,4=0

(2)

The user may also view the result with 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)[Christoffel1], tensor(deprecated)[displayGR], tensor(deprecated)[indexing], tensor(deprecated)[invert], tensor(deprecated)[simp], tensor(deprecated)[tensorsGR]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam