tensor
Weyl
compute the covariant Weyl tensor
Calling Sequence
Parameters
Description
Examples
Weyl( g, Rmn, Ricci, R)
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).
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,l≔Ci⁢j⁢k⁢l
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](..).
with⁡tensor:
Define the coordinate variables and the covariant components of the Schwarzchild metric.
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⁡compts=1−2⁢mr0000−11−2⁢mr0000−r20000−r2⁢sin⁡th2,index_char=−1,−1
Now compute all of the necessary quantities for the computation of the Weyl tensor components, and then compute the components themselves:
ginv≔invert⁡g,detg:
D1g≔d1metric⁡g,coord:D2g≔d2metric⁡D1g,coord:
Cf1≔Christoffel1⁡D1g:
RMN≔Riemann⁡ginv,D2g,Cf1:
RICCI≔Ricci⁡ginv,RMN:
RS≔Ricciscalar⁡ginv,RICCI:
WEYL≔Weyl⁡g,RMN,RICCI,RS:
Show the nonzero components.
displayGR⁡Weyl,WEYL
The Weyl Tensor
non-zero components :
C1212=2⁢mr3
C1313=−r+2⁢m⁢mr2
C1414=−r+2⁢m⁢m⁢sin⁡th2r2
C2323=−m−r+2⁢m
C2424=−m⁢sin⁡th2−r+2⁢m
C3434=−2⁢sin⁡th2⁢m⁢r
character : [-1, -1, -1, -1]
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]
Download Help Document