interp_cell_data


Synopsis

samples cell data of one field at the node locations of another "probe" field

Input Ports

in_field

Mesh+Cell_Data

in_probe

Mesh

ui_parent

user interface parent object

 

Output Ports

out_fld

Mesh + Node_Data

out_obj

output renderable object

 

Description

interp_cell_data uses the node coordinates specified in the input mesh (in_probe) as a set of sample points for the in_field. For each sample point, it locates the cell containing that point in the in_field, and uses the (possibly vector) value of the given component in that cell as the node data in the output field.

If there is no cell in in_field containing a given sample point, a null data value is used.

Input Ports

in_field

Mesh+Cell_Data. This field is sampled at the locations determined by the nodes of in_probe.

in_probe

Mesh. The node coordinates of this field define the sample points for interpolating in_field.

ui_parent

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

cell_data

UIradioBoxLabel. Which data component to interpolate.

Output Ports

out_fld

Mesh+Node_Data. The sampled field data.

out_obj

Renderable object corresponding to out_fld.

Example

Not available.

File

v/modules.v

See also