select_cells


Synopsis

extract one or more Cell_Sets from a Cells Grid

Input Ports

in_field

Mesh

ui_parent

user interface parent object

 

Parameters

cell sets

UIoptionBoxLabel

pick cells to extract

 

Output Ports

out_fld

Mesh

out_obj

output renderable object

 

Description

select_cells extracts one or more Cell_Sets from a Cells Grid. For example, you use it if the Grid contains both Tri and Hex cells and all you want the downstream module to work on is the Tri cell_set.

Input Ports

in_field

The input is a field with an unstructured Mesh. Typically, this mesh contains more than the usual one Cell_Set.

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 sets

UIoptionBoxLabel. A series of buttons to select which Cell_Sets to extract. The labels displayed include the Cell_Set's cell_name value (the type of cell), plus any user-supplied names that may have been added. You can pick multiple Cell_Sets.

Output Ports

out_fld

The output is a reference to a merged object that contains a new Cells object with the selected cell_sets, plus the remainder of the input Mesh.

out_obj

This is a renderable version of the output field.

Files

v/modules.v

Example

Libraries.Examples.Visualization.Cell_Data
examples/celld.v

See also

Related modules