![]() |
![]() |
![]() |
![]() |
DVselect_cells
Synopsis
extract one or more Cell_Sets from a Cells Grid
module DVselect_cells {
Mesh+Cell_Data_Opt+read+IPort2 &in {
xform+opt+nonotify;
};
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<status=1>
= "DVselect_cells_update";
};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
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
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.
Example
Libraries.Main.Filters.select_cell
File
See also
![]() |
![]() |
![]() |
![]() |