-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkatz-in.m
52 lines (28 loc) · 888 Bytes
/
katz-in.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
(* ::Package:: *)
(*
CompInRW.m, sample file for Components. This contains the
spatially flat Robertson-Walker metric of an isotropic universe.
*)
Dimension = 4
CompSimpRules = {}
CompSimp[a_] := Together[Expand[a //. CompSimpRules]]
x/: x[1] = \[Rho]
x/: x[2] = z
x/: x[3] = \[Phi]
x/: x[4] = t
Metricg/: Metricg[-1, -1] = -Exp[2*(\[Nu][\[Rho],z]-\[Lambda][\[Rho],z])]
Metricg/: Metricg[-2, -1] = 0
Metricg/: Metricg[-3, -1] = 0
Metricg/: Metricg[-4, -1] = 0
Metricg/: Metricg[-2, -2] = -Exp[2*(\[Nu][\[Rho],z]-\[Lambda][\[Rho],z])]
Metricg/: Metricg[-3, -2] = 0
Metricg/: Metricg[-4, -2] = 0
Metricg/: Metricg[-3, -3] = -\[Rho]^2*Exp[-2*\[Lambda][\[Rho],z]]
Metricg/: Metricg[-4, -3] = 0
Metricg/: Metricg[-4, -4] = Exp[2*\[Lambda][\[Rho],z]]
Rmsign = 1
Rcsign = 1
CalcEinstein = 1
CalcRiemann = 1
CalcWeyl = 1
(* End of file CompInRW.m *)