node_scalar, node_vector
Synopsis
Data mappers that create Node_Data objects given data array(s)
Input Port
in_data
|
any primitive
|
node data
|
Output Port
Description
The node_scalar and node_vector macros create Node_Data objects that can merge with a Mesh object to create a field. A Node_Data object represents the values of some dataset at the node points of a field, while the Mesh represents the locations of that field's nodes in space.
These macros simplify the process of generating field data by reducing the amount of data you must supply to create a field. Usually the output of one of these macros is combined, using combine_mesh_data, with the output of one of the mesh mapper macros to create a field.
Input
in_data
array of any primitive type. Contains the node data to use. For node_scalar, the array's length should be the number of nodes in the dataset. For node_vector, the array's length should be nnodes * veclen .
Parameters
none.
Output Port
out
Node_Data. The node data object containing the given data array.
Example
Not available
File
v/fld_map.v
See also related modules