1SHGRID(3NCARG)                   NCAR GRAPHICS                  SHGRID(3NCARG)
2
3
4

NAME

6       SHGRID  - interpolate random data in 3-space using a modified Shepard's
7       algorithm
8

SYNOPSIS

10       CALL SHGRID (N, X, Y, Z, F, NXO, NYO, NZO, XO, YO, ZO,
11                   FF, IWK, RWK, IER)
12

DESCRIPTION

14       N           (integer,input) The number of input data points (N > 9).
15
16       X           (real, input) An array containing the X coordinates of  the
17                   input data points.  X is dimensioned for N.
18
19       Y           (real,  input) An array containing the Y coordinates of the
20                   input data points.  Y is dimensioned for N.
21
22       Z           (real, input) An array containing the Z coordinates of  the
23                   input data points.  Z is dimensioned for N.
24
25       F           (real,  input) Array dimensioned for N containing data val‐
26                   ues.  F(I) is a functional value at (X(I),Y(I),Z(I)) for  I
27                   = 1 to N.
28
29       NXO         (integer,  input)  The number of X coordinate values in the
30                   output grid.
31
32       NYO         (integer, input) The number of Y coordinate values  in  the
33                   output grid.
34
35       NZO         (integer,  input)  The number of Z coordinate values in the
36                   output grid.
37
38       XO          (real, input) An array dimensioned for NXO containing the X
39                   coordinates of the output surface.
40
41       YO          (real, input) An array dimensioned for NYO containing the Y
42                   coordinates of the output surface.
43
44       ZO          (real, input) An array dimensioned for NZO containing the Y
45                   coordinates of the output surface.
46
47       FF          (real,  output)  An  array  dimensioned for NXO x NYO x NZO
48                   containing the calculated function values  for  the  output
49                   function.   FF(I,J,K) is the calculated functional value at
50                   (XO(I), YO(J), ZO(K)) for I=1,NXO and J=1,NYO and K=1,NZO.
51
52       IRK         (integer, input) An integer workspace of  length  at  least
53                   2*N.
54
55       RWK         (real, input) A work array dimensioned for 11*N+6.
56
57       IER         (integer,  output)  An  error  return  value.   If  IER  is
58                   returned as 0, then no errors were detected. If IER is non-
59                   zero,  then  refer  to  the  man page for shgrid_errors for
60                   details.
61

USAGE

63       SHGRID is called  to  interpolate  randomly  spaced  data  in  3-space.
64       SHGRID  uses  a modified Shepard's algorithm to construct an interpola‐
65       tory surface.
66

ACCESS

68       To use SHGRID, load the NCAR Graphics library ngmath.
69

SEE ALSO

71       shgrid_params, shseti, shgeti, shgetnp.
72
73       Complete documentation for Shgrid is available at URL
74       http://ngwww.ucar.edu/ngdoc/ng/ngmath/shgrid/shhome.html
75
77       Copyright (C) 2000
78       University Corporation for Atmospheric Research
79
80       The use of this Software is governed by a License Agreement.
81
82
83
84UNIX                            September 1999                  SHGRID(3NCARG)
Impressum