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

Defines

#define EX_LOOK_UP_VAR(VOBJID, VVAR, VOBJTAB, DNUMOBJ, DNUMOBJVAR)

Functions

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

Define Documentation

#define EX_LOOK_UP_VAR (   VOBJID,
  VVAR,
  VOBJTAB,
  DNUMOBJ,
  DNUMOBJVAR 
)

Referenced by ex_put_n_var(), and ex_put_var().


Function Documentation

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

writes the values of a single variable for a partial block at one time step to the database; assume the first time step and variable 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 write (1-based)
num_entitiesnumber of entries in this block/set
var_valsthe values to be written

References DIM_NUM_ED_BLK, DIM_NUM_EDG_VAR, DIM_NUM_EL_BLK, DIM_NUM_ELE_VAR, DIM_NUM_ELS, DIM_NUM_ELSET_VAR, DIM_NUM_ES, DIM_NUM_ESET_VAR, DIM_NUM_FA_BLK, DIM_NUM_FAC_VAR, DIM_NUM_FS, DIM_NUM_FSET_VAR, DIM_NUM_NS, DIM_NUM_NSET_VAR, DIM_NUM_SS, DIM_NUM_SSET_VAR, ex_comp_ws(), EX_EDGE_BLOCK, EX_EDGE_SET, EX_ELEM_BLOCK, EX_ELEM_SET, ex_err(), EX_FACE_BLOCK, EX_FACE_SET, EX_FATAL, EX_GLOBAL, EX_LOOK_UP_VAR, EX_MSG, ex_name_of_object(), EX_NODAL, EX_NODE_SET, EX_NOERR, ex_put_n_nodal_var(), EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_EBLK_TAB, VAR_EDGE_VAR, VAR_ELEM_TAB, VAR_ELEM_VAR, VAR_ELS_IDS, VAR_ELS_VAR, VAR_ELSET_TAB, VAR_ES_IDS, VAR_ES_VAR, VAR_ESET_TAB, VAR_FACE_VAR, VAR_FBLK_TAB, VAR_FS_IDS, VAR_FS_VAR, VAR_FSET_TAB, VAR_GLO_VAR, VAR_ID_ED_BLK, VAR_ID_EL_BLK, VAR_ID_FA_BLK, VAR_NS_IDS, VAR_NS_VAR, VAR_NSET_TAB, VAR_SS_IDS, VAR_SS_VAR, and VAR_SSET_TAB.