TOC PREV NEXT INDEX

DVcell_to_node

Synopsis

convert Cell_Data to Node_Data

module DVcell_to_node {
Mesh+Cell_Data+Iparam &in {
xform+nonotify;
};
int+Iparam comps[];
int+Iparam order;
Node_Data+Oparam out_nd {
nnodes+nowrite => in.nnodes;
node_data.nvals+nowrite;
};
Mesh+Node_Data+OPort2+nonotify &out
=> merge(out_nd,in);
method+notify_val+notify_inst upd_cell_to_node<status=1>
= "DVcell_to_node_update";
};

Description

DVcell_to_node converts Cell_Data to Node_Data. It is necessary to visualize cell-based data when the visualization macro or base module selected does 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

A reference to a field containing any type of Mesh and also Cell_Data.

comps[]

An integer array of variable length that specifies which components (0-n) of the input Cell_Data to convert to Node_Data. As many components will be converted as the length of this array. If the Cell_Data contains multiple cell_sets, then the conversion is performed on the specified components in each cell_set. This array is generally provided by a combination of UIoptionBoxLabel and DVcell_data_labels.

order

An integer that sets the order of interpolation. Allowed values are:0 :       averaging. A node's value is computed by averaging values at all adjoining cells.1-n :     A node's value is computed by interpolating values using distances from the node to the adjoining cell centroids.

Output

&out

The output is a reference to a merged object that contains the new Node_Data, plus the existing Mesh and Cell_Data.

Example

Libraries.Main.Filters.cell_to_node

File

v/dv.v

modules/cellnode.cUtility DVM macrosDVMcell_to_node_param

See also

DVcell_data_labels
DVextr_cell_comp
DVcell_labels
DVselect_cells

TOC PREV NEXT INDEX