cell_to_node
Synopsis
convert Cell_Data to Node_Data
Input Port
in_field
|
Mesh+Cell_Data
|
ui_parent
|
user interface parent object
|
Parameters
Cell Data Components
|
UIoptionBoxLabel
|
pick cell data components to convert
|
Interpolation Order
|
UIslider
|
set order of interpolation
|
Output Port
out_fld
|
Mesh+Node_Data
|
out_obj
|
output renderable object
|
Description
cell_to_node converts Cell_Data to Node_Data. It is necessary to convert cell-based data to node data when the visualization modules or macros selected do not process cell-based data.
Note: All nodes referenced by a cell with a NULL value will have their Node_Data set to NULL.
Input
in_field
The input is a field with an unstructured Mesh and Cell_Data.
slice_position
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 Components
UIoptionBoxLabel. A series of buttons that let you select which components in the input field to convert to Node_Data. You can select multiple components. If the Cell_Data contains multiple cell_sets, the conversion is performed on the specified components in each cell_set.
Interpolation Order
UIslider. An integer that sets the order of interpolation. Allowed values are:
averaging. A node's value is computed by averaging values at all adjoining cells.
A node's value is computed by interpolating values using distances from the node to the adjoining cell centroids.
Output Port
out_field
The output is a reference to a merged object that contains the new Node_Data, plus the existing Mesh and ell_Data.
out_obj
This is a renderable version of the output field.
Example
Libraries.Examples.Visualization.Cell_Data
v/dv_examp/celld.v
File
v/modules.v
See also related modules