tensor(deprecated)/Einstein - Help

Online Help

All Products    Maple    MapleSim


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

tensor

  

Einstein

  

compute the covariant components of the Einstein tensor

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Einstein(g, Ricci, R)

Parameters

g

-

rank two tensor_type of character 1,1 representing the covariant metric tensor; specifically, gcomptsi,jgij

Ricci

-

rank two tensor_type of character 1,1 representing the covariant Ricci tensor; specifically, Riccicomptsi,jRij

R

-

rank zero tensor_type of character [], representing the Ricci scalar (note it is recognized as a 0th rank tensor_type in the tensor package).

Description

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

• 

The resultant tensor_type, Estn say, of this routine is the COVARIANT Einstein tensor, indexed as shown below:

Estncomptsi,jGi,j

• 

The component arrays of both g and Ricci should use the Maple symmetric indexing function.  They can be computed using the appropriate routines from the package.  The component array of the result uses Maple's symmetric indexing function.

• 

Simplification:  This routine uses the `tensor/Einstein/simp` routine for simplification purposes.  The simplification routine is applied to each component of result after it is computed.  By default, `tensor/Einstein/simp` is initialized to the `tensor/simp` routine.  It is recommended that the `tensor/Einstein/simp` routine be customized to suit the needs of the particular problem.

• 

This function is part of the tensor package, and so can be used in the form Einstein(..) only after performing the command with(tensor) or with(tensor, Einstein).  The function can always be accessed in the long form tensor[Einstein](..).

Examples

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

Define the coordinate variables and the covariant Schwarzchild metric tensor components.

withtensor:

coordt,r,th,ph:

g_comptsarraysymmetric,sparse,1..4,1..4:

g_compts1,112mr:g_compts2,21g_compts1,1:

g_compts3,3r2:g_compts4,4r2sinth2:

gcreate1,1,evalg_compts

g:=tablecompts=12mr0000112mr0000r20000r2sinth2,index_char=1,1

(1)

Now compute all of the quantities necessary to compute the Einstein tensor:

ginvinvertg,'detg':

D1gd1metricg,coord:D2gd2metricD1g,coord:

Cf1Christoffel1D1g:

RMNRiemannginv,D2g,Cf1:

RICCIRicciginv,RMN:

RSRicciscalarginv,RICCI:

Compute the Einstein tensor:

EstnEinsteing,RICCI,RS

Estn:=tablecompts=0000000000000000,index_char=1,1

(2)

You can also view the result using the function tensor[displayGR].

See Also

DifferentialGeometry[Tensor][EinsteinTensor]

Physics[Christoffel]

Physics[D_]

Physics[d_]

Physics[Einstein]

Physics[g_]

Physics[LeviCivita]

Physics[Ricci]

Physics[Riemann]

Physics[Weyl]

tensor(deprecated)

tensor(deprecated)[displayGR]

tensor(deprecated)[Ricci]

tensor(deprecated)[Ricciscalar]

tensor(deprecated)[Riemann]

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