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

Functions

int ex_get_n_var (int exoid, int time_step, ex_entity_type var_type, int var_index, int obj_id, int start_index, int num_entities, void *var_vals)

Function Documentation

int ex_get_n_var ( int  exoid,
int  time_step,
ex_entity_type  var_type,
int  var_index,
int  obj_id,
int  start_index,
int  num_entities,
void *  var_vals 
)

reads the values of a single variable for a partial block at one time step from the database; assume the first time step and variable index and start_index are 1

Parameters:
exoidexodus file id
time_steptime step number
var_typetype (edge block, face block, edge set, ... )
var_indexelement variable index
obj_idelement block id
start_indexindex of first entity in block to read (1-based)
num_entitiesnumber of entries to read in this block/set
var_valsthe values to read

References ex_comp_ws(), ex_err(), EX_FATAL, ex_get_glob_vars(), ex_get_n_nodal_var(), EX_GLOBAL, ex_id_lkup(), EX_MSG, ex_name_of_object(), ex_name_var_of_object(), EX_NODAL, EX_NOERR, EX_NULLENTITY, EX_WARN, exerrval, and MAX_ERR_LENGTH.