#include <stdio.h>
int main(int argc, char **argv)
{
float version = 0.0;
int CPU_word_size = 0;
int IO_word_size = 4;
&CPU_word_size,
&IO_word_size,
&version);
printf("test.exo exoid = %d\n", exoid);
{
int num_dim, num_nodes, num_elem, num_elem_blk, num_node_sets, num_side_sets;
int error =
ex_get_init(exoid, title, &num_dim, &num_nodes, &num_elem, &num_elem_blk,
&num_node_sets, &num_side_sets);
printf("after ex_get_init, error = %3d\n", error);
if (error) {
exit(-1);
}
else {
exit(0);
}
}
}
@ EX_ABORT
Definition exodusII.h:392
@ EX_VERBOSE
Definition exodusII.h:390
#define EX_READ
Definition exodusII.h:98
#define EX_CLOBBER
Definition exodusII.h:101
int ex_get_init(int exoid, char *title, void_int *num_dim, void_int *num_nodes, void_int *num_elem, void_int *num_elem_blk, void_int *num_node_sets, void_int *num_side_sets)
Definition ex_get_init.c:75
#define MAX_LINE_LENGTH
Definition exodusII.h:415
#define ex_create(path, mode, comp_ws, io_ws)
Definition exodusII.h:591
int ex_opts(int options)
Definition ex_opts.c:56
#define ex_open(path, mode, comp_ws, io_ws, version)
Definition exodusII.h:597
int ex_close(int exoid)
Definition ex_close.c:47