1DSPNT3D(3NCARG) NCAR GRAPHICS DSPNT3D(3NCARG)
2
3
4
6 DSPNT3D- Interpolate at a single point (or points) in 3D in double pre‐
7 cision
8
10 CALL DSPNT3D (N, X, Y, Z, U, M, XO, YO, ZO, UO, IER)
11
13 N (Integer, Input) - The number of input data points.
14
15 X (Double precision, Input) - An array containing the X coor‐
16 dinates of the input data points.
17
18 Y (Double precision, Input) - An array containing the Y coor‐
19 dinates of the input data points.
20
21 Z (Double precision, Input) - An array containing the Z coor‐
22 dinates of the input data points.
23
24 U (Double precision, Input) - An array containing the func‐
25 tional values of the input data points. That is, U(L) is
26 the value of the input function at coordinate
27 (X(L),Y(L),Z(L)), for L=1,N.
28
29 M (Integer, Input) - The number of output data points (this
30 may be "1").
31
32 XO (Double precision, Input) - An array of dimension M con‐
33 taining the X coordinates of the output data. The values in
34 XO may be in any order.
35
36 YO (Double precision, Input) - An array of dimension M con‐
37 taining the Y coordinates of the output data. The values in
38 YO may be in any order.
39
40 ZO (Double precision, Input) - An array of dimension M con‐
41 taining the Z coordinates of the output data. The values in
42 ZO may be in any order.
43
44 UO (Double precision, output) - An array of dimension M con‐
45 taining the interpolated values. UO(I) is the interpolated
46 value at point (XO(I),YO(I),ZO(I)) for I=1,M.
47
48 IER (Integer, Output) - An error return value. If IER is
49 returned as 0, then no errors were detected. If IER is non-
50 zero, then refer to the man page for dsgrid_errors for
51 details.
52
54 This subroutine is called when you want to interpolate at an individual
55 point or points.
56
58 To use DSPNT3D, load the NCAR Graphics library ngmath.
59
61 dsgrid, dsgrid_params.
62
63 Complete documentation for Dsgrid is available at URL
64 http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html
65
67 Copyright (C) 2000
68 University Corporation for Atmospheric Research
69
70 This documentation is free software; you can redistribute it and/or
71 modify it under the terms of the GNU General Public License as pub‐
72 lished by the Free Software Foundation; either version 2 of the
73 License, or (at your option) any later version.
74
75 This software is distributed in the hope that it will be useful, but
76 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
77 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
78 Public License for more details.
79
80 You should have received a copy of the GNU General Public License along
81 with this software; if not, write to the Free Software Foundation,
82 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
83
84
85
86
87UNIX September 1997-1998 DSPNT3D(3NCARG)