DSPNT3D(3NCARG)

πŸ’– DSPNT3D β€” the 3D single-point interpolator (NCAR Graphics, 3NCARG) πŸ’–

okay bestie, sit down, hydrate, because we're about to talk about DSPNT3D β€” the Fortran routine that interpolates at one single point (or a whole little squad of points) in 3D, and it does it all in double precision because we are not doing sloppy floats in this house. πŸ’…


✨ NAME ✨

DSPNT3D</purl> β€” Interpolate at a single point (or points) in 3D in double precision.


✨ SYNOPSIS ✨

CALL DSPNT3D (N, X, Y, Z, U, M, XO, YO, ZO, UO, IER)

✨ DESCRIPTION ✨

okay so here's the whole cast, and yes, they all get their own intro because they earned it:

  • N β€” (Integer, Input) β€” The number of input data points.
  • X β€” (Double precision, Input) β€” An array containing the X coordinates of the input data points.
  • Y β€” (Double precision, Input) β€” An array containing the Y coordinates of the input data points.
  • Z β€” (Double precision, Input) β€” An array containing the Z coordinates of the input data points.
  • U β€” (Double precision, Input) β€” An array containing the functional values of the input data points. That is, U(L) is the value of the input function at coordinate (X(L),Y(L),Z(L)), for L=1,N.
  • M β€” (Integer, Input) β€” The number of output data points (this may be "1").
  • XO β€” (Double precision, Input) β€” An array of dimension M containing the X coordinates of the output data. The values in XO may be in any order.
  • YO β€” (Double precision, Input) β€” An array of dimension M containing the Y coordinates of the output data. The values in YO may be in any order.
  • ZO β€” (Double precision, Input) β€” An array of dimension M containing the Z coordinates of the output data. The values in ZO may be in any order.
  • UO β€” (Double precision, output) β€” An array of dimension M containing the interpolated values. UO(I) is the interpolated value at point (XO(I),YO(I),ZO(I)) for I=1,M.
  • IER β€” (Integer, Output) β€” An error return value. If IER is returned as 0, then no errors were detected. If IER is non-zero, then refer to the man page for dsgrid_errors for details. 🚨
ngl the IER check is the vibe check of this whole routine. 0 = we slayed. non-zero = go read dsgrid_errors, bestie, it's giving diagnostics.

✨ USAGE ✨

This subroutine is called when you want to interpolate at an individual point or points. 🎯


✨ ACCESS ✨

To use DSPNT3D, load the NCAR Graphics library ngmath. 🫢


✨ SEE ALSO ✨

  • dsgrid
  • dsgrid_params

Complete documentation for Dsgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html


Copyright (C) 2000 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.


and that's the whole page, periodt πŸ’– This was DSPNT3D(3NCARG) from the NCAR GRAPHICS manual, in the UNIX manual set β€” that version is dated September 1997-1998. go interpolate something iconic, you got this πŸ‘‘βœ¨