NTCC Modules Library

PSPLINE

PSPLINE has been moved into a private GitHub repository. Send your GitHub handle to transp_support@pppl.gov to request access.

https://github.com/PrincetonUniversity/pspline
Abstract
PSPLINE -- a collection of Spline and Hermite interpolation tools for 1D, 2D, and 3D datasets on rectilinear grids. Spline routines give full control over boundary conditions -- the user may specify "periodic", "not a knot", 1st derivative match, 2nd derivative match, or divided difference based boundary conditions on either end of each grid dimension. Hermite routines take as input the function value and derivatives at each grid point, giving back a representation of the function between grid points. Routines are provided for creating Hermite datasets, with appropriate boundary conditions applied. The 1D spline and Hermite routines are based on standard methods; the 2D and 3D spline or Hermite interpolation functions are constructed from 1D spline or Hermite interpolation functions in a straightforward manner. The splines are continuously twice differentiable in all directions across all grid cell boundaries and over the entire grid domain; Hermite functions are continuously once differentiable in all directions over the entire grid domain. For a representation of dimensionality N, an N-dimensional spline or Hermite function requires 2**N*(nx1*nx2*...*nxN) memory words. There is also an "explicit spline" representation requiring 4**N*(nx1*nx2*...*nxN) memory words: much more memory but somewhat faster computationally. Spline and Hermite interpolation functions are often much faster to evaluate than other representations using e.g. Fourier series or otherwise involving transcendental functions. PSPLINE now includes EZspline, a fortran-90 interface to the spline and Hermite routines with excellent ease of use features.

As described in PSPLINE HELP, significant improvements to the PSPLINE library were added on Feb. 27, 2004.

DateOfInformation
Thr Jun 18 16:43:48 2009
Domain
Numerical Tools
Keyword
Interpolation, Approximation, Spline, Hermite, Multivariate
Language
Fortran-77 and Fortran-90, C++ for a test example
Name
PSPLINE
TargetEnvironment
AIX, CRAY J90, HP-UX, IRIX64, Linux, Linux Alpha, OSF1, SunOS
VersionDate
02/27/2004
Webpage
https://w3.pppl.gov/NTCC/PSPLINE
ContactIs
transp_support@pppl.gov
Review Information
Pspline_Review

Meta Data URL from which this entry was created:
https://w3.pppl.gov/rib/repositories/NTCC/objects/Asset/pspline.html


Help on [un]subscribing
Home Comments, Suggestions to: transp_support@pppl.gov