Synopsis
Holds cell-based data associated with all cell sets in a mesh.
int ncell_sets; /* number of different cell sets */
group cell_set[ncell_sets] { /* cell set descriptions */
int ncells; /* number of cells */
int ncell_data = 0; /* number of cell data components */
Data_Array cell_data[ncell_data] { /* data component descriptions */
nvals => ncells;
};
};
};
Description
Cell_Data holds the cell-based numeric data associated with all Cell_Sets in fields with an unstructured mesh. It does not hold the cell's node data.
Subobjects
An integer that sets the number of Cell_Sets. Note that, though this holds the same value as Cell.ncell_sets, you must get/set this number separately as Cell_Data.ncell_sets.
cell_set[ncell_sets]
An array, ncell_sets long. Each object will hold the data for a cell set. Again, note that this is not the same as Cell_Set. There is one cell_set[] for each mesh Cell_Set, but they are not the same array.
ncells
An integer that sets the number of cells.
ncell_data = 0
An integer that sets, for each cell, how many data components it has. The default is 0 (one component).
cell_data[ncell_data]
An array of type Data_Array, ncell_data long. For each cell component, there will be a Data_Array to store it. Each Data_Array will be nvals = ncells long. See Data_Array for more information on how to get/set these values.
Files
v/fld.v
See also
Not applicable.