combine_mesh_cell_data
Synopsis
combine_mesh_cell_data combines a mesh and cell data array to produce a field.
Input Port
in_mesh
|
Mesh
|
in_data[]
|
prim
|
Parameters
Output Port
out
|
Mesh+Cell_Data
|
out_obj
|
output renderable object
|
Description
combine_mesh_cell_data combines a mesh and a cell data array. The in_data object represents the values of some dataset at the cells of a field, while the in_mesh represents the locations and connectivity of that mesh's nodes and cells. The in_mesh object should have one cell set to which cell data is added. The in_data can be a primitive array of any type: byte, int, float, etc. If in_data is a one dimensional array, the scalar cell data is created. The dimension of this array should be the same as ncells in in_mesh. If it is a two-dimensional array, the low dimension is used for data veclen and the high dimension should be the same as ncells in in_mesh.
This macro simplifies the process of generating field; it combines the output of a mesh mapper with the raw array of cell data.
Input
in_mesh
Mesh containing one cell set.
in_data
prim. This array can be of any primitive type (int, float. etc.)
Parameters
Output Port
out
Mesh+Cell_Data. Mesh with cell data.
obj
Output renderable object corresponding to out.
Example
Not available
File
v/fld_map.v
See also related modules