DVselect_cells


Synopsis

extract one or more Cell_Sets from a Cells Grid


group DVselect_cells {
Mesh+Iparam ∈
int+Iparam sets[];
Cells+Oparam out_cells {
*cell_set[];
ncell_sets => array_size(cell_set);
};
Mesh+nonotify+OPort2 &out =>merge(out_cells, in);
method+notify_val+notify_inst upd_select_cells = "select_cells";
};

Description

DVselect_cells extracts one or more Cell_Sets from a Cells Grid. You use it, for example, 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

&in

A reference to an input Mesh that contains one or more Cell_Sets.

sets[]

An integer array of variable length. Each array element is the index of a Cell_Set to extract. The array is as long as the number of Cell_Sets to be extracted. This array is typically generated by referencing the output of a UIoptionBoxLabel widget and the DVcell_labels base module.

Output

&out

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.

Files

v/dv.v
modules/sel_cell.c

Example

Libraries.Main.Filters.select_cell

See also