ExodusII 4.96
excre.c File Reference
#include "exodusII.h"
#include "exodusII_int.h"
Include dependency graph for excre.c:

Functions

int ex_create_int (const char *path, int cmode, int *comp_ws, int *io_ws, int run_version)

Function Documentation

int ex_create_int ( const char *  path,
int  cmode,
int *  comp_ws,
int *  io_ws,
int  run_version 
)

creates a new EXODUS II file and returns an id that can subsequently be used to refer to the file. This in an internal function; the external name of this function ix ex_create()

Parameters:
pathfilename of file to create.
cmodeaccess mode. Any of the defines in the Variables controlling the file creation mode. group or'd together.
comp_wsThe word size in bytes (0, 4 or 8) of the floating point variables used in the application program. If 0 (zero) is passed, the default sizeof(float) will be used and returned in this variable. WARNING: all EXODUS II functions requiring floats must be passed floats declared with this passed in or returned compute word size (4 or 8).
io_wsThe word size in bytes (4 or 8) of the floating point data as they are to be stored in the EXODUS II file.
run_version(internally generated) used to verify compatability of libary and include files.

References ATT_API_VERSION, ATT_FILESIZE, ATT_FLT_WORDSIZE, ATT_VERSION, DIM_LIN, DIM_N4, DIM_STR, DIM_TIME, EX_API_VERS, EX_API_VERS_NODOT, EX_BADPARAM, EX_CLOBBER, ex_conv_ini(), ex_err(), EX_FATAL, ex_large_model(), EX_LARGE_MODEL, EX_NETCDF4, EX_NOERR, EX_NORMAL_MODEL, ex_opts(), EX_SHARE, EX_VERS, exerrval, exoptval, MAX_ERR_LENGTH, MAX_LINE_LENGTH, MAX_STR_LENGTH, nc_flt_code(), NULL, and VAR_WHOLE_TIME.