-
Notifications
You must be signed in to change notification settings - Fork 104
/
shmagpowerl.3
57 lines (57 loc) · 1.58 KB
/
shmagpowerl.3
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
53
54
55
56
57
.\" Automatically generated by Pandoc 3.1.3
.\"
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
.ie "\f[CB]x\f[]"x" \{\
. ftr V B
. ftr VI BI
. ftr VB B
. ftr VBI BI
.\}
.el \{\
. ftr V CR
. ftr VI CI
. ftr VB CB
. ftr VBI CBI
.\}
.TH "shmagpowerl" "1" "2021-02-15" "Fortran 95" "SHTOOLS 4.11"
.hy
.SH SHMagPowerL
.PP
Compute the power of the magnetic field for a single degree \f[V]l\f[R]
given the Schmidt seminormalized magnetic potential spherical harmonic
coefficients.
.SH Usage
.PP
\f[V]power\f[R] = SHMagPowerL (\f[V]cilm\f[R], \f[V]a\f[R], \f[V]r\f[R],
\f[V]l\f[R])
.SH Parameters
.TP
\f[V]power\f[R] : output, real(dp)
The power at degree \f[V]l\f[R]
.TP
\f[V]cilm\f[R] : input, real(dp), dimension (2, l+1, l+1)
The Schmidt seminormalized spherical harmonic coefficients of the
magnetic potential.
.TP
\f[V]a\f[R] : input, real(dp)
The reference radius of the magnetic potential spherical harmonic
coefficients.
.TP
\f[V]r\f[R] : input, real(dp)
The radius to evaluate the magnetic field.
.TP
\f[V]l\f[R] : input, integer(int32)
The spherical harmonic degree for which the power will be calculated.
.SH Description
.PP
\f[V]SHMagPowerL\f[R] will calculate the power of the magnetic field at
radius \f[V]r\f[R] for a single degree \f[V]l\f[R] given the magnetic
potential Schmidt seminormalized spherical harmonic coefficients
\f[V]c\f[R] evaluated at radius \f[V]a\f[R].
This is explicitly calculated as:
.PP
\f[V]S(l) = (l+1) (a/r)**(2l+4) Sum_{m=0}\[ha]l [ cilm(1, l+1, m+1)**2 + cilm(2, l+1, m+1)**2 ].\f[R]
.SH See also
.PP
shmagpowerspectrum