/
glqgridcoord.1
62 lines (62 loc) · 1.83 KB
/
glqgridcoord.1
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
.\" Automatically generated by Pandoc 2.0.3
.\"
.TH "glqgridcoord" "1" "2016\-12\-15" "Fortran 95" "SHTOOLS 4.1"
.hy
.SH GLQGridCoord
.PP
Compute the latitude and longitude coordinates used in Gauss\-Legendre
quadrature grids.
.SH Usage
.PP
call GLQGridCoord (\f[C]latglq\f[], \f[C]longlq\f[], \f[C]lmax\f[],
\f[C]nlat\f[], \f[C]nlong\f[], \f[C]exitstatus\f[])
.SH Parameters
.TP
.B \f[C]latglq\f[] : output, real*8, dimension (\f[C]lmax\f[]+1)
The latitude coordinates of a grid, corresponding to the indices (:,1),
in DEGREES.
.RS
.RE
.TP
.B \f[C]longlq\f[] : output, real*8, dimension (2*\f[C]lmax\f[]+1)
The longitude coordinates of a grid, corresponding to the indices (1,:),
in DEGREES.
The first node is 0 E.
.RS
.RE
.TP
.B \f[C]lmax\f[] : input, integer
The maximum spherical harmonic degree that will be integrated exactly by
Gauss\-Legendre quadrature.
.RS
.RE
.TP
.B \f[C]nlat\f[] : output, integer
The number of samples in latitude.
.RS
.RE
.TP
.B \f[C]nlong\f[] : output, integer
The number of samples in longitude.
.RS
.RE
.TP
.B \f[C]exitstatus\f[] : output, optional, integer
If present, instead of executing a STOP when an error is encountered,
the variable exitstatus will be returned describing the error.
0 = No errors; 1 = Improper dimensions of input array; 2 = Improper
bounds for input variable; 3 = Error allocating memory; 4 = File IO
error.
.RS
.RE
.SH Description
.PP
\f[C]GLQGridCoord\f[] will compute the latitude and longitude
coordinates that are used in Gauss\-Legendre quadrature grids for
performing spherical harmonic transforms and reconstructions.
The latitudinal nodes correspond to the zeros of the Legendre polynomial
of degree \f[C]lmax+1\f[], and the longitudinal nodes are equally spaced
with an interval of \f[C]360/(2*lmax+1)\f[] degrees.
.SH See also
.PP
shglq, shexpandglq, makegridglq, shexpandglqc, makegridglqc, preglq