-
Notifications
You must be signed in to change notification settings - Fork 7
Interpolator options
Luc edited this page Jan 6, 2020
·
5 revisions
The argument --interp_values
is used to select the **lateral ** and **longitudinal ** interpolation methods.
If this argument is not provided, the linear interpolation is used as the default interpolation method for the lateral and longitudinal directions. This is generally satisfactory and is robust in case of brupt change in the bathymetry.
💡 The interpolation of X and Y coordinates (for the nodes) is described in the Mesher options.
For advanced user, the interpolation methods implemented in TatooineMesher are:
--interp_values |
Lateral (= crosswise) | Longitudinal |
---|---|---|
Two Consecutive 1D interpolators | ||
LINEAR |
linear (degree 1) | linear (degree 1) |
B-SPLINE |
B-spline (degree 3) | |
AKIMA |
B-spline (degree 3) | |
PCHIP |
Piecewise Cubic Hermite Interpolating Polynomial (degree 3) | |
CUBIC_SPLINE |
Cubic spline (degree 3) | |
Global 2D interpolator | ||
BILINEAR |
bilinear (2x degree 1) | |
BICUBIC |
bilinear (2x degree 3) | |
BIVARIATE_SPLINE (not checked) |
Smooth bivariate spline approximation (2x degree 3) |
See the reference to have a look at the comparison of these methods on a validation test case.