node data to cell data
node data to cell data converts nodal data components to cell data components. Cell data components are associated with cells rather than nodes. Most modules in EVS that deal with analytical or continuum data work with node-based data, while those that deal with geology (lithology) tend to use cell data. node data to cell data converts between the two so nodal data can be used where cell data is needed.
Each cell value can be computed as the average of the cell’s nodal values, which suits continuous data such as concentrations, or as the majority value, which suits categorical data such as material IDs.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | The field to use for conversion. |
| Output | Output Field | Field | The field containing the mapped data and the converted cell data. |
| Output | Output Object | Renderable | A renderable object to display. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off. This allows the user to make multiple changes without the module constantly updating. |
| Execute | Button | Causes the module to run one time even if Allow Run has been turned off. |
| Node Components To Convert | Multi-select | Selects which nodal data components to convert to cell data. Options are the nodal data components of the input field; includes an option to automatically select all components. |
| Output Nodal Data | Choice: Preserve All Node Data, Remove Converted Node Data, Remove All Node Data | Specifies how input nodal data is handled in the output. The default is Remove All Node Data. |
| Conversion Type | Choice: Average Values, Majority Values | The conversion algorithm. Average Values uses the average value of the nodes connected to each cell. Majority Values uses the value that most of the cell’s nodes have in common; if the nodes all have unique values, the smallest value is used. |