ExodusII 4.96
exgatm.c File Reference
#include <string.h>
#include "exodusII.h"
#include "exodusII_int.h"
Include dependency graph for exgatm.c:

Functions

int ex_get_all_times (int exoid, void *time_values)

Function Documentation

int ex_get_all_times ( int  exoid,
void *  time_values 
)

reads the time values for all time steps. Memory must be allocated for the time values array before this function is invoked. The storage requirements (equal to the number of time steps) can be determined by using the ex_inquire() routine.

Parameters:
exoidexodus file id
[out]time_valuesReturned array of time values at all time steps.

References ex_comp_ws(), ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, and VAR_WHOLE_TIME.