g
a
b
=
[
B
0
0
0
0
A
0
0
0
0
r
2
0
0
0
0
(
r
sin
(
θ
)
)
2
]
a
↓
b
→
g
a
b
=
[
1
B
0
0
0
0
1
A
0
0
0
0
r
−
2
0
0
0
0
(
r
sin
(
θ
)
)
−
2
]
a
↓
b
→
G
a
b
=
[
B
(
A
−
A
2
−
r
∂
A
∂
r
)
A
2
r
2
0
0
0
0
B
−
A
B
+
r
∂
B
∂
r
B
r
2
0
0
0
0
−
A
r
2
∂
B
∂
r
2
−
2
r
B
2
∂
A
∂
r
−
B
r
2
∂
B
∂
r
∂
A
∂
r
+
2
A
B
r
∂
B
∂
r
+
2
A
B
r
2
∂
2
B
∂
r
2
4
A
2
B
2
0
0
0
0
−
A
r
2
∂
B
∂
r
2
+
A
r
2
∂
B
∂
r
2
cos
(
θ
)
2
−
2
r
B
2
∂
A
∂
r
+
2
r
B
2
cos
(
θ
)
2
∂
A
∂
r
−
B
r
2
∂
B
∂
r
∂
A
∂
r
+
B
r
2
cos
(
θ
)
2
∂
A
∂
r
∂
B
∂
r
+
2
A
B
r
∂
B
∂
r
+
2
A
B
r
2
∂
2
B
∂
r
2
−
2
A
B
r
2
cos
(
θ
)
2
∂
2
B
∂
r
2
−
2
A
B
r
cos
(
θ
)
2
∂
B
∂
r
4
A
2
B
2
]
a
↓
b
→
T
a
b
=
[
P
+
ρ
+
B
P
0
0
0
0
A
P
0
0
0
0
P
r
2
0
0
0
0
P
(
r
2
−
r
2
cos
(
θ
)
2
)
]
a
↓
b
→
B
(
A
−
A
2
−
r
∂
A
∂
r
)
A
2
r
2
=
8
π
⋅
(
P
+
ρ
+
B
P
)
B
−
A
B
+
r
∂
B
∂
r
B
r
2
=
8
π
⋅
A
P
−
A
r
2
∂
B
∂
r
2
−
2
r
B
2
∂
A
∂
r
−
B
r
2
∂
B
∂
r
∂
A
∂
r
+
2
A
B
r
∂
B
∂
r
+
2
A
B
r
2
∂
2
B
∂
r
2
4
A
2
B
2
=
8
π
⋅
P
r
2
−
A
r
2
∂
B
∂
r
2
+
A
r
2
∂
B
∂
r
2
cos
(
θ
)
2
−
2
r
B
2
∂
A
∂
r
+
2
r
B
2
cos
(
θ
)
2
∂
A
∂
r
−
B
r
2
∂
B
∂
r
∂
A
∂
r
+
B
r
2
cos
(
θ
)
2
∂
A
∂
r
∂
B
∂
r
+
2
A
B
r
∂
B
∂
r
+
2
A
B
r
2
∂
2
B
∂
r
2
−
2
A
B
r
2
cos
(
θ
)
2
∂
2
B
∂
r
2
−
2
A
B
r
cos
(
θ
)
2
∂
B
∂
r
4
A
2
B
2
=
8
π
⋅
P
(
r
2
−
r
2
cos
(
θ
)
2
)
difference between 1st and 2nd...
A
∂
B
∂
r
+
B
∂
A
∂
r
=
−
8
r
π
⋅
A
2
(
P
+
ρ
)
∂
∂
r
(
A
B
)
=
−
8
π
⋅
r
A
2
(
ρ
+
P
)
difference between 2nd and 3rd...
A
r
2
∂
B
∂
r
2
−
4
A
2
B
2
+
4
A
B
2
+
2
r
B
2
∂
A
∂
r
+
B
r
2
∂
B
∂
r
∂
A
∂
r
+
2
A
B
r
∂
B
∂
r
−
2
A
B
r
2
∂
2
B
∂
r
2
=
0
differences between 3rd and 4th...
0
=
0
Gnuplot
Produced by GNUPLOT 5.4 patchlevel 4
0.99999993
0.99999994
0.99999995
0.99999996
0.99999997
0.99999998
0.99999999
1.00000000
1.00000001
0
2x10
6
4x10
6
6x10
6
8x10
6
1x10
7
1.2x10
7
1.4x10
7
inward A
inward A
outward A
outward A
Gnuplot
Produced by GNUPLOT 5.4 patchlevel 4
0.99999993
0.99999994
0.99999995
0.99999996
0.99999997
0.99999998
0.99999999
1.00000000
1.00000001
0
2x10
6
4x10
6
6x10
6
8x10
6
1x10
7
1.2x10
7
1.4x10
7
inward A wrt abs coord rho
inward A wrt abs coord rho
outward A wrt abs coord rho
outward A wrt abs coord rho
Gnuplot
Produced by GNUPLOT 5.4 patchlevel 4
-1.00000007
-1.00000006
-1.00000005
-1.00000004
-1.00000003
-1.00000002
-1.00000001
-1.00000000
-0.99999999
0
2x10
6
4x10
6
6x10
6
8x10
6
1x10
7
1.2x10
7
1.4x10
7
inward B
inward B
outward B
outward B
Gnuplot
Produced by GNUPLOT 5.4 patchlevel 4
-1.00000007
-1.00000006
-1.00000005
-1.00000004
-1.00000003
-1.00000002
-1.00000001
-1.00000000
-0.99999999
0
2x10
6
4x10
6
6x10
6
8x10
6
1x10
7
1.2x10
7
1.4x10
7
inward B wrt abs coord rho
inward B wrt abs coord rho
outward B wrt abs coord rho
outward B wrt abs coord rho