Helper routine: Initialize interpolation coefficients in triangle
The routine computes the coefficients for triangular interpolation as barycentric coordinates. The computation is done for one observation given the observation coordinates (OC) as well as the coordinates of the grid points (GPC). In GPC each row contains the coordinates for one grid point. Thus the first index determines the grid point, while the second the coordinates of this grid point
Revision history: * 2019-12 - Lars Nerger - Initial code * Later revisions - see repository log
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | gpc(:,:) | |||
real, | intent(in) | :: | oc(:) | |||
real, | intent(inout) | :: | icoeff(:) |