tensor(deprecated)/Ricci - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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

tensor

  

Ricci

  

compute the covariant Ricci tensor

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Ricci(ginv, Rmn)

Parameters

ginv

-

rank two tensor_type of character [1,1] representing the contravariant metric tensor; specifically, ginvcomptsi,jgij

Rmn

-

rank four tensor_type of character [-1,-1,-1,-1] representing the covariant Riemann curvature tensor; specifically, Rmncompts[i,j,k,l]:=R_{ijkl} 

Description

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

• 

The resultant tensor_type of this routine is the covariant Ricci tensor: a covariant rank 2 tensor that is symmetric in its indices (the component array of the result uses the Maple symmetric indexing function).

• 

ginv should be indexed using the symmetric indexing function. Rmn should be indexed using the `cov_riemann` indexing function provided by the package.  It is recommended that tensor[invert] and tensor[Riemann] be used to compute these quantities.

• 

Simplification:  This routine uses the `tensor/Ricci/simp` routine for simplification purposes.  The simplification routine is applied to each component of result after it is computed.  By default, `tensor/Ricci/simp` is initialized to the `tensor/simp` routine.  It is recommended that the `tensor/Ricci/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 Ricci(..) only after performing the command with(tensor) or with(tensor, Ricci).  The function can always be accessed in the long form tensor[Ricci](..).

Examples

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

withtensor:

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

coordt,r,θ,φ:

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

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

g_compts3,3r2:g_compts4,4r2sinθ2:

gcreate1,1,evalg_compts

gtableindex_char=−1,−1,compts=12mr0000112mr0000r20000r2sinθ2

(1)

Compute the Ricci tensor.

ginvinvertg,detg:

D1gd1metricg,coord:D2gd2metricD1g,coord:

Cf1Christoffel1D1g:

RMNRiemannginv,D2g,Cf1:

RICCIRicciginv,RMN

RICCItableindex_char=−1,−1,compts=0000000000000000

(2)

You can also view the result using the tensor package function displayGR.

See Also

DifferentialGeometry[Tensor][RicciTensor]

Physics[Christoffel]

Physics[D_]

Physics[d_]

Physics[Einstein]

Physics[g_]

Physics[LeviCivita]

Physics[Ricci]

Physics[Ricci]

Physics[Riemann]

Physics[Weyl]

tensor(deprecated)

tensor(deprecated)[displayGR]

tensor(deprecated)[invert]

tensor(deprecated)[Riemann]

tensor(deprecated)[simp]

tensor(deprecated)[tensorsGR]