/
plschmidt_d1.html
72 lines (61 loc) · 4.4 KB
/
plschmidt_d1.html
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>SHTOOLS - Legendre functions</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../css/sh.css">
<link rel="icon" type="image/vnd.microsoft.icon" href="../../images/favicon.ico">
</head>
<body>
<div class="main">
<p class="centeredimage"><img src="../../images/logo.jpg" width=894 height=135 alt="SHTOOLS --- Tools for working with spherical harmonics"></p>
<table class="menu">
<tbody>
<tr>
<td><a href="http://shtools.ipgp.fr/">HOME</a></td>
<td><a href="https://github.com/SHTOOLS/SHTOOLS/releases">DOWNLOAD</a></td>
<td class="selected"><a href="../../documentation.html">DOCUMENTATION</a></td>
<td><a href="../../faq.html">FAQ</a> </td>
</tr>
</tbody>
</table>
<p class="dir">
> <a href="../../../index.html" class="dir">Home</a> > <a href="../../documentation.html" class="dir">Documentation</a> > <a href="../../f95-routines.html" class="dir">Fortran 95</a> > <a href="../../legendre.html" class="dir">Legendre Functions</a></p>
<h1 id="plschmidt_d1">PlSchmidt_d1</h1>
<p>Compute all the Schmidt-normalized Legendre polynomials and first derivatives.</p>
<h1 id="usage">Usage</h1>
<p>call PlSchmidt_d1 (<code>p</code>, <code>dp</code>, <code>lmax</code>, <code>z</code>)</p>
<h1 id="parameters">Parameters</h1>
<dl>
<dt><code>p</code> : output, real*8, dimension (<code>lmax</code>+1)</dt>
<dd>An array of Schmidt-normalized Legendre polynomials up to degree <code>lmax</code>. Degree <code>l</code> corresponds to array index <code>l+1</code>.
</dd>
<dt><code>dp</code> : output, real*8, dimension (<code>lmax</code>+1)</dt>
<dd>An array of the first derivatives of the Schmidt-normalized Legendre polynomials up to degree <code>lmax</code>. Degree <code>l</code> corresponds to array index <code>l+1</code>.
</dd>
<dt><code>lmax</code> : input, integer</dt>
<dd>The maximum degree of the Legendre polynomials to be computed.
</dd>
<dt><code>z</code> : input, real*8</dt>
<dd>The argument of the Legendre polynomial.
</dd>
</dl>
<h1 id="description">Description</h1>
<p><code>PlSchmidt_d1</code> will calculate all of the Schmidt-normalized Legendre polynomials and first derivatives up to degree <code>lmax</code> for a given argument. These are calculated using a standard three-term recursion formula, and the integral of the Schmidt-normalized Legendre polynomials over the interval [-1, 1] is <code>2/(2l+1)</code>. Note that the derivative of the Legendre polynomials is calculated with respect to its arguement <code>z</code>, and not latitude or colatitude. If <code>z=cos(theta)</code>, where <code>theta</code> is the colatitude, then it is only necessary to multiply <code>dp</code> by <code>-sin(theta)</code> to obtain the derivative with respect to <code>theta</code>.</p>
<h1 id="see-also">See also</h1>
<p><a href="plbar.html"><code>plbar</code></a>, <a href="plbar_d1.html"><code>plbar_d1</code></a>, <a href="plmbar.html"><code>plmbar</code></a>, <a href="plmbar_d1.html"><code>plmbar_d1</code></a>, <a href="plon.html"><code>plon</code></a>, <a href="plon_d1.html"><code>plon_d1</code></a>, <a href="plmon.html"><code>plmon</code></a>, <a href="plmon_d1.html"><code>plmon_d1</code></a>, <a href="plschmidt.html"><code>plschmidt</code></a>, <a href="plmschmidt.html"><code>plmschmidt</code></a>, <a href="plmschmidt_d1.html"><code>plmschmidt_d1</code></a>, <a href="plegendre.html"><code>plegendre</code></a>, <a href="plegendre_d1.html"><code>plegendre_d1</code></a>, <a href="plegendrea.html"><code>plegendrea</code></a>, <a href="plegendrea_d1.html"><code>plegendrea_d1</code></a></p>
<p class="dir">
> <a href="../../../index.html" class="dir">Home</a> > <a href="../../documentation.html" class="dir">Documentation</a> > <a href="../../f95-routines.html" class="dir">Fortran 95</a> > <a href="../../legendre.html" class="dir">Legendre Functions</a></p>
<table class="footer2" summary = "SHTOOLS; Fortran and Python spherical harmonic transform software package">
<tbody>
<tr>
<td class="c1"><a href="http://www.ipgp.fr/">Institut de Physique du Globe de Paris</a></td>
<td class="c2"><a href="http://www.sorbonne-paris-cite.fr/index.php/en">University of Sorbonne Paris Cité</a></td>
<td class="c3">© 2016 <a href="https://github.com/SHTOOLS">SHTOOLS</a></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>