interp_data_to_unif
Synopsis
use coordinates from a uniform probe mesh as sample points to interpolate data.
Input Port
Parameters
Output Port
Description
interp_data uses the coordinates specified in an uniform input mesh (in_probe) as a set of sample points for a uniform field. It takes each set of coordinates in the mesh (the sample points), locates these same coordinates in the input field, then calculates what the interpolated data value of the selected component would be at that exact location based on the values of the same component in the adjacent nodes.
Input
A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)
Parameters
UIoptionBoxLabel. A set of option buttons to pick which data components of the input field to interpolate. The default is the first (0th) component. If node data labels are present, they are displayed.
Output Port
The output is a field that is a reference to the merge of the input probe's in_probe mesh, and a new Node_Data object with values consisting of the interpolated component values.
Algorithm
"faster" - For each probe point identify the first cell from from the 'in' field that passes a simple bounding box test. Then loop over the nodes of the cell and do a distance test to determine which node value to use as the value of the output point.
"better quality" - Use the same algorithm as interp_data and DVinterp_data.
File
See also related modules