tensor(deprecated)/Weyl - 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)/Weyl

tensor

  

Weyl

  

compute the covariant Weyl tensor

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Weyl( g, Rmn, Ricci, R)

Parameters

g

-

rank two tensor_type of character [-1,-1] representing the covariant metric tensor; specifically, gcompts[i,j]:=g_{ij}; the g component array should use the symmetric indexing function

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}; the Rmn component array should use the cov_riemann indexing function provided by the tensor package

Ricci

-

rank two tensor_type of character [-1,-1] representing the covariant Ricci tensor; specifically, Riccicompts[i,j]:=R_{ij}; the Ricci component array should use the symmetric indexing function

R

-

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

Description

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

• 

The resultant tensor_type, WEYL say, of this routine is the covariant Weyl tensor, indexed as shown below:

WEYLcomptsi,j,k,lCijkl

• 

Indexing Function:  Because the covariant Weyl tensor components have the same symmetrical properties as those of the Riemann tensor, the component array of the result uses the package's cov_riemann indexing function.

• 

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

Examples

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

withtensor:

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

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

gtablecompts=12mr0000112mr0000r20000r2sinth2,index_char=−1,−1

(1)

Now compute all of the necessary quantities for the computation of the Weyl tensor components, and then compute the components themselves:

ginvinvertg,detg:

D1gd1metricg,coord:D2gd2metricD1g,coord:

Cf1Christoffel1D1g:

RMNRiemannginv,D2g,Cf1:

RICCIRicciginv,RMN:

RSRicciscalarginv,RICCI:

WEYLWeylg,RMN,RICCI,RS:

Show the nonzero components.

displayGRWeyl,WEYL

The Weyl Tensor

non-zero components :

C1212=2mr3

C1313=r+2mmr2

C1414=r+2mmsinth2r2

C2323=mr+2m

C2424=msinth2r+2m

C3434=2sinth2mr

character : [-1, -1, -1, -1]

(2)

See Also

DifferentialGeometry[Tensor][WeylTensor]

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)[indexing]

tensor(deprecated)[Ricci]

tensor(deprecated)[Ricciscalar]

tensor(deprecated)[Riemann]

tensor(deprecated)[simp]

tensor(deprecated)[tensorsGR]