|
Exodus
7.10
|
#include "exodusII.h"#include "exodusII_int.h"#include "netcdf.h"#include <stddef.h>#include <stdio.h>#include <string.h>Functions | |
| int | ex_put_info (int exoid, int num_info, char *info[]) |
| int ex_put_info | ( | int | exoid, |
| int | num_info, | ||
| char * | info[] | ||
| ) |
The function ex_put_info() writes information records to the database. The records are MAX_LINE_LENGTH-character strings.
In case of an error, ex_put_info() returns a negative number; a warning will return a positive number. Possible causes of errors include:
| [in] | exoid | exodus file ID returned from a previous call to ex_create() or ex_open(). |
| [in] | num_info | The number of information records. |
| [in] | info | Array containing the information records. To only define the number of info records instead of defining and outputting, pass NULL for info argument. |
The following code will write out three information records to an open exodus file -
The following code will first tell the database that there are three information records, and then later actually output those records.