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

Functions

int ex_open_int (const char *path, int mode, int *comp_ws, int *io_ws, float *version, int run_version)

Function Documentation

int ex_open_int ( const char *  path,
int  mode,
int *  comp_ws,
int *  io_ws,
float *  version,
int  run_version 
)

opens an existing EXODUS II file (or EXODUS II history file) and returns an id that can subsequently be used to refer to the file. Multiple files may be open simultaneously.

Parameters:
pathexodus filename path
modeaccess mode w/r
[out]comp_wscomputer word size
[out]io_wsstorage word size
[out]versionEXODUSII interface version number
run_versionEXODUSII version number of linked library
Returns:
exoid exodus file id

References ATT_FLT_WORDSIZE, ATT_FLT_WORDSIZE_BLANK, ATT_VERSION, EX_API_VERS_NODOT, EX_BADFILEMODE, ex_conv_ini(), ex_err(), EX_FATAL, EX_NOERR, ex_opts(), EX_READ, EX_WRITE, exerrval, exoptval, and MAX_ERR_LENGTH.