barycentric_interpolate#

iskra.geometry.barycentric.barycentric_interpolate(values: Tensor, bary: Tensor) Tensor[SOURCE]#

Interpolate values onto a position given barycentric coordinates.

Parameters:
  • values (Tensor[Float, [Bs, SDim, F]]) – The F-dimensional per-corner values to be interpolated.

  • bary (Tensor[Float, [Bs, Sdim]]) – The barycentric coordinates.

Returns:

(Tensor[Float, [Bs, F]]) – Interpolated values.