/
makegridpoint.html
135 lines (93 loc) · 4.97 KB
/
makegridpoint.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>SHTOOLS - Spherical harmonic transformations</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="../Figures/favicon.ico">
</head>
<body>
<div class="main">
<p class="centeredimage"><img src="../Figures/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="http://sourceforge.net/projects/shtools/">DOWNLOAD</a></td>
<td class="selected"><a href="../documentation.html">DOCUMENTATION</a></td>
<td><a href="https://sourceforge.net/p/shtools/discussion/">FORUM</a></td>
<td><a href="../faq.html">FAQ</a> </td>
</tr>
</tbody>
</table>
<p class="dir">
> <a href="../../SHTOOLS.html" class="dir">Home</a> > <a href="../documentation.html" class="dir">Documentation</a> > <a href="../transformations.html" class="dir">Spherical Harmonic Transformations</a></p>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
<B>MAKEGRIDPOINT(1)</B> SHTOOLS 2.9 <B>MAKEGRIDPOINT(1)</B>
</PRE>
<H2 class="man">MakeGridPoint</H2 class="man"><PRE>
MakeGridPoint - Expand a set of spherical harmonic coefficients at a single point.
</PRE>
<H2 class="man">SYNOPSIS</H2 class="man"><PRE>
REAL*8 FUNCTION MakeGridPoint ( CILM, LMAX, LAT, LON, NORM, CSPHASE, DEALLOC )
REAL*8 CILM(2, LMAX+1, LMAX+1), LAT, LON
INTEGER LMAX
INTEGER, OPTIONAL NORM, CSPHASE, DEALLOC
</PRE>
<H2 class="man">DESCRIPTION</H2 class="man"><PRE>
<B>MakeGridPoint</B> will expand a set of spherical harmonic coefficients at a single point. The
input latitude and longitude are in degrees. The employed spherical harmonic normalization
and Condon-Shortley phase convention can be set by the optional arguments NORM and CSPHASE;
if not set, the default is to use geodesy 4-pi normalized harmonics that exclude the Condon-
Shortley phase of (-1)^m.
</PRE>
<H2 class="man">ARGUMENTS</H2 class="man"><PRE>
CILM (input) REAL*8, DIMENSION (2, LMAX+1, LMAX+1)
The real spherical harmonic coefficients to be expanded in the space domain. The
coefficients C1lm and C2lm refer to the "cosine" (Clm) and "sine" (Slm)
coefficients, respectively, with Clm = CILM(1, l+1, m+1) and Slm = CILM(2, l+1,
m+1). Alternatively, C1lm and C2lm correspond to the positive and negative order
coefficients, respectively.
LMAX (input) INTEGER
The maximum spherical harmonic degree of the coefficients CILM.
LAT (input) REAL*8
The latitude of the point in DEGREES.
LON (input) REAL*8
The longitude of the point in DEGREES.
NORM (input) INTEGER, OPTIONAL
1 (default) = Geodesy 4-pi normalized harmonics; 2 = Schmidt semi-normalized
harmonics; 3 = unnormalized harmonics; 4 = orthonormal harmonics.
CSPHASE (input) INTEGER, OPTIONAL
1 (default) = do not apply the Condon-Shortley phase factor to the associated
Legendre functions; -1 = append the Condon-Shortley phase factor of (-1)^m to the
associated Legendre functions.
DEALLOC (input) INTEGER, OPTIONAL
0 (default) = Save variables used in the external Legendre function calls. (1)
Deallocate this memory at the end of the funcion call.
</PRE>
<H2 class="man">SEE ALSO</H2 class="man"><PRE>
<B>makegrid2d(1)</B>, <B>makegriddh(1)</B>, <B>makegridglq(1)</B>
<http://shtools.ipgp.fr/>
</PRE>
<H2 class="man">COPYRIGHT AND LICENSE</H2 class="man"><PRE>
Copyright 2012 by Mark Wieczorek <wieczor@ipgp.fr>.
This is free software; you can distribute and modify it under the terms of the revised BSD
license.
SHTOOLS 2.9 2012-08-08 <B>MAKEGRIDPOINT(1)</B>
</PRE>
<p class="dir">
> <a href="../../SHTOOLS.html" class="dir">Home</a> > <a href="../documentation.html" class="dir">Documentation</a> > <a href="../transformations.html" class="dir">Spherical Harmonic Transformations</a></p>
<table class="footer2" summary = "Mark Wieczorek">
<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">© 2014 <a href="http://www.ipgp.fr/~wieczor">Mark Wieczorek</a></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>