# GMS:Quadratic Nodal Functions

The nodal functions used in inverse distance weighted interpolation can be higher degree polynomial functions constrained to pass through the data points and approximate the nearby points in a least squares manner. Quadratic polynomials have been found to work well in many cases (Franke & Nielson 1980; Franke 1982). The resulting surface reproduces local variations implicit in the dataset, is smooth, and approximates the quadratic nodal functions near the data points. The equation used for the quadratic nodal function centered at point *k* is as follows:

To define the function, the six coefficients *a _{k1}..a_{k6}* must be found. Since the function is centered at the point

*k*and passes through point

*k*, we know beforehand that

*a*where

_{k1}=f_{k}*f*is the function value at point

_{k}*k*. The equation simplifies to:

Now there are only five unknown coefficients. The coefficients are found by fitting the quadratic to the nearest *NQ* data points using a weighted least squares approach. In order for the matrix equation used to solve for the coefficients to be stable, there should be at least five data points in the set.

## 3D Interpolation

For 3D interpolation, the following equation is added to the quadratic nodal function:

To define the function, the ten coefficients *a _{k1}..a_{k10}* must be found. Since the function is centered on point

*k*, we know that

*a*where

_{k1}=f_{k}*f*is the data value at point

_{k}*k*. The equation simplifies to:

Now there are only nine unknown coefficients. The coefficients are found by fitting the quadratic to a subset of the neighboring data points in a weighted least squares fashion. In order for the matrix equation used to be solve for the coefficients to be stable, there should be at least ten non-coplanar data points in the set.

## Related Topics

GMS – Groundwater Modeling System | ||
---|---|---|

Modules: | 2D Grid • 2D Mesh • 2D Scatter Point • 3D Grid • 3D Mesh • 3D Scatter Point • Boreholes • GIS • Map • Solid • TINs • UGrids | |

Models: | FEFLOW • FEMWATER • MODAEM • MODFLOW • MODPATH • mod-PATH3DU • MT3DMS • MT3D-USGS • PEST • PHT3D • RT3D • SEAM3D • SEAWAT • SEEP2D • T-PROGS • ZONEBUDGET | |

Aquaveo |