FLDset_cell_data_comp


Synopsis

set all basic characteristics of a single Cell_Data cell_set cell_data component in one call


int FLDset_cell_data_comp (
OMobj_id cell_set,
int comp,
int veclen,
const char *label,
const char *units);

Description

FLDset_cell_data_comp sets all the basic characteristics of a single Cell_Data cell_set cell_data Data_Array component in one call, except the actual data. You use it to quickly establish the structure of an output Cell_Data cell_set cell_data component.

Parameters

OMobj_id field

The OMobj_id of a cell_set within a Cell_Data that contains a cell_data Data_Array of components.

int comp

An integer that specifies which component's [0-n] characteristics are being set.

int veclen

An integer that specifies the veclen (number of subcomponents) in this component.

const char *label

A character string from which the label for this component will be copied.

const char *units

A character string from which the units for this component will be copied.

Example

This example, a fragment from modules/rd_ucd.c, shows Read_UCD setting the description of its output field.