Subroutine USER_TINTERP2

Calculates an interpolated temperature at the array of points contained in coords, where coords (3,numpoints) contains the X,Y,Z coordinates of a set of points.

It returns the corresponding interpolated temperature values in tintp (numpoints) array and the elements associated with the set of points in elem (numpoints) array.

Calling convention:

call user_tinterp2(coords, elem,tintp, numpoints)
Arguments Datar type Input/Output Description
coords Input array. (3,*) Call Real array, with coords(1,1), coords (2,1), coords(3,1) respectively being the X,Y,Z coordinates of point 1.
elem Output array Return Integer array of numpoints values containing the external element numbers of the elements associated with the points coords.
tintp Output array Return Double precision array of numpoints values containing the interpolated temperatures at the points coords.
numpoints Input variable Call Number of points in the coords array.