Skip navigation links
(CGNS Documentation Home Page) (Steering Committee Charter) (Overview and Entry-Level Document) (A User's Guide to CGNS) (Mid-Level Library) (Standard Interface Data Structures) (SIDS File Mapping Manual) (CGIO User's Guide) (Parallel CGNS User's Guide) (ADF Implementation) (HDF5 Implementation) (Python Implementation) (CGNS Tools and Utilities)

(General Remarks) (File Operations) (Navigating a CGNS File) (Error Handling) (Structural Nodes) (Descriptors) (Physical Data) (Location and Position) (Auxiliary Data) (Grid Specification) (Solution Data) (Grid Connectivity) (Boundary Conditions) (Equation Specification) (Families) (Time-Dependent Data) (Links)

Descriptors

Descriptive Text

Node: Descriptor_t (SIDS, File Mapping)

Functions Modes
ier = cg_descriptor_write(char *name, char *text); - w m
ier = cg_ndescriptors(int *ndescriptors); r - m
ier = cg_descriptor_read(int D, char *name, char **text); r - m
call cg_descriptor_write_f(name, text, ier) - w m
call cg_ndescriptors_f(ndescriptors, ier) r - m
call cg_descriptor_size_f(D, size, ier) r - m
call cg_descriptor_read_f(D, name, text, ier) r - m

Input/Output

    ndescriptors   Number of Descriptor_t nodes under the current node.
D Descriptor index number, where 1 ≤ Dndescriptors.
name Name of the Descriptor_t node.
text Description held in the Descriptor_t node.
size Size of the descriptor data (Fortran interface only) - integer.
ier Error status.

Note that with cg_descriptor_read the memory for the descriptor character string, text, will be allocated by the Mid-Level Library. The application code is responsible for releasing this memory when it is no longer needed by calling cg_free(text).

Ordinal Value

Node: Ordinal_t (SIDS, File Mapping)

Functions Modes
ier = cg_ordinal_write(int Ordinal); - w m
ier = cg_ordinal_read(int *Ordinal); r - m
call cg_ordinal_write_f(Ordinal, ier) - w m
call cg_ordinal_read_f(Ordinal, ier) r - m

Input/Output

    Ordinal   Any integer value.
ier Error status.