(CGNS Documentation Home Page)
(Steering Committee Charter)
(Overview and Entry-Level Document)
(A User's Guide to CGNS)
(Standard Interface Data Structures)
(SIDS-to-ADF File Mapping Manual)
(SIDS-to-HDF File Mapping Manual)
(Mid-Level Library)
(ADF User's Guide)
(CGNS Tools and Utilities)
(General Remarks)
(Opening and Closing a CGNS File)
(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)
Error Handling
| Functions
| Modes
|
|
error_message = char *cg_get_error();
|
r w m
|
|
void cg_error_exit();
|
r w m
|
|
void cg_error_print();
|
r w m
|
|
call cg_get_error_f(error_message)
|
r w m
|
|
call cg_error_exit_f()
|
r w m
|
|
call cg_error_print_f()
|
r w m
|
If an error occurs during the execution of a CGNS library function,
signified by a non-zero value of the error status variable
ier, an error message may be retrieved using the function
cg_get_error.
The function cg_error_exit may then be used to print the
error message and stop the execution of the program.
Alternatively, cg_error_print may be used to print the
error message and continue execution of the program.