ExodusII 4.96
exodusII_ext.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ex_init_params
struct  ex_block_params
struct  ex_set_specs
struct  ex_var_params

Defines

#define EXODUS_EXPORT   extern

Typedefs

typedef struct ex_init_params ex_init_params
typedef struct ex_block_params ex_block_params
typedef struct ex_set_specs ex_set_specs
typedef struct ex_var_params ex_var_params

Functions

int ex_put_init_ext (int, const ex_init_params *)
int ex_get_init_ext (int, ex_init_params *)
int ex_put_num_map (int, ex_entity_type, int, const int *)
int ex_get_num_map (int, ex_entity_type, int, int *)
int ex_put_block (int, ex_entity_type, int, const char *, int, int, int, int, int)
int ex_get_block (int, ex_entity_type, int, char *, int *, int *, int *, int *, int *)
int ex_put_concat_all_blocks (int, const ex_block_params *)
int ex_put_entity_count_per_polyhedra (int, ex_entity_type, int, const int *)
int ex_get_entity_count_per_polyhedra (int, ex_entity_type, int, int *)
int ex_put_conn (int, ex_entity_type, int, const int *, const int *, const int *)
int ex_get_conn (int, ex_entity_type, int, int *, int *, int *)
int ex_get_n_conn (int, ex_entity_type, int, int, int, int *, int *, int *)
int ex_put_attr (int, ex_entity_type, int, const void *)
int ex_get_attr (int, ex_entity_type, int, void *)
int ex_put_one_attr (int, ex_entity_type, int, int, const void *)
int ex_get_one_attr (int, ex_entity_type, int, int, void *)
int ex_get_n_one_attr (int exoid, ex_entity_type obj_type, int obj_id, int start_num, int num_ent, int attrib_index, void *attrib)
int ex_put_attr_names (int, ex_entity_type, int, char **)
int ex_get_attr_names (int, ex_entity_type, int, char **)
int ex_put_set_param (int, ex_entity_type, int, int, int)
int ex_get_set_param (int, ex_entity_type, int, int *, int *)
int ex_put_set (int, ex_entity_type, int, const int *, const int *)
int ex_get_set (int, ex_entity_type, int, int *, int *)
int ex_put_set_dist_fact (int, ex_entity_type, int, const void *)
int ex_get_set_dist_fact (int, ex_entity_type, int, void *)
int ex_put_concat_sets (int, ex_entity_type, const ex_set_specs *)
int ex_get_concat_sets (int, ex_entity_type, ex_set_specs *)
int ex_put_all_var_param_ext (int, const ex_var_params *)
int ex_put_var (int, int, ex_entity_type, int, int, int, const void *)
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)
int ex_get_var (int, int, ex_entity_type, int, int, int, void *)
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)
int ex_get_var_time (int, ex_entity_type, int, int, int, int, void *)

Define Documentation

#define EXODUS_EXPORT   extern

Function Documentation

int ex_get_entity_count_per_polyhedra ( int  exoid,
ex_entity_type  blk_type,
int  blk_id,
int *  entity_counts 
)

reads in the number of entities (nodes/faces) per polyhedra (nsided/nfaced) in this element block.

Parameters:
exoidexodus file id
blk_typetype of block (face, or element)
blk_idblock identifer
entity_countsentity_per_polyhedra count array

References EX_ELEM_BLOCK, ex_err(), EX_FACE_BLOCK, EX_FATAL, ex_id_lkup(), EX_MSG, ex_name_of_object(), EX_NOERR, EX_NULLENTITY, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_EBEPEC, and VAR_FBEPEC.

int ex_get_n_one_attr ( int  exoid,
ex_entity_type  obj_type,
int  obj_id,
int  start_num,
int  num_ent,
int  attrib_index,
void *  attrib 
)

reads the specified attribute for a subsect of a block

Parameters:
exoidexodus file id
obj_typeobject type (edge, face, elem block)
obj_idobject id (edge, face, elem block ID)
start_numthe starting index of the attributes to be returned.
num_entthe number of entities to read attributes for.
attrib_indexindex of attribute to write
attribarray of attributes

References DIM_NUM_ATT_IN_BLK, DIM_NUM_ATT_IN_EBLK, DIM_NUM_ATT_IN_ELS, DIM_NUM_ATT_IN_ES, DIM_NUM_ATT_IN_FBLK, DIM_NUM_ATT_IN_FS, DIM_NUM_ATT_IN_NBLK, DIM_NUM_ATT_IN_NS, DIM_NUM_ATT_IN_SS, DIM_NUM_ED_IN_EBLK, DIM_NUM_EDGE_ES, DIM_NUM_EL_IN_BLK, DIM_NUM_ELE_ELS, DIM_NUM_FA_IN_FBLK, DIM_NUM_FACE_FS, DIM_NUM_NOD_NS, DIM_NUM_NODES, DIM_NUM_SIDE_SS, EX_BADPARAM, 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_get_dimension(), ex_id_lkup(), EX_MSG, ex_name_of_object(), EX_NODAL, EX_NODE_SET, EX_NOERR, EX_NULLENTITY, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, elem_blk_parm::num_attr, VAR_ATTRIB, VAR_EATTRIB, VAR_ELSATTRIB, VAR_ESATTRIB, VAR_FATTRIB, VAR_FSATTRIB, VAR_NATTRIB, VAR_NSATTRIB, and VAR_SSATTRIB.

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.

int ex_get_set ( int  exoid,
ex_entity_type  set_type,
int  set_id,
int *  set_entry_list,
int *  set_extra_list 
)
int ex_get_set_dist_fact ( int  exoid,
ex_entity_type  set_type,
int  set_id,
void *  set_dist_fact 
)
int ex_put_all_var_param_ext ( int  exoid,
const ex_var_params vp 
)

writes the number of global, nodal, element, nodeset, and sideset variables that will be written to the database

Parameters:
exoidexodus file id
*vppointer to variable parameter info

References define_dimension(), define_variable_name_variable(), 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_GLO_VAR, DIM_NUM_NOD_VAR, DIM_NUM_NODES, DIM_NUM_NS, DIM_NUM_NSET_VAR, DIM_NUM_SS, DIM_NUM_SSET_VAR, DIM_STR, DIM_TIME, ex_var_params::edge_var_tab, ex_var_params::elem_var_tab, ex_var_params::elset_var_tab, ex_var_params::eset_var_tab, EX_DEFINE_VARS, EX_EDGE_BLOCK, EX_EDGE_SET, EX_ELEM_BLOCK, EX_ELEM_SET, ex_err(), EX_FACE_BLOCK, EX_FACE_SET, EX_FATAL, EX_GET_IDS_STATUS, ex_large_model(), EX_NODE_SET, EX_NOERR, EX_SIDE_SET, exerrval, ex_var_params::face_var_tab, ex_var_params::fset_var_tab, MAX_ERR_LENGTH, nc_flt_code(), ex_var_params::nset_var_tab, ex_var_params::num_edge, ex_var_params::num_elem, ex_var_params::num_elset, ex_var_params::num_eset, ex_var_params::num_face, ex_var_params::num_fset, ex_var_params::num_glob, ex_var_params::num_node, ex_var_params::num_nset, ex_var_params::num_sset, put_truth_table(), safe_free(), ex_var_params::sset_var_tab, VAR_EBLK_TAB, VAR_ELEM_TAB, VAR_ELS_STAT, VAR_ELSET_TAB, VAR_ES_STAT, VAR_ESET_TAB, VAR_FBLK_TAB, VAR_FS_STAT, VAR_FSET_TAB, VAR_GLO_VAR, VAR_NAME_EDG_VAR, VAR_NAME_ELE_VAR, VAR_NAME_ELSET_VAR, VAR_NAME_ESET_VAR, VAR_NAME_FAC_VAR, VAR_NAME_FSET_VAR, VAR_NAME_GLO_VAR, VAR_NAME_NOD_VAR, VAR_NAME_NSET_VAR, VAR_NAME_SSET_VAR, VAR_NOD_VAR, VAR_NOD_VAR_NEW, VAR_NS_STAT, VAR_NSET_TAB, VAR_SS_STAT, VAR_SSET_TAB, VAR_STAT_ED_BLK, VAR_STAT_EL_BLK, and VAR_STAT_FA_BLK.

Referenced by ex_put_all_var_param().

int ex_put_attr ( int  exoid,
ex_entity_type  blk_type,
int  blk_id,
const void *  attrib 
)

writes the attributes for an edge/face/element block

Parameters:
exoidexodus file id
blk_typeblock type
blk_idblock id
attribarray of attributes

References 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_id_lkup(), EX_MSG, ex_name_of_object(), EX_NODAL, EX_NODE_SET, EX_NOERR, EX_NULLENTITY, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_ATTRIB, VAR_EATTRIB, VAR_ELSATTRIB, VAR_ESATTRIB, VAR_FATTRIB, VAR_FSATTRIB, VAR_NATTRIB, VAR_NSATTRIB, and VAR_SSATTRIB.

Referenced by ex_put_elem_attr().

int ex_put_attr_names ( int  ,
ex_entity_type  ,
int  ,
char **   
)

Referenced by ex_put_elem_attr_names().

int ex_put_block ( int  exoid,
ex_entity_type  blk_type,
int  blk_id,
const char *  entry_descrip,
int  num_entries_this_blk,
int  num_nodes_per_entry,
int  num_edges_per_entry,
int  num_faces_per_entry,
int  num_attr_per_entry 
)

writes the parameters used to describe an element block

Parameters:
exoidexodus file id
blk_typetype of block (edge, face, or element)
blk_idblock identifer
entry_descripstring describing shape of entries in the block
num_entries_this_blknumber of entries(records) in the block
num_nodes_per_entrynumber of nodes per block entry
num_edges_per_entrynumber of edges per block entry
num_faces_per_entrynumber of faces per block entry
num_attr_per_entrynumber of attributes per block entry

References ATT_NAME_ELB, DIM_NUM_ATT_IN_BLK, DIM_NUM_ATT_IN_EBLK, DIM_NUM_ATT_IN_FBLK, DIM_NUM_ED_BLK, DIM_NUM_ED_IN_EBLK, DIM_NUM_EDG_PER_EL, DIM_NUM_EL_BLK, DIM_NUM_EL_IN_BLK, DIM_NUM_FA_BLK, DIM_NUM_FA_IN_FBLK, DIM_NUM_FAC_PER_EL, DIM_NUM_NOD_PER_ED, DIM_NUM_NOD_PER_EL, DIM_NUM_NOD_PER_FA, DIM_STR, EX_BADPARAM, EX_EDGE_BLOCK, EX_ELEM_BLOCK, ex_err(), EX_FACE_BLOCK, EX_FATAL, ex_get_counter_list(), ex_get_dimension(), ex_get_file_item(), ex_id_lkup(), ex_inc_file_item(), EX_LOOKUPFAIL, EX_MSG, ex_name_of_object(), EX_NOERR, exerrval, MAX_ERR_LENGTH, nc_flt_code(), NULL, VAR_ATTRIB, VAR_CONN, VAR_EATTRIB, VAR_EBCONN, VAR_EBEPEC, VAR_ECONN, VAR_FATTRIB, VAR_FBCONN, VAR_FBEPEC, VAR_FCONN, VAR_ID_ED_BLK, VAR_ID_EL_BLK, VAR_ID_FA_BLK, VAR_NAME_ATTRIB, VAR_NAME_EATTRIB, VAR_NAME_FATTRIB, VAR_STAT_ED_BLK, VAR_STAT_EL_BLK, and VAR_STAT_FA_BLK.

Referenced by ex_put_elem_block().

int ex_put_concat_all_blocks ( int  exoid,
const ex_block_params param 
)

writes the parameters used to describe all element, edge, and face blocks

Parameters:
exoidexodus file id
paramblock parameters structure

References ATT_NAME_ELB, ex_block_params::define_maps, DIM_NUM_ATT_IN_BLK, DIM_NUM_ATT_IN_EBLK, DIM_NUM_ATT_IN_FBLK, DIM_NUM_ED_BLK, DIM_NUM_ED_IN_EBLK, DIM_NUM_EDG_PER_EL, DIM_NUM_EDGE, DIM_NUM_EDM, DIM_NUM_EL_BLK, DIM_NUM_EL_IN_BLK, DIM_NUM_ELEM, DIM_NUM_EM, DIM_NUM_FA_BLK, DIM_NUM_FA_IN_FBLK, DIM_NUM_FAC_PER_EL, DIM_NUM_FACE, DIM_NUM_FAM, DIM_NUM_NM, DIM_NUM_NOD_PER_ED, DIM_NUM_NOD_PER_EL, DIM_NUM_NOD_PER_FA, DIM_NUM_NODES, DIM_STR, ex_block_params::edge_blk_id, ex_block_params::edge_type, ex_block_params::elem_blk_id, ex_block_params::elem_type, EX_EDGE_BLOCK, EX_EDGE_MAP, EX_ELEM_BLOCK, EX_ELEM_MAP, ex_err(), EX_FACE_BLOCK, EX_FACE_MAP, EX_FATAL, ex_get_counter_list(), ex_get_file_item(), ex_inc_file_item(), ex_name_of_map(), EX_NODE_MAP, EX_NOERR, EX_PREPARE_ATTRIB_ARRAY, EX_PREPARE_BLOCK, EX_PREPARE_CONN, exerrval, ex_block_params::face_blk_id, ex_block_params::face_type, MAX_ERR_LENGTH, ex_block_params::num_attr_edge, ex_block_params::num_attr_elem, ex_block_params::num_attr_face, ex_block_params::num_edge_this_blk, ex_block_params::num_edges_per_elem, ex_block_params::num_elem_this_blk, ex_block_params::num_face_this_blk, ex_block_params::num_faces_per_elem, ex_block_params::num_nodes_per_edge, ex_block_params::num_nodes_per_elem, ex_block_params::num_nodes_per_face, VAR_ATTRIB, VAR_CONN, VAR_EATTRIB, VAR_EBCONN, VAR_ECONN, VAR_FATTRIB, VAR_FBCONN, VAR_FCONN, VAR_ID_ED_BLK, VAR_ID_EL_BLK, VAR_ID_FA_BLK, VAR_NAME_ATTRIB, VAR_NAME_EATTRIB, VAR_NAME_FATTRIB, VAR_STAT_ED_BLK, VAR_STAT_EL_BLK, and VAR_STAT_FA_BLK.

int ex_put_concat_sets ( int  ,
ex_entity_type  ,
const ex_set_specs  
)
int ex_put_conn ( int  exoid,
ex_entity_type  blk_type,
int  blk_id,
const int *  node_conn,
const int *  elem_edge_conn,
const int *  elem_face_conn 
)

writes the connectivity array for a block

Parameters:
exoidexodus file id
blk_typetype of block
blk_idid of block
node_connnode-element connectivity
elem_edge_connelement-edge connectivity (NULL if none)
elem_face_connelement-face connectivity (NULL if none)

References DIM_NUM_EDG_PER_EL, DIM_NUM_FAC_PER_EL, EX_EDGE_BLOCK, EX_ELEM_BLOCK, ex_err(), EX_FACE_BLOCK, EX_FATAL, ex_id_lkup(), EX_MSG, ex_name_of_object(), EX_NOERR, EX_NULLENTITY, EX_WARN, EX_WRITE_CONN, exerrval, MAX_ERR_LENGTH, VAR_CONN, VAR_EBCONN, VAR_ECONN, VAR_FBCONN, and VAR_FCONN.

Referenced by ex_put_elem_conn().

int ex_put_entity_count_per_polyhedra ( int  exoid,
ex_entity_type  blk_type,
int  blk_id,
const int *  entity_counts 
)

writes out the number of entities (nodes/faces) per polyhedra (nsided/nfaced) in this element block to the database.

Parameters:
exoidexodus file id
blk_typetype of block (face, or element)
blk_idblock identifer
entity_countsentity_per_polyhedra count array

References EX_ELEM_BLOCK, ex_err(), EX_FACE_BLOCK, EX_FATAL, ex_id_lkup(), EX_MSG, ex_name_of_object(), EX_NOERR, EX_NULLENTITY, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_EBEPEC, and VAR_FBEPEC.

int ex_put_init_ext ( int  exoid,
const ex_init_params model 
)

writes the initialization parameters to the EXODUS II file

Parameters:
exoidexodus file id
modelfinite element model parameters

References ATT_TITLE, DIM_NUM_DIM, DIM_NUM_ED_BLK, DIM_NUM_EDGE, DIM_NUM_EDM, DIM_NUM_EL_BLK, DIM_NUM_ELEM, DIM_NUM_ELS, DIM_NUM_EM, DIM_NUM_ES, DIM_NUM_FA_BLK, DIM_NUM_FACE, DIM_NUM_FAM, DIM_NUM_FS, DIM_NUM_NM, DIM_NUM_NODES, DIM_NUM_NS, DIM_NUM_SS, DIM_STR, EX_EDGE_BLOCK, EX_EDGE_MAP, EX_EDGE_SET, EX_ELEM_BLOCK, EX_ELEM_MAP, EX_ELEM_SET, ex_err(), EX_FACE_BLOCK, EX_FACE_MAP, EX_FACE_SET, EX_FATAL, ex_large_model(), EX_MEMFAIL, EX_MSG, EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WRITE_MAP_PARAMS, EX_WRITE_OBJECT_NAMES, EX_WRITE_OBJECT_PARAMS, exerrval, MAX_ERR_LENGTH, MAX_LINE_LENGTH, nc_flt_code(), NULL, ex_init_params::num_dim, ex_init_params::num_edge, ex_init_params::num_edge_blk, ex_init_params::num_edge_maps, ex_init_params::num_edge_sets, ex_init_params::num_elem, ex_init_params::num_elem_blk, ex_init_params::num_elem_maps, ex_init_params::num_elem_sets, ex_init_params::num_face, ex_init_params::num_face_blk, ex_init_params::num_face_maps, ex_init_params::num_face_sets, ex_init_params::num_node_maps, ex_init_params::num_node_sets, ex_init_params::num_nodes, ex_init_params::num_side_sets, ex_init_params::title, VAR_COORD, VAR_COORD_X, VAR_COORD_Y, VAR_COORD_Z, VAR_EDM_PROP, VAR_ELS_IDS, VAR_ELS_STAT, VAR_EM_PROP, VAR_ES_IDS, VAR_ES_STAT, VAR_FAM_PROP, VAR_FS_IDS, VAR_FS_STAT, VAR_ID_ED_BLK, VAR_ID_EL_BLK, VAR_ID_FA_BLK, VAR_NAME_COOR, VAR_NAME_ED_BLK, VAR_NAME_EDM, VAR_NAME_EL_BLK, VAR_NAME_ELS, VAR_NAME_EM, VAR_NAME_ES, VAR_NAME_FA_BLK, VAR_NAME_FAM, VAR_NAME_FS, VAR_NAME_NM, VAR_NAME_NS, VAR_NAME_SS, VAR_NM_PROP, VAR_NS_IDS, VAR_NS_STAT, VAR_SS_IDS, VAR_SS_STAT, VAR_STAT_ED_BLK, VAR_STAT_EL_BLK, VAR_STAT_FA_BLK, write_dummy_names(), and zero_id_status().

Referenced by ex_put_init().

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.

int ex_put_num_map ( int  exoid,
ex_entity_type  map_type,
int  map_id,
const int *  map 
)

writes a map; this is a vector of integers of the same length as the number of entries in the source object (nodes, edges, faces, or elements in the file).

Parameters:
exoidexodus file id
map_typetype of map (node,edge,face,elem)
map_idid to associate with new map
mapmap set value array

References DIM_NUM_EDGE, DIM_NUM_EDM, DIM_NUM_ELEM, DIM_NUM_EM, DIM_NUM_FACE, DIM_NUM_FAM, DIM_NUM_NM, DIM_NUM_NODES, EX_BADPARAM, EX_EDGE_MAP, EX_ELEM_MAP, ex_err(), EX_FACE_MAP, EX_FATAL, ex_get_counter_list(), ex_get_file_item(), ex_id_lkup(), ex_inc_file_item(), EX_LOOKUPFAIL, EX_MSG, ex_name_of_object(), EX_NODE_MAP, EX_NOERR, exerrval, MAX_ERR_LENGTH, VAR_EDGE_MAP, VAR_EDM_PROP, VAR_ELEM_MAP, VAR_EM_PROP, VAR_FACE_MAP, VAR_FAM_PROP, VAR_NM_PROP, and VAR_NODE_MAP.

Referenced by ex_put_elem_map(), and ex_put_node_map().

int ex_put_one_attr ( int  exoid,
ex_entity_type  obj_type,
int  obj_id,
int  attrib_index,
const void *  attrib 
)
int ex_put_set ( int  exoid,
ex_entity_type  set_type,
int  set_id,
const int *  set_entry_list,
const int *  set_extra_list 
)

writes the set entry list and set extra list for a single set

Parameters:
exoidexodus file id
set_typeset type
set_idset id
*set_entry_listarray of entries in set
*set_extra_listarray of extras in set

References EX_BADPARAM, ex_dim_num_objects(), EX_EDGE_SET, EX_ELEM_SET, ex_err(), EX_FACE_SET, EX_FATAL, ex_id_lkup(), EX_MSG, ex_name_of_object(), EX_NODE_SET, EX_NOERR, EX_NULLENTITY, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, NULL, VAR_EDGE_ES, VAR_ELEM_ELS, VAR_ELEM_SS, VAR_FACE_FS, VAR_NODE_NS, VAR_ORNT_ES, VAR_ORNT_FS, and VAR_SIDE_SS.

Referenced by ex_put_concat_sets(), ex_put_node_set(), and ex_put_side_set().

int ex_put_set_dist_fact ( int  exoid,
ex_entity_type  set_type,
int  set_id,
const void *  set_dist_fact 
)

writes the distribution factors for a single set

Parameters:
exoidexodus file id
set_typeset type
set_idset id
*set_dist_factarray of dist factors for set

References EX_BADPARAM, ex_comp_ws(), ex_dim_num_objects(), EX_EDGE_SET, EX_ELEM_SET, ex_err(), EX_FACE_SET, EX_FATAL, ex_id_lkup(), EX_MSG, ex_name_of_object(), EX_NODE_SET, EX_NOERR, EX_NULLENTITY, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, NULL, VAR_FACT_ELS, VAR_FACT_ES, VAR_FACT_FS, VAR_FACT_NS, and VAR_FACT_SS.

Referenced by ex_put_concat_sets(), ex_put_node_set_dist_fact(), and ex_put_side_set_dist_fact().

int ex_put_set_param ( int  exoid,
ex_entity_type  set_type,
int  set_id,
int  num_entries_in_set,
int  num_dist_fact_in_set 
)
int ex_put_var ( int  exoid,
int  time_step,
ex_entity_type  var_type,
int  var_index,
int  obj_id,
int  num_entries_this_obj,
const void *  var_vals 
)

writes the values of a single variable for one 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
num_entries_this_objnumber 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_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.

Referenced by ex_put_elem_var(), ex_put_glob_vars(), ex_put_nset_var(), and ex_put_sset_var().