|
ExodusII 4.96
|

Go to the source code of this file.
Defines | |
| #define | EX_API_VERS 4.98 |
| #define | EX_API_VERS_NODOT 498 |
| #define | EX_VERS EX_API_VERS |
| #define | TRUE -1 |
| #define | FALSE 0 |
| #define | EX_NOCLOBBER 0 |
| #define | EX_CLOBBER 1 |
| #define | EX_NORMAL_MODEL 2 |
| #define | EX_LARGE_MODEL 4 |
| #define | EX_NETCDF4 8 |
| #define | EX_NOSHARE 16 |
| #define | EX_SHARE 32 |
| #define | EX_READ 0 |
| #define | EX_WRITE 1 |
| #define | MAX_STR_LENGTH 32L |
| #define | MAX_LINE_LENGTH 80L |
| #define | MAX_ERR_LENGTH 256 |
| #define | EXODUS_EXPORT extern |
| #define | ex_create(path, mode, comp_ws, io_ws) ex_create_int(path, mode, comp_ws, io_ws, EX_API_VERS_NODOT) |
| #define | ex_open(path, mode, comp_ws, io_ws, version) ex_open_int(path, mode, comp_ws, io_ws, version, EX_API_VERS_NODOT) |
| #define | EX_MEMFAIL 1000 |
| #define | EX_BADFILEMODE 1001 |
| #define | EX_BADFILEID 1002 |
| #define | EX_WRONGFILETYPE 1003 |
| #define | EX_LOOKUPFAIL 1004 |
| #define | EX_BADPARAM 1005 |
| #define | EX_MSG -1000 |
| #define | EX_PRTLASTMSG -1001 |
| #define | EX_NULLENTITY -1006 |
Typedefs | |
| typedef enum ex_inquiry | ex_inquiry |
| typedef enum ex_entity_type | ex_entity_type |
| typedef enum ex_options | ex_options |
Enumerations | |
| enum | ex_inquiry { EX_INQ_FILE_TYPE = 1, EX_INQ_API_VERS = 2, EX_INQ_DB_VERS = 3, EX_INQ_TITLE = 4, EX_INQ_DIM = 5, EX_INQ_NODES = 6, EX_INQ_ELEM = 7, EX_INQ_ELEM_BLK = 8, EX_INQ_NODE_SETS = 9, EX_INQ_NS_NODE_LEN = 10, EX_INQ_SIDE_SETS = 11, EX_INQ_SS_NODE_LEN = 12, EX_INQ_SS_ELEM_LEN = 13, EX_INQ_QA = 14, EX_INQ_INFO = 15, EX_INQ_TIME = 16, EX_INQ_EB_PROP = 17, EX_INQ_NS_PROP = 18, EX_INQ_SS_PROP = 19, EX_INQ_NS_DF_LEN = 20, EX_INQ_SS_DF_LEN = 21, EX_INQ_LIB_VERS = 22, EX_INQ_EM_PROP = 23, EX_INQ_NM_PROP = 24, EX_INQ_ELEM_MAP = 25, EX_INQ_NODE_MAP = 26, EX_INQ_EDGE = 27, EX_INQ_EDGE_BLK = 28, EX_INQ_EDGE_SETS = 29, EX_INQ_ES_LEN = 30, EX_INQ_ES_DF_LEN = 31, EX_INQ_EDGE_PROP = 32, EX_INQ_ES_PROP = 33, EX_INQ_FACE = 34, EX_INQ_FACE_BLK = 35, EX_INQ_FACE_SETS = 36, EX_INQ_FS_LEN = 37, EX_INQ_FS_DF_LEN = 38, EX_INQ_FACE_PROP = 39, EX_INQ_FS_PROP = 40, EX_INQ_ELEM_SETS = 41, EX_INQ_ELS_LEN = 42, EX_INQ_ELS_DF_LEN = 43, EX_INQ_ELS_PROP = 44, EX_INQ_EDGE_MAP = 45, EX_INQ_FACE_MAP = 46, EX_INQ_COORD_FRAMES = 47, EX_INQ_INVALID = -1 } |
| enum | ex_entity_type { EX_NODAL = 14, EX_NODE_BLOCK = 14, EX_NODE_SET = 2, EX_EDGE_BLOCK = 6, EX_EDGE_SET = 7, EX_FACE_BLOCK = 8, EX_FACE_SET = 9, EX_ELEM_BLOCK = 1, EX_ELEM_SET = 10, EX_SIDE_SET = 3, EX_ELEM_MAP = 4, EX_NODE_MAP = 5, EX_EDGE_MAP = 11, EX_FACE_MAP = 12, EX_GLOBAL = 13, EX_INVALID = -1 } |
| enum | ex_options { EX_DEFAULT = 0, EX_VERBOSE = 1, EX_DEBUG = 2, EX_ABORT = 4 } |
Functions | |
| int | ex_close (int exoid) |
| int | ex_cvt_nodes_to_sides (int exoid, int *num_elem_per_set, int *num_nodes_per_set, int *side_sets_elem_index, int *side_sets_node_index, int *side_sets_elem_list, int *side_sets_node_list, int *side_sets_side_list) |
| int | ex_copy (int in_exoid, int out_exoid) |
| int | ex_create_int (const char *path, int cmode, int *comp_ws, int *io_ws, int my_version) |
| int | ex_get_all_times (int exoid, void *time_values) |
| int | ex_get_concat_node_sets (int exoid, int *node_set_ids, int *num_nodes_per_set, int *num_df_per_set, int *node_sets_node_index, int *node_sets_df_index, int *node_sets_node_list, void *node_sets_dist_fact) |
| int | ex_get_coord_names (int exoid, char **coord_names) |
| int | ex_get_coord (int exoid, void *x_coor, void *y_coor, void *z_coor) |
| int | ex_get_n_coord (int exoid, int start_node_num, int num_nodes, void *x_coor, void *y_coor, void *z_coor) |
| int | ex_get_concat_side_sets (int exoid, int *side_set_ids, int *num_elem_per_set, int *num_dist_per_set, int *side_sets_elem_index, int *side_sets_dist_index, int *side_sets_elem_list, int *side_sets_side_list, void *side_sets_dist_fact) |
| int | ex_get_elem_attr_names (int exoid, int elem_blk_id, char **names) |
| int | ex_get_elem_attr (int exoid, int elem_blk_id, void *attrib) |
| int | ex_get_ids (int exoid, ex_entity_type obj_type, int *ids) |
| int | ex_get_elem_blk_ids (int exoid, int *ids) |
| int | ex_get_elem_block (int exoid, int elem_blk_id, char *elem_type, int *num_elem_this_blk, int *num_nodes_per_elem, int *num_attr) |
| int | ex_get_elem_conn (int exoid, int elem_blk_id, int *connect) |
| int | ex_get_elem_map (int exoid, int map_id, int *elem_map) |
| int | ex_get_elem_num_map (int exoid, int *elem_map) |
| int | ex_get_elem_var (int exoid, int time_step, int elem_var_index, int elem_blk_id, int num_elem_this_blk, void *elem_var_vals) |
| int | ex_get_elem_varid (int exoid, int *varid) |
| int | ex_get_elem_var_time (int exoid, int elem_var_index, int elem_number, int beg_time_step, int end_time_step, void *elem_var_vals) |
| int | ex_get_coordinate_frames (int exoid, int *nframes, int *cf_ids, void *pt_coordinates, char *tags) |
| int | ex_get_glob_vars (int exoid, int time_step, int num_glob_vars, void *glob_var_vals) |
| int | ex_get_glob_var_time (int exoid, int glob_var_index, int beg_time_step, int end_time_step, void *glob_var_vals) |
| int | ex_get_info (int exoid, char **info) |
| int | ex_get_init (int exoid, char *title, int *num_dim, int *num_nodes, int *num_elem, int *num_elem_blk, int *num_node_sets, int *num_side_sets) |
| int | ex_get_map (int exoid, int *elem_map) |
| int | ex_get_map_param (int exoid, int *num_node_maps, int *num_elem_maps) |
| int | ex_get_name (int exoid, ex_entity_type obj_type, int entity_id, char *name) |
| int | ex_get_names (int exoid, ex_entity_type obj_type, char **names) |
| int | ex_get_node_map (int exoid, int map_id, int *node_map) |
| int | ex_get_node_num_map (int exoid, int *node_map) |
| int | ex_get_node_set_param (int exoid, int node_set_id, int *num_nodes_in_set, int *num_df_in_set) |
| int | ex_get_node_set (int exoid, int node_set_id, int *node_set_node_list) |
| int | ex_get_node_set_dist_fact (int exoid, int node_set_id, void *node_set_dist_fact) |
| int | ex_get_node_set_ids (int exoid, int *ids) |
| int | ex_get_nset_var_tab (int exoid, int num_nodesets, int num_nset_var, int *nset_var_tab) |
| int | ex_get_nset_var (int exoid, int time_step, int nset_var_index, int nset_id, int num_node_this_nset, void *nset_var_vals) |
| int | ex_get_nset_varid (int exoid, int *varid) |
| int | ex_get_nodal_var (int exoid, int time_step, int nodal_var_index, int num_nodes, void *nodal_var_vals) |
| int | ex_get_n_nodal_var (int exoid, int time_step, int nodal_var_index, int start_node, int num_nodes, void *nodal_var_vals) |
| int | ex_get_nodal_varid (int exoid, int *varid) |
| int | ex_get_nodal_var_time (int exoid, int nodal_var_index, int node_number, int beg_time_step, int end_time_step, void *nodal_var_vals) |
| int | ex_get_nodal_varid_var (int exoid, int time_step, int nodal_var_index, int num_nodes, int varid, void *nodal_var_vals) |
| int | ex_get_one_elem_attr (int exoid, int elem_blk_id, int attrib_index, void *attrib) |
| int | ex_get_prop_array (int exoid, ex_entity_type obj_type, const char *prop_name, int *values) |
| int | ex_get_prop (int exoid, ex_entity_type obj_type, int obj_id, const char *prop_name, int *value) |
| int | ex_get_partial_elem_map (int exoid, int map_id, int ent_start, int ent_count, int *elem_map) |
| int | ex_get_prop_names (int exoid, ex_entity_type obj_type, char **prop_names) |
| int | ex_get_qa (int exoid, char *qa_record[][4]) |
| int | ex_get_side_set_node_list_len (int exoid, int side_set_id, int *side_set_node_list_len) |
| int | ex_get_side_set_param (int exoid, int side_set_id, int *num_side_in_set, int *num_dist_fact_in_set) |
| int | ex_get_side_set (int exoid, int side_set_id, int *side_set_elem_list, int *side_set_side_list) |
| int | ex_get_side_set_node_count (int exoid, int side_set_id, int *side_set_node_cnt_list) |
| int | ex_get_concat_side_set_node_count (int exoid, int *side_set_node_cnt_list) |
| int | ex_get_side_set_dist_fact (int exoid, int side_set_id, void *side_set_dist_fact) |
| int | ex_get_side_set_ids (int exoid, int *ids) |
| int | ex_get_side_set_node_list (int exoid, int side_set_id, int *side_set_node_cnt_list, int *side_set_node_list) |
| int | ex_get_sset_var (int exoid, int time_step, int sset_var_index, int sset_id, int num_side_this_sset, void *sset_var_vals) |
| int | ex_get_sset_var_tab (int exoid, int num_sidesets, int num_sset_var, int *sset_var_tab) |
| int | ex_get_sset_varid (int exoid, int *varid) |
| int | ex_get_time (int exoid, int time_step, void *time_value) |
| int | ex_get_variable_names (int exoid, ex_entity_type obj_type, int num_vars, char *var_names[]) |
| int | ex_get_var_names (int exoid, const char *var_type, int num_vars, char *var_names[]) |
| int | ex_get_varid (int exoid, ex_entity_type obj_type, int *varid_arr) |
| int | ex_get_variable_name (int exoid, ex_entity_type obj_type, int var_num, char *var_name) |
| int | ex_get_var_name (int exoid, const char *var_type, int var_num, char *var_name) |
| int | ex_get_var_param (int exoid, const char *var_type, int *num_vars) |
| int | ex_get_variable_param (int exoid, ex_entity_type obj_type, int *num_vars) |
| int | ex_get_object_truth_vector (int exoid, ex_entity_type var_type, int object_id, int num_var, int *var_vector) |
| int | ex_get_truth_table (int exoid, ex_entity_type obj_type, int num_blk, int num_var, int *var_tab) |
| int | ex_get_var_tab (int exoid, const char *var_type, int num_blk, int num_var, int *var_tab) |
| int | ex_get_elem_var_tab (int exoid, int num_elem_blk, int num_elem_var, int *elem_var_tab) |
| int | ex_open_int (const char *path, int mode, int *comp_ws, int *io_ws, float *version, int my_version) |
| int | ex_put_attr_param (int exoid, ex_entity_type obj_type, int obj_id, int num_attrs) |
| int | ex_get_attr_param (int exoid, ex_entity_type obj_type, int obj_id, int *num_attrs) |
| int | ex_put_all_var_param (int exoid, int num_g, int num_n, int num_e, int *elem_var_tab, int num_m, int *nset_var_tab, int num_s, int *sset_var_tab) |
| int | ex_put_concat_elem_block (int exoid, const int *elem_blk_id, char *elem_type[], const int *num_elem_this_blk, const int *num_nodes_per_elem, const int *num_attr, int define_maps) |
| int | ex_put_concat_node_sets (int exoid, int *node_set_ids, int *num_nodes_per_set, int *num_dist_per_set, int *node_sets_node_index, int *node_sets_df_index, int *node_sets_node_list, void *node_sets_dist_fact) |
| int | ex_put_concat_side_sets (int exoid, int *side_set_ids, int *num_elem_per_set, int *num_dist_per_set, int *side_sets_elem_index, int *side_sets_dist_index, int *side_sets_elem_list, int *side_sets_side_list, void *side_sets_dist_fact) |
| int | ex_put_concat_var_param (int exoid, int num_g, int num_n, int num_e, int num_elem_blk, int *elem_var_tab) |
| int | ex_put_coord_names (int exoid, char *coord_names[]) |
| int | ex_put_coord (int exoid, const void *x_coor, const void *y_coor, const void *z_coor) |
| int | ex_put_n_coord (int exoid, int start_node_num, int num_nodes, const void *x_coor, const void *y_coor, const void *z_coor) |
| int | ex_put_elem_attr_names (int exoid, int elem_blk_id, char *names[]) |
| int | ex_put_elem_attr (int exoid, int elem_blk_id, const void *attrib) |
| int | ex_put_elem_block (int exoid, int elem_blk_id, const char *elem_type, int num_elem_this_blk, int num_nodes_per_elem, int num_attr) |
| int | ex_put_elem_conn (int exoid, int elem_blk_id, const int *connect) |
| int | ex_put_elem_map (int exoid, int map_id, const int *elem_map) |
| int | ex_put_id_map (int exoid, ex_entity_type obj_type, const int *map) |
| int | ex_get_id_map (int exoid, ex_entity_type obj_type, int *map) |
| int | ex_put_elem_num_map (int exoid, const int *elem_map) |
| int | ex_put_elem_var (int exoid, int time_step, int elem_var_index, int elem_blk_id, int num_elem_this_blk, const void *elem_var_vals) |
| int | ex_put_coordinate_frames (int exoid, int nframes, const int cf_ids[], void *pt_coordinates, const char *tags) |
| int | ex_put_glob_vars (int exoid, int time_step, int num_glob_vars, const void *glob_var_vals) |
| int | ex_put_info (int exoid, int num_info, char *info[]) |
| int | ex_put_init (int exoid, const char *title, int num_dim, int num_nodes, int num_elem, int num_elem_blk, int num_node_sets, int num_side_sets) |
| int | ex_put_map (int exoid, const int *elem_map) |
| int | ex_put_map_param (int exoid, int num_node_maps, int num_elem_maps) |
| int | ex_put_name (int exoid, ex_entity_type obj_type, int entity_id, const char *name) |
| int | ex_put_names (int exoid, ex_entity_type obj_type, char *names[]) |
| int | ex_put_nodal_var (int exoid, int time_step, int nodal_var_index, int num_nodes, const void *nodal_var_vals) |
| int | ex_put_n_nodal_var (int exoid, int time_step, int nodal_var_index, int start_node, int num_nodes, const void *nodal_var_vals) |
| int | ex_put_nodal_varid_var (int exoid, int time_step, int nodal_var_index, int num_nodes, int varid, const void *nodal_var_vals) |
| int | ex_put_node_map (int exoid, int map_id, const int *node_map) |
| int | ex_put_node_num_map (int exoid, const int *node_map) |
| int | ex_put_node_set_param (int exoid, int node_set_id, int num_nodes_in_set, int num_dist_in_set) |
| int | ex_put_node_set (int exoid, int node_set_id, const int *node_set_node_list) |
| int | ex_put_node_set_dist_fact (int exoid, int node_set_id, const void *node_set_dist_fact) |
| int | ex_put_nset_var (int exoid, int time_step, int nset_var_index, int nset_id, int num_nodes_this_nset, const void *nset_var_vals) |
| int | ex_put_nset_var_tab (int exoid, int num_nset, int num_nset_var, int *nset_var_tab) |
| int | ex_put_one_elem_attr (int exoid, int elem_blk_id, int attrib_index, const void *attrib) |
| int | ex_put_n_one_attr (int exoid, ex_entity_type obj_type, int obj_id, int start_num, int num_ent, int attrib_index, const void *attrib) |
| int | ex_put_partial_elem_map (int exoid, int map_id, int ent_start, int ent_count, const int *elem_map) |
| int | ex_put_partial_set_dist_fact (int exoid, ex_entity_type set_type, int set_id, int offset, int num_to_put, const void *set_dist_fact) |
| int | ex_put_prop (int exoid, ex_entity_type obj_type, int obj_id, const char *prop_name, int value) |
| int | ex_put_prop_array (int exoid, ex_entity_type obj_type, const char *prop_name, const int *values) |
| int | ex_put_prop_names (int exoid, ex_entity_type obj_type, int num_props, char **prop_names) |
| int | ex_put_qa (int exoid, int num_qa_records, char *qa_record[][4]) |
| int | ex_put_side_set_param (int exoid, int side_set_id, int num_side_in_set, int num_dist_fact_in_set) |
| int | ex_put_side_set (int exoid, int side_set_id, const int *side_set_elem_list, const int *side_set_side_list) |
| int | ex_put_side_set_dist_fact (int exoid, int side_set_id, const void *side_set_dist_fact) |
| int | ex_put_sset_var (int exoid, int time_step, int sset_var_index, int sset_id, int num_faces_this_sset, const void *sset_var_vals) |
| int | ex_put_sset_var_tab (int exoid, int num_sset, int num_sset_var, int *sset_var_tab) |
| int | ex_put_time (int exoid, int time_step, const void *time_value) |
| int | ex_put_varid_var (int exoid, int time_step, int varid, int num_entity, const void *var_vals) |
| int | ex_put_var_names (int exoid, const char *var_type, int num_vars, char *var_names[]) |
| int | ex_put_var_name (int exoid, const char *var_type, int var_num, const char *var_name) |
| int | ex_put_var_param (int exoid, const char *var_type, int num_vars) |
| int | ex_put_variable_names (int exoid, ex_entity_type obj_type, int num_vars, char *var_names[]) |
| int | ex_put_variable_name (int exoid, ex_entity_type obj_type, int var_num, const char *var_name) |
| int | ex_put_variable_param (int exoid, ex_entity_type obj_type, int num_vars) |
| int | ex_put_truth_table (int exoid, ex_entity_type obj_type, int num_blk, int num_var, int *var_tab) |
| int | ex_put_var_tab (int exoid, const char *var_type, int num_blk, int num_var, int *var_tab) |
| int | ex_put_elem_var_tab (int exoid, int num_elem_blk, int num_elem_var, int *elem_var_tab) |
| int | ex_update (int exoid) |
| int | ex_get_num_props (int exoid, ex_entity_type obj_type) |
| int | ex_large_model (int exoid) |
| size_t | ex_header_size (int exoid) |
| void | ex_err (const char *, const char *, int) |
| void | ex_get_err (const char **msg, const char **func, int *errcode) |
| void | ex_opts (int options) |
| int | ex_inquire (int exoid, int inquiry, int *, void *, char *) |
| int | ex_inquire_int (int exoid, int inquiry) |
| int | ex_get_varid_var (int exoid, int time_step, int varid, int num_entity, void *var_vals) |
| char * | ex_name_of_object (ex_entity_type obj_type) |
| ex_entity_type | ex_var_type_to_ex_entity_type (char var_type) |
Variables | |
| int | exerrval |
| int | exoptval |
| #define EX_API_VERS 4.98 |
Referenced by ex_create_int(), and ex_inquire().
| #define EX_API_VERS_NODOT 498 |
Referenced by ex_create_int(), ex_inquire(), and ex_open_int().
| #define ex_create | ( | path, | |
| mode, | |||
| comp_ws, | |||
| io_ws | |||
| ) | ex_create_int(path, mode, comp_ws, io_ws, EX_API_VERS_NODOT) |
| #define ex_open | ( | path, | |
| mode, | |||
| comp_ws, | |||
| io_ws, | |||
| version | |||
| ) | ex_open_int(path, mode, comp_ws, io_ws, version, EX_API_VERS_NODOT) |
| #define EX_VERS EX_API_VERS |
Referenced by ex_create_int().
| #define EXODUS_EXPORT extern |
| #define FALSE 0 |
Referenced by ex_cvt_nodes_to_sides(), ex_get_prop(), ex_get_prop_array(), ex_id_lkup(), ex_large_model(), ex_put_prop(), and ex_put_prop_array().
| #define TRUE -1 |
| typedef enum ex_entity_type ex_entity_type |
| typedef enum ex_inquiry ex_inquiry |
| typedef enum ex_options ex_options |
| enum ex_entity_type |
| enum ex_inquiry |
| enum ex_options |
ex_opts() function codes - codes are OR'ed into exopts
| int ex_close | ( | int | exoid | ) |
updates and then closes an open EXODUS II file
References ex_conv_exit(), 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_get_counter_list(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, ex_rm_file_item(), ex_rm_stat_ptr(), EX_SIDE_SET, exerrval, exoII_eb, exoII_ed, exoII_edm, exoII_els, exoII_em, exoII_es, exoII_fa, exoII_fam, exoII_fs, exoII_nm, exoII_ns, exoII_ss, and MAX_ERR_LENGTH.
| int ex_copy | ( | int | in_exoid, |
| int | out_exoid | ||
| ) |
efficiently copies all non-transient information (attributes, dimensions, and variables from an opened EXODUS file to another opened EXODUS file. Will not overwrite a dimension or variable already defined in the new file.
| in_exoid | exodus file id for input file |
| out_exoid | exodus file id for output file |
References cpy_att(), cpy_coord_def(), cpy_coord_val(), cpy_var_def(), cpy_var_val(), DIM_NUM_EDG_VAR, DIM_NUM_ELE_VAR, DIM_NUM_ELSET_VAR, DIM_NUM_ESET_VAR, DIM_NUM_FAC_VAR, DIM_NUM_FSET_VAR, DIM_NUM_GLO_VAR, DIM_NUM_INFO, DIM_NUM_NOD_VAR, DIM_NUM_NSET_VAR, DIM_NUM_QA, DIM_NUM_SSET_VAR, ncvar::dims, EX_EDGE_BLOCK, EX_EDGE_MAP, EX_EDGE_SET, EX_ELEM_BLOCK, EX_ELEM_MAP, EX_ELEM_SET, EX_FACE_BLOCK, EX_FACE_MAP, EX_FACE_SET, ex_get_counter_list(), EX_INQ_EDGE_BLK, EX_INQ_EDGE_MAP, EX_INQ_EDGE_SETS, EX_INQ_ELEM_BLK, EX_INQ_ELEM_MAP, EX_INQ_ELEM_SETS, EX_INQ_FACE_BLK, EX_INQ_FACE_MAP, EX_INQ_FACE_SETS, EX_INQ_NODE_MAP, EX_INQ_NODE_SETS, EX_INQ_SIDE_SETS, ex_large_model(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, exerrval, ncatt::len, ncvar::name, ncatt::name, ncvar::natts, ncvar::ndims, ncvar::type, ncatt::type, update_internal_structs(), VAR_COORD, VAR_EBLK_TAB, VAR_ELEM_TAB, VAR_ELSET_TAB, VAR_ESET_TAB, VAR_FBLK_TAB, VAR_FSET_TAB, VAR_GLO_VAR, VAR_INFO, 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_NSET_TAB, VAR_QA_TITLE, VAR_SSET_TAB, and VAR_WHOLE_TIME.
| 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()
| path | filename of file to create. |
| cmode | access mode. Any of the defines in the Variables controlling the file creation mode. group or'd together. |
| comp_ws | The 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_ws | The 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.
| int ex_cvt_nodes_to_sides | ( | int | exoid, |
| int * | num_elem_per_set, | ||
| int * | num_nodes_per_set, | ||
| int * | side_sets_elem_index, | ||
| int * | side_sets_node_index, | ||
| int * | side_sets_elem_list, | ||
| int * | side_sets_node_list, | ||
| int * | side_sets_side_list | ||
| ) |
This routine is designed to take the results from retrieving the ExodusI style concatenated side sets to the Exodus II V 2.0 definition uses the element id to get the coordinate node list, element block connectivity, element type to convert the side set node list to a side/face list.
| exoid | exodus file id | |
| *num_elem_per_set | number of element per set | |
| *num_nodes_per_set | number of nodes per set | |
| *side_sets_elem_index | index array of elements into elem list | |
| *side_sets_node_index | index array of nodes | |
| *side_sets_elem_list | array of elements | |
| *side_sets_node_list | array of nodes | |
| [out] | *side_sets_side_list | array of sides/faces |
Algorithm:
Read elem_block_ids --> elem_blk_id[array]
Read element block parameters --> elem_blk_parms[array]
Determine total number of elements in side set by summing num_elem_per_set
Build side set element to side set node list index --> ss_elem_node_ndx[array]
For each element in the side_set_elem_list {
If Jth element is not in current element block (e.g. J>elem_ctr) {
get element block parameters (num_elem_in_blk, ...)
elem_ctr += num_elem_in_blk
free old connectity array space
allocate connectivity array: size=num_elem_in_blk*num_nodes_per_elem
get connectivity array
}
If Jth element is in current element block (e.g. J<=elem_ctr) {
For each node in element (linear search of up to num_nodes_per_elem) {
If side set element node[1] == element node[i] {
Case element type = Hex {
If side set element node[2] == element node[Hex_table[i,1]]
Jth side = Hex_table[i,2]
break
}
Case element type = Wedge {
If side set element node[2] == element node[Wedge_table[i,1]]
Jth side = Wedge_table[i,2]
break
}
}
}
}
}
References elem_blk_parm::elem_blk_id, elem_blk_parm::elem_ctr, elem_blk_parm::elem_type, elem_blk_parm::elem_type_val, EX_BADPARAM, EX_EL_BEAM, EX_EL_CIRCLE, EX_EL_HEX, EX_EL_NULL_ELEMENT, EX_EL_PYRAMID, EX_EL_QUAD, EX_EL_SHELL, EX_EL_SPHERE, EX_EL_TETRA, EX_EL_TRIANGLE, EX_EL_TRISHELL, EX_EL_TRUSS, EX_EL_UNK, EX_EL_WEDGE, ex_err(), EX_FATAL, ex_get_elem_blk_ids(), ex_get_elem_block(), ex_get_elem_conn(), EX_INQ_DIM, EX_INQ_ELEM, EX_INQ_ELEM_BLK, EX_INQ_SIDE_SETS, ex_inquire(), ex_iqsort(), EX_MEMFAIL, EX_MSG, EX_NOERR, EX_WARN, exerrval, FALSE, MAX_ERR_LENGTH, MAX_STR_LENGTH, NULL, elem_blk_parm::num_attr, elem_blk_parm::num_elem_in_blk, elem_blk_parm::num_nodes_per_elem, elem_blk_parm::num_nodes_per_side, and TRUE.
| void ex_err | ( | const char * | pname, |
| const char * | err_string, | ||
| int | errcode | ||
| ) |
Generalized error reporting function. global integer used for suppressing error messages and determining the fatality of errors.
| pname | string containing the name of the calling function. |
| err_string | string containing a message explaining the error or problem. If EX_VERBOSE (see ex_opts()) is true, this message will be printed to stderr. Otherwise, nothing will be printed. Maximum length is MAX_ERR_LENGTH. |
| errcode | code identifying the error. EXODUS II C functions place an error code value in exerrval, an external int. Negative values are considered fatal errors while positive values are warnings. There is a set of predefined values defined in exodusII.h, see group Exodus error return codes - exerrval return values. The predefined constant EX_PRTLASTMSG will cause the last error message to be output, regardless of the setting of the error reporting level (see ex_opts()). |
References EX_ABORT, EX_MSG, EX_PRTLASTMSG, EX_VERBOSE, exoptval, last_errcode, last_errmsg, and last_pname.
Referenced by ex_close(), ex_comp_ws(), ex_conv_exit(), ex_conv_ini(), ex_create_int(), ex_cvt_nodes_to_sides(), ex_dim_num_objects(), ex_get_all_times(), ex_get_attr(), ex_get_attr_names(), ex_get_attr_param(), ex_get_block(), ex_get_concat_sets(), ex_get_concat_side_set_node_count(), ex_get_conn(), ex_get_coord(), ex_get_coord_names(), ex_get_coordinate_frames(), ex_get_dimension(), ex_get_entity_count_per_polyhedra(), ex_get_glob_var_time(), ex_get_glob_vars(), ex_get_id_map(), ex_get_ids(), ex_get_info(), ex_get_init_ext(), ex_get_map(), ex_get_map_param(), ex_get_n_conn(), ex_get_n_coord(), ex_get_n_nodal_var(), ex_get_n_one_attr(), ex_get_n_var(), ex_get_name(), ex_get_names(), ex_get_nodal_var(), ex_get_nodal_var_time(), ex_get_nodal_varid(), ex_get_nodal_varid_var(), ex_get_num_map(), ex_get_num_props(), ex_get_object_truth_vector(), ex_get_one_attr(), ex_get_partial_elem_map(), ex_get_prop(), ex_get_prop_array(), ex_get_prop_names(), ex_get_qa(), ex_get_set(), ex_get_set_dist_fact(), ex_get_set_param(), ex_get_side_set_node_count(), ex_get_side_set_node_list(), ex_get_side_set_node_list_len(), ex_get_time(), ex_get_truth_table(), ex_get_var(), ex_get_var_time(), ex_get_variable_name(), ex_get_variable_names(), ex_get_variable_param(), ex_get_varid(), ex_get_varid_var(), ex_id_lkup(), ex_inquire(), ex_open_int(), ex_put_all_var_param_ext(), ex_put_attr(), ex_put_attr_names(), ex_put_attr_param(), ex_put_block(), ex_put_concat_all_blocks(), ex_put_concat_elem_block(), ex_put_concat_sets(), ex_put_conn(), ex_put_coord(), ex_put_coord_names(), ex_put_coordinate_frames(), ex_put_entity_count_per_polyhedra(), ex_put_id_map(), ex_put_info(), ex_put_init_ext(), ex_put_map(), ex_put_map_param(), ex_put_n_coord(), ex_put_n_nodal_var(), ex_put_n_one_attr(), ex_put_n_var(), ex_put_name(), ex_put_names(), ex_put_nodal_var(), ex_put_nodal_varid_var(), ex_put_num_map(), ex_put_one_attr(), ex_put_partial_elem_map(), ex_put_partial_set_dist_fact(), ex_put_prop(), ex_put_prop_array(), ex_put_prop_names(), ex_put_qa(), ex_put_set(), ex_put_set_dist_fact(), ex_put_set_param(), ex_put_time(), ex_put_truth_table(), ex_put_var(), ex_put_variable_name(), ex_put_variable_names(), ex_put_variable_param(), ex_put_varid_var(), ex_update(), and nc_flt_code().
| int ex_get_all_times | ( | int | exoid, |
| void * | time_values | ||
| ) |
reads the time values for all time steps. Memory must be allocated for the time values array before this function is invoked. The storage requirements (equal to the number of time steps) can be determined by using the ex_inquire() routine.
| exoid | exodus file id | |
| [out] | time_values | Returned array of time values at all time steps. |
References ex_comp_ws(), ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, and VAR_WHOLE_TIME.
| int ex_get_attr_param | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | obj_id, | ||
| int * | num_attrs | ||
| ) |
retrieves the number 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, EX_BADPARAM, 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_name_of_object(), EX_NODAL, EX_NODE_SET, EX_NOERR, EX_NULLENTITY, EX_SIDE_SET, EX_WARN, exerrval, and MAX_ERR_LENGTH.
| int ex_get_concat_node_sets | ( | int | exoid, |
| int * | node_set_ids, | ||
| int * | num_nodes_per_set, | ||
| int * | num_df_per_set, | ||
| int * | node_sets_node_index, | ||
| int * | node_sets_df_index, | ||
| int * | node_sets_node_list, | ||
| void * | node_sets_dist_fact | ||
| ) |
reads the node set ID's, node set count array, node set pointers array, node set node list, and node set distribution factors for all of the node sets
References ex_get_concat_sets(), EX_NODE_SET, NULL, ex_set_specs::num_dist_per_set, ex_set_specs::num_entries_per_set, ex_set_specs::sets_dist_fact, ex_set_specs::sets_dist_index, ex_set_specs::sets_entry_index, ex_set_specs::sets_entry_list, ex_set_specs::sets_extra_list, and ex_set_specs::sets_ids.
| int ex_get_concat_side_set_node_count | ( | int | exoid, |
| int * | side_set_node_cnt_list | ||
| ) |
References EL_NODE_COUNT_ERROR, elem_blk_parm::elem_blk_id, elem_blk_parm::elem_ctr, elem_blk_parm::elem_type, elem_blk_parm::elem_type_val, EX_BADPARAM, EX_EL_BEAM, EX_EL_CIRCLE, EX_EL_HEX, EX_EL_NULL_ELEMENT, EX_EL_PYRAMID, EX_EL_QUAD, EX_EL_SHELL, EX_EL_SPHERE, EX_EL_TETRA, EX_EL_TRIANGLE, EX_EL_TRUSS, EX_EL_UNK, EX_EL_WEDGE, EX_ELEM_BLOCK, ex_err(), EX_FATAL, ex_get_elem_block(), ex_get_ids(), ex_get_set(), ex_get_set_param(), EX_INQ_DIM, EX_INQ_ELEM, EX_INQ_ELEM_BLK, EX_INQ_SIDE_SETS, ex_inquire(), ex_iqsort(), EX_MEMFAIL, EX_MSG, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, MAX_STR_LENGTH, NULL, elem_blk_parm::num_attr, elem_blk_parm::num_elem_in_blk, elem_blk_parm::num_nodes_per_elem, elem_blk_parm::num_nodes_per_side, elem_blk_parm::num_sides, and safe_free().
| int ex_get_concat_side_sets | ( | int | exoid, |
| int * | side_set_ids, | ||
| int * | num_elem_per_set, | ||
| int * | num_dist_per_set, | ||
| int * | side_sets_elem_index, | ||
| int * | side_sets_dist_index, | ||
| int * | side_sets_elem_list, | ||
| int * | side_sets_side_list, | ||
| void * | side_sets_dist_fact | ||
| ) |
reads the side set ID's, side set element count array, side set node count array, side set element pointers array, side set node pointers array, side set element list, side set node list, and side set distribution factors
References ex_get_concat_sets(), EX_SIDE_SET, ex_set_specs::num_dist_per_set, ex_set_specs::num_entries_per_set, ex_set_specs::sets_dist_fact, ex_set_specs::sets_dist_index, ex_set_specs::sets_entry_index, ex_set_specs::sets_entry_list, ex_set_specs::sets_extra_list, and ex_set_specs::sets_ids.
| int ex_get_coord | ( | int | exoid, |
| void * | x_coor, | ||
| void * | y_coor, | ||
| void * | z_coor | ||
| ) |
reads the coordinates of the nodes. Memory must be allocated for the coordinate arrays (x_coor, y_coor, and z_coor) before this call is made. The length of each of these arrays is the number of nodes in the mesh. Because the coordinates are floating point values, the application code must declare the arrays passed to be the appropriate type "float" or "double" to match the compute word size passed in ex_create() or ex_open()
| exoid | exodus file id | |
| [out] | x_coor | Returned X coordinates of the nodes. These are returned only if x_coor is non-NULL. |
| [out] | y_coor | Returned Y coordinates of the nodes. These are returned only if y_coor is non-NULL. |
| [out] | z_coor | Returned Z coordinates of the nodes. These are returned only if z_coor is non-NULL. |
References DIM_NUM_DIM, DIM_NUM_NODES, ex_comp_ws(), ex_err(), EX_FATAL, ex_get_dimension(), ex_large_model(), EX_NOERR, exerrval, MAX_ERR_LENGTH, NULL, VAR_COORD, VAR_COORD_X, VAR_COORD_Y, and VAR_COORD_Z.
| int ex_get_coord_names | ( | int | exoid, |
| char ** | coord_names | ||
| ) |
reads the names (MAX_STR_LENGTH characters in length) of the coordinate arrays from the database. Memory must be allocated for the character strings before this function is invoked.
| exoid | exodus file id | |
| [out] | coord_names | Returned pointer to a vector containing 'num_dim' names of the nodal coordinate arrays. |
References DIM_NUM_DIM, ex_err(), EX_FATAL, EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, MAX_STR_LENGTH, and VAR_NAME_COOR.
| int ex_get_coordinate_frames | ( | int | exoid, |
| int * | nframes, | ||
| int * | cf_ids, | ||
| void * | pt_coordinates, | ||
| char * | tags | ||
| ) |
Coordinate frames are stored in the database as a series of three points (defined in the basic cartesian coordinate system). The first of these points describes the origin of the new system. The second point lies on the 3 axis (or Z axis) of the frame. The third point is in the 1-3 (xz) plane. Each coordinate frame is identified by a unique, integer coordinate ID, and by a character tag indicating whether the frame is rectangular cartesian "R", cylindrical "C, or spherical "S". Because the coordinates are floating point values, the application code must declare the arrays passed to be the appropriate type "float" or "double" to match the compute word size passed in ex_create() or ex_open().
| exoid | exodus file id | |
| [in,out] | nframes | if 'cf_ids' is NULL, then nframes is returned with the number of defined coordinate frames. Else it is the number of coordinate frames to read. |
| [out] | cf_ids | The (nframes) coordinate frame Ids. If cf_ids is NULL, no data will be returned in this or any other array. Only nframes will be modified. Otherwise, space must be allocated to store 'nframes' integers before making this call. |
| [out] | pt_coordinates | The (9*nframes) coordinates of the three points defining each coordinate axis. The first three values are the origin of the first frame. The next three values are the coordinates of a point on the 3rd axis of the first frame. The next three values are the coordinates of a point in the plane of the 1-3 axis. The pattern is repeated for each frame. If 'cf_ids' is null, no data will be returned in this array. Otherwise, space must be allocated for 9*nframes floating point values. The size of the allocation depends upon the compute word size. |
| [out] | tags | The (nframes) character tags associated with each coordinate frame. If 'cf_ids' is NULL, no data will be returned in this array. Otherwise, space must be allocated for 'nframes' characters. |
References DIM_NUM_CFRAMES, ex_comp_ws(), ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, NULL, PROCNAME, VAR_FRAME_COORDS, VAR_FRAME_IDS, and VAR_FRAME_TAGS.
| int ex_get_elem_attr | ( | int | exoid, |
| int | elem_blk_id, | ||
| void * | attrib | ||
| ) |
reads the attributes for an element block
References EX_ELEM_BLOCK, and ex_get_attr().
| int ex_get_elem_attr_names | ( | int | exoid, |
| int | elem_blk_id, | ||
| char ** | names | ||
| ) |
reads the attribute names for an element block
References EX_ELEM_BLOCK, and ex_get_attr_names().
| int ex_get_elem_blk_ids | ( | int | exoid, |
| int * | ids | ||
| ) |
reads the element block ids from the database
References EX_ELEM_BLOCK, and ex_get_ids().
Referenced by ex_cvt_nodes_to_sides(), ex_get_side_set_node_count(), ex_get_side_set_node_list(), and ex_get_side_set_node_list_len().
| int ex_get_elem_block | ( | int | exoid, |
| int | elem_blk_id, | ||
| char * | elem_type, | ||
| int * | num_elem_this_blk, | ||
| int * | num_nodes_per_elem, | ||
| int * | num_attr | ||
| ) |
reads the parameters used to describe an element block
References EX_ELEM_BLOCK, and ex_get_block().
Referenced by ex_cvt_nodes_to_sides(), ex_get_concat_side_set_node_count(), ex_get_side_set_node_count(), ex_get_side_set_node_list(), ex_get_side_set_node_list_len(), and ex_header_size().
| int ex_get_elem_conn | ( | int | exoid, |
| int | elem_blk_id, | ||
| int * | connect | ||
| ) |
reads the connectivity array for an element block
References EX_ELEM_BLOCK, and ex_get_conn().
Referenced by ex_cvt_nodes_to_sides(), and ex_get_side_set_node_list().
| int ex_get_elem_map | ( | int | exoid, |
| int | map_id, | ||
| int * | elem_map | ||
| ) |
reads the element map with specified ID
References EX_ELEM_MAP, and ex_get_num_map().
| int ex_get_elem_num_map | ( | int | exoid, |
| int * | elem_map | ||
| ) |
References EX_ELEM_MAP, and ex_get_id_map().
| int ex_get_elem_var | ( | int | exoid, |
| int | time_step, | ||
| int | elem_var_index, | ||
| int | elem_blk_id, | ||
| int | num_elem_this_blk, | ||
| void * | elem_var_vals | ||
| ) |
reads the values of a single element variable for one element block at one time step in the database; assume the first time step and element variable index is 1
References EX_ELEM_BLOCK, and ex_get_var().
| int ex_get_elem_var_tab | ( | int | exoid, |
| int | num_elem_blk, | ||
| int | num_elem_var, | ||
| int * | elem_var_tab | ||
| ) |
reads the EXODUS II element variable truth table from the database
References EX_ELEM_BLOCK, and ex_get_truth_table().
| int ex_get_elem_var_time | ( | int | exoid, |
| int | elem_var_index, | ||
| int | elem_number, | ||
| int | beg_time_step, | ||
| int | end_time_step, | ||
| void * | elem_var_vals | ||
| ) |
reads the values of an element variable for a single element through a specified number of time steps in the database; assume the first element variable index, element number, and time step are 1
References EX_ELEM_BLOCK, and ex_get_var_time().
| int ex_get_elem_varid | ( | int | exoid, |
| int * | varid | ||
| ) |
reads the EXODUS II variable varids from the database
References EX_ELEM_BLOCK, and ex_get_varid().
| void ex_get_err | ( | const char ** | msg, |
| const char ** | func, | ||
| int * | errcode | ||
| ) |
References last_errcode, last_errmsg, and last_pname.
| int ex_get_glob_var_time | ( | int | exoid, |
| int | glob_var_index, | ||
| int | beg_time_step, | ||
| int | end_time_step, | ||
| void * | glob_var_vals | ||
| ) |
References ex_comp_ws(), ex_err(), EX_FATAL, EX_INQ_TIME, ex_inquire(), EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, and VAR_GLO_VAR.
Referenced by ex_get_var_time().
| int ex_get_glob_vars | ( | int | exoid, |
| int | time_step, | ||
| int | num_glob_vars, | ||
| void * | glob_var_vals | ||
| ) |
References ex_comp_ws(), ex_err(), EX_FATAL, EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, and VAR_GLO_VAR.
Referenced by ex_get_n_var(), and ex_get_var().
| int ex_get_id_map | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int * | map | ||
| ) |
References DIM_NUM_EDGE, DIM_NUM_ELEM, DIM_NUM_FACE, DIM_NUM_NODES, EX_BADPARAM, EX_EDGE_MAP, EX_ELEM_MAP, ex_err(), EX_FACE_MAP, EX_FATAL, EX_NODE_MAP, EX_NOERR, exerrval, MAX_ERR_LENGTH, VAR_EDGE_NUM_MAP, VAR_ELEM_NUM_MAP, VAR_FACE_NUM_MAP, and VAR_NODE_NUM_MAP.
Referenced by ex_get_elem_num_map(), and ex_get_node_num_map().
| int ex_get_ids | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int * | ids | ||
| ) |
References EX_BADPARAM, ex_dim_num_objects(), 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_name_of_object(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_EDM_PROP, VAR_ELS_IDS, VAR_EM_PROP, VAR_ES_IDS, VAR_FAM_PROP, VAR_FS_IDS, VAR_ID_ED_BLK, VAR_ID_EL_BLK, VAR_ID_FA_BLK, VAR_NM_PROP, VAR_NS_IDS, and VAR_SS_IDS.
Referenced by ex_get_concat_sets(), ex_get_concat_side_set_node_count(), ex_get_elem_blk_ids(), ex_get_node_set_ids(), ex_get_side_set_ids(), ex_header_size(), and ex_put_truth_table().
| int ex_get_info | ( | int | exoid, |
| char ** | info | ||
| ) |
References DIM_NUM_INFO, ex_err(), EX_FATAL, EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, MAX_LINE_LENGTH, and VAR_INFO.
| int ex_get_init | ( | int | exoid, |
| char * | title, | ||
| int * | num_dim, | ||
| int * | num_nodes, | ||
| int * | num_elem, | ||
| int * | num_elem_blk, | ||
| int * | num_node_sets, | ||
| int * | num_side_sets | ||
| ) |
reads the initialization parameters from an opened EXODUS II file
| exoid | exodus file id | |
| [out] | title | Title of the mesh, String length may be up to MAX_LINE_LENGTH characters. |
| [out] | num_dim | Dimensionality of the database. This is the number of coordinates per node. |
| [out] | num_nodes | Number of nodes |
| [out] | num_elem | Number of elements |
| [out] | num_elem_blk | Number of element blocks |
| [out] | num_node_sets | Number of node sets |
| [out] | num_side_sets | Number of side sets |
References ex_get_init_ext(), EX_NOERR, ex_init_params::num_dim, ex_init_params::num_elem, ex_init_params::num_elem_blk, ex_init_params::num_node_sets, ex_init_params::num_nodes, ex_init_params::num_side_sets, and ex_init_params::title.
| int ex_get_map | ( | int | exoid, |
| int * | elem_map | ||
| ) |
reads the element order map from the database
References DIM_NUM_ELEM, ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, and VAR_MAP.
| int ex_get_map_param | ( | int | exoid, |
| int * | num_node_maps, | ||
| int * | num_elem_maps | ||
| ) |
References DIM_NUM_EM, DIM_NUM_NM, ex_err(), EX_FATAL, EX_NOERR, exerrval, and MAX_ERR_LENGTH.
| int ex_get_n_coord | ( | int | exoid, |
| int | start_node_num, | ||
| int | num_nodes, | ||
| void * | x_coor, | ||
| void * | y_coor, | ||
| void * | z_coor | ||
| ) |
reads the coordinates of the nodes. Memory must be allocated for the coordinate arrays (x_coor, y_coor, and z_coor) before this call is made. The length of each of these arrays is the number of nodes in the mesh. Because the coordinates are floating point values, the application code must declare the arrays passed to be the appropriate type "float" or "double" to match the compute word size passed in ex_create() or ex_open()
| exoid | exodus file id | |
| start_node_num | the starting index of the coordinates to be returned. | |
| num_nodes | the number of nodes to read coordinates for. | |
| [out] | x_coor | Returned X coordinates of the nodes. These are returned only if x_coor is non-NULL. |
| [out] | y_coor | Returned Y coordinates of the nodes. These are returned only if y_coor is non-NULL. |
| [out] | z_coor | Returned Z coordinates of the nodes. These are returned only if z_coor is non-NULL. |
References DIM_NUM_DIM, DIM_NUM_NODES, EX_BADPARAM, ex_comp_ws(), ex_err(), EX_FATAL, ex_get_dimension(), ex_large_model(), EX_NOERR, exerrval, MAX_ERR_LENGTH, NULL, VAR_COORD, VAR_COORD_X, VAR_COORD_Y, and VAR_COORD_Z.
| int ex_get_n_nodal_var | ( | int | exoid, |
| int | time_step, | ||
| int | nodal_var_index, | ||
| int | start_node, | ||
| int | num_nodes, | ||
| void * | var_vals | ||
| ) |
reads the values of a single nodal variable for a partial block at one time step from the database; assume the first time step and variable index and start_node are 1
| exoid | exodus file id |
| time_step | time step number |
| nodal_var_index | index of desired nodal variable (1-based) |
| start_node | index of first node to read (1-based) |
| num_nodes | number of nodes to read |
| var_vals | the values to be read |
References ex_comp_ws(), ex_err(), EX_FATAL, ex_large_model(), EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_NOD_VAR, and VAR_NOD_VAR_NEW.
Referenced by ex_get_n_var().
| int ex_get_name | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | entity_id, | ||
| char * | name | ||
| ) |
References EX_BADPARAM, 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_id_lkup(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, exerrval, MAX_ERR_LENGTH, MAX_STR_LENGTH, NULL, 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, and VAR_NAME_SS.
| int ex_get_names | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| char ** | names | ||
| ) |
References DIM_NUM_ED_BLK, DIM_NUM_EDM, DIM_NUM_EL_BLK, DIM_NUM_ELS, DIM_NUM_EM, DIM_NUM_ES, DIM_NUM_FA_BLK, DIM_NUM_FAM, DIM_NUM_FS, DIM_NUM_NM, DIM_NUM_NS, DIM_NUM_SS, EX_BADPARAM, 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_get_dimension(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, exerrval, MAX_ERR_LENGTH, MAX_STR_LENGTH, 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, and VAR_NAME_SS.
| int ex_get_nodal_var | ( | int | exoid, |
| int | time_step, | ||
| int | nodal_var_index, | ||
| int | num_nodes, | ||
| void * | nodal_var_vals | ||
| ) |
References ex_comp_ws(), ex_err(), EX_FATAL, ex_large_model(), EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_NOD_VAR, and VAR_NOD_VAR_NEW.
Referenced by ex_get_var().
| int ex_get_nodal_var_time | ( | int | exoid, |
| int | nodal_var_index, | ||
| int | node_number, | ||
| int | beg_time_step, | ||
| int | end_time_step, | ||
| void * | nodal_var_vals | ||
| ) |
References ex_comp_ws(), ex_err(), EX_FATAL, EX_INQ_TIME, ex_inquire(), ex_large_model(), EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_NOD_VAR, and VAR_NOD_VAR_NEW.
Referenced by ex_get_var_time().
| int ex_get_nodal_varid | ( | int | exoid, |
| int * | varid | ||
| ) |
References DIM_NUM_NOD_VAR, ex_err(), EX_FATAL, ex_large_model(), EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_NOD_VAR, and VAR_NOD_VAR_NEW.
Referenced by ex_get_varid().
| int ex_get_nodal_varid_var | ( | int | exoid, |
| int | time_step, | ||
| int | nodal_var_index, | ||
| int | num_nodes, | ||
| int | varid, | ||
| void * | nodal_var_vals | ||
| ) |
References ex_comp_ws(), ex_err(), EX_FATAL, ex_large_model(), EX_NOERR, exerrval, and MAX_ERR_LENGTH.
| int ex_get_node_map | ( | int | exoid, |
| int | map_id, | ||
| int * | node_map | ||
| ) |
reads the node map with specified ID
References ex_get_num_map(), and EX_NODE_MAP.
| int ex_get_node_num_map | ( | int | exoid, |
| int * | node_map | ||
| ) |
References ex_get_id_map(), and EX_NODE_MAP.
| int ex_get_node_set | ( | int | exoid, |
| int | node_set_id, | ||
| int * | node_set_node_list | ||
| ) |
reads the node list for a single node set
References ex_get_set(), EX_NODE_SET, and NULL.
| int ex_get_node_set_dist_fact | ( | int | exoid, |
| int | node_set_id, | ||
| void * | node_set_dist_fact | ||
| ) |
reads the distribution factors for a single node set
References ex_get_set_dist_fact(), and EX_NODE_SET.
| int ex_get_node_set_ids | ( | int | exoid, |
| int * | ids | ||
| ) |
reads the node set ids from the database
References ex_get_ids(), and EX_NODE_SET.
Referenced by ex_inquire().
| int ex_get_node_set_param | ( | int | exoid, |
| int | node_set_id, | ||
| int * | num_nodes_in_set, | ||
| int * | num_df_in_set | ||
| ) |
reads the information which describe a single node set
References ex_get_set_param(), and EX_NODE_SET.
Referenced by ex_header_size().
| int ex_get_nset_var | ( | int | exoid, |
| int | time_step, | ||
| int | nset_var_index, | ||
| int | nset_id, | ||
| int | num_node_this_nset, | ||
| void * | nset_var_vals | ||
| ) |
reads the values of a single nodeset variable for one nodeset at one time step in the database; assume the first time step and nodeset variable index is 1
References ex_get_var(), and EX_NODE_SET.
| int ex_get_nset_var_tab | ( | int | exoid, |
| int | num_nodesets, | ||
| int | num_nset_var, | ||
| int * | nset_var_tab | ||
| ) |
reads the EXODUS II nodeset variable truth table from the database
References ex_get_truth_table(), and EX_NODE_SET.
| int ex_get_nset_varid | ( | int | exoid, |
| int * | varid | ||
| ) |
reads the EXODUS II variable varids from the database
References ex_get_varid(), and EX_NODE_SET.
| int ex_get_num_props | ( | int | exoid, |
| ex_entity_type | obj_type | ||
| ) |
References EX_BADPARAM, 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_NODE_MAP, EX_NODE_SET, EX_SIDE_SET, exerrval, MAX_ERR_LENGTH, MAX_VAR_NAME_LENGTH, TRUE, VAR_EB_PROP, VAR_ED_PROP, VAR_EDM_PROP, VAR_ELS_PROP, VAR_EM_PROP, VAR_ES_PROP, VAR_FA_PROP, VAR_FAM_PROP, VAR_FS_PROP, VAR_NM_PROP, VAR_NS_PROP, and VAR_SS_PROP.
Referenced by ex_get_prop(), ex_get_prop_array(), ex_get_prop_names(), ex_inquire(), ex_put_prop(), and ex_put_prop_array().
| int ex_get_object_truth_vector | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | entity_id, | ||
| int | num_var, | ||
| int * | var_vec | ||
| ) |
reads the EXODUS II specified variable truth vector from the database
References DIM_NUM_EDG_VAR, DIM_NUM_ELE_VAR, DIM_NUM_ELSET_VAR, DIM_NUM_ESET_VAR, DIM_NUM_FAC_VAR, DIM_NUM_FSET_VAR, DIM_NUM_NSET_VAR, DIM_NUM_SSET_VAR, EX_BADPARAM, ex_catstr2(), 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_name_of_object(), EX_NODE_SET, EX_NOERR, EX_NULLENTITY, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, NULL, VAR_EBLK_TAB, VAR_ELEM_TAB, VAR_ELSET_TAB, VAR_ESET_TAB, VAR_FBLK_TAB, VAR_FSET_TAB, VAR_NSET_TAB, and VAR_SSET_TAB.
| int ex_get_one_elem_attr | ( | int | exoid, |
| int | elem_blk_id, | ||
| int | attrib_index, | ||
| void * | attrib | ||
| ) |
reads the attributes for an element block
References EX_ELEM_BLOCK, and ex_get_one_attr().
| int ex_get_partial_elem_map | ( | int | exoid, |
| int | map_id, | ||
| int | ent_start, | ||
| int | ent_count, | ||
| int * | elem_map | ||
| ) |
References DIM_NUM_ELEM, DIM_NUM_EM, EX_ELEM_MAP, ex_err(), EX_FATAL, ex_id_lkup(), EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_ELEM_MAP, and VAR_EM_PROP.
| int ex_get_prop | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | obj_id, | ||
| const char * | prop_name, | ||
| int * | value | ||
| ) |
References ATT_PROP_NAME, EX_BADPARAM, 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_get_num_props(), ex_id_lkup(), EX_MSG, ex_name_of_object(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_NULLENTITY, EX_SIDE_SET, EX_WARN, exerrval, FALSE, MAX_ERR_LENGTH, MAX_STR_LENGTH, MAX_VAR_NAME_LENGTH, TRUE, VAR_EB_PROP, VAR_ED_PROP, VAR_EDM_PROP, VAR_ELS_PROP, VAR_EM_PROP, VAR_ES_PROP, VAR_FA_PROP, VAR_FAM_PROP, VAR_FS_PROP, VAR_NM_PROP, VAR_NS_PROP, and VAR_SS_PROP.
| int ex_get_prop_array | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| const char * | prop_name, | ||
| int * | values | ||
| ) |
References ATT_PROP_NAME, EX_BADPARAM, 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_get_num_props(), ex_name_of_object(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, FALSE, MAX_ERR_LENGTH, MAX_STR_LENGTH, MAX_VAR_NAME_LENGTH, TRUE, VAR_EB_PROP, VAR_ED_PROP, VAR_EDM_PROP, VAR_ELS_PROP, VAR_EM_PROP, VAR_ES_PROP, VAR_FA_PROP, VAR_FAM_PROP, VAR_FS_PROP, VAR_NM_PROP, VAR_NS_PROP, and VAR_SS_PROP.
| int ex_get_prop_names | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| char ** | prop_names | ||
| ) |
References ATT_PROP_NAME, EX_BADPARAM, 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_get_num_props(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, exerrval, MAX_ERR_LENGTH, VAR_EB_PROP, VAR_ED_PROP, VAR_EDM_PROP, VAR_ELS_PROP, VAR_EM_PROP, VAR_ES_PROP, VAR_FA_PROP, VAR_FAM_PROP, VAR_FS_PROP, VAR_NM_PROP, VAR_NS_PROP, and VAR_SS_PROP.
| int ex_get_qa | ( | int | exoid, |
| char * | qa_record[][4] | ||
| ) |
References DIM_NUM_QA, ex_err(), EX_FATAL, EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, MAX_STR_LENGTH, and VAR_QA_TITLE.
| int ex_get_side_set | ( | int | exoid, |
| int | side_set_id, | ||
| int * | side_set_elem_list, | ||
| int * | side_set_side_list | ||
| ) |
reads the side set element list and side set side list for a single side set
References ex_get_set(), and EX_SIDE_SET.
Referenced by ex_get_side_set_node_count(), ex_get_side_set_node_list(), and ex_get_side_set_node_list_len().
| int ex_get_side_set_dist_fact | ( | int | exoid, |
| int | side_set_id, | ||
| void * | side_set_dist_fact | ||
| ) |
reads the distribution factors for a single side set
References ex_get_set_dist_fact(), and EX_SIDE_SET.
| int ex_get_side_set_ids | ( | int | exoid, |
| int * | ids | ||
| ) |
reads the side set ids from the database
References ex_get_ids(), and EX_SIDE_SET.
Referenced by ex_inquire().
| int ex_get_side_set_node_count | ( | int | exoid, |
| int | side_set_id, | ||
| int * | side_set_node_cnt_list | ||
| ) |
References EL_NODE_COUNT_ERROR, elem_blk_parm::elem_blk_id, elem_blk_parm::elem_ctr, elem_blk_parm::elem_type, elem_blk_parm::elem_type_val, EX_BADPARAM, EX_EL_BEAM, EX_EL_CIRCLE, EX_EL_HEX, EX_EL_NULL_ELEMENT, EX_EL_PYRAMID, EX_EL_QUAD, EX_EL_SHELL, EX_EL_SPHERE, EX_EL_TETRA, EX_EL_TRIANGLE, EX_EL_TRUSS, EX_EL_UNK, EX_EL_WEDGE, ex_err(), EX_FATAL, ex_get_elem_blk_ids(), ex_get_elem_block(), ex_get_side_set(), ex_get_side_set_param(), ex_id_lkup(), EX_INQ_DIM, EX_INQ_ELEM, EX_INQ_ELEM_BLK, EX_INQ_SIDE_SETS, ex_inquire(), ex_iqsort(), EX_MEMFAIL, EX_MSG, EX_NOERR, EX_NULLENTITY, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, MAX_STR_LENGTH, elem_blk_parm::num_attr, elem_blk_parm::num_elem_in_blk, elem_blk_parm::num_nodes_per_elem, elem_blk_parm::num_nodes_per_side, and elem_blk_parm::num_sides.
| int ex_get_side_set_node_list | ( | int | exoid, |
| int | side_set_id, | ||
| int * | side_set_node_cnt_list, | ||
| int * | side_set_node_list | ||
| ) |
This routine is designed to read the Exodus II V 2.0 side set side definition and return a ExodusI style side set node definition.
References elem_blk_parm::elem_blk_id, elem_blk_parm::elem_ctr, elem_blk_parm::elem_type, elem_blk_parm::elem_type_val, EX_BADPARAM, EX_EL_BEAM, EX_EL_CIRCLE, EX_EL_HEX, EX_EL_NULL_ELEMENT, EX_EL_PYRAMID, EX_EL_QUAD, EX_EL_SHELL, EX_EL_SPHERE, EX_EL_TETRA, EX_EL_TRIANGLE, EX_EL_TRUSS, EX_EL_UNK, EX_EL_WEDGE, ex_err(), EX_FATAL, ex_get_elem_blk_ids(), ex_get_elem_block(), ex_get_elem_conn(), ex_get_side_set(), ex_get_side_set_param(), ex_id_lkup(), EX_INQ_DIM, EX_INQ_ELEM, EX_INQ_ELEM_BLK, EX_INQ_SIDE_SETS, ex_inquire(), ex_iqsort(), EX_MEMFAIL, EX_MSG, EX_NOERR, EX_NULLENTITY, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, MAX_STR_LENGTH, NULL, elem_blk_parm::num_attr, elem_blk_parm::num_elem_in_blk, elem_blk_parm::num_nodes_per_elem, and elem_blk_parm::num_nodes_per_side.
| int ex_get_side_set_node_list_len | ( | int | exoid, |
| int | side_set_id, | ||
| int * | side_set_node_list_len | ||
| ) |
This routine is designed to read the Exodus II V 2.0 side set side definition and return the length of a ExodusI style side set node list.
| exoid | exodus file id | |
| side_set_id | side set id | |
| [out] | *side_set_node_list_len | length of node list |
References elem_blk_parm::elem_blk_id, elem_blk_parm::elem_ctr, elem_blk_parm::elem_type, elem_blk_parm::elem_type_val, EX_BADPARAM, EX_EL_BEAM, EX_EL_CIRCLE, EX_EL_HEX, EX_EL_NULL_ELEMENT, EX_EL_PYRAMID, EX_EL_QUAD, EX_EL_SHELL, EX_EL_SPHERE, EX_EL_TETRA, EX_EL_TRIANGLE, EX_EL_TRUSS, EX_EL_UNK, EX_EL_WEDGE, ex_err(), EX_FATAL, ex_get_elem_blk_ids(), ex_get_elem_block(), ex_get_side_set(), ex_get_side_set_param(), EX_INQ_DIM, EX_INQ_ELEM, EX_INQ_ELEM_BLK, EX_INQ_SIDE_SETS, ex_inquire(), ex_iqsort(), EX_MEMFAIL, EX_MSG, EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, MAX_STR_LENGTH, elem_blk_parm::num_attr, elem_blk_parm::num_elem_in_blk, elem_blk_parm::num_nodes_per_elem, and elem_blk_parm::num_nodes_per_side.
Referenced by ex_inquire().
| int ex_get_side_set_param | ( | int | exoid, |
| int | side_set_id, | ||
| int * | num_side_in_set, | ||
| int * | num_dist_fact_in_set | ||
| ) |
reads the number of sides and the number of distribution factors which describe a single side set
| exoid | exodus file id | |
| side_set_id | side set id | |
| [out] | num_side_in_set | number of sides in the side set |
| [out] | num_dist_fact_in_set | number of distribution factors in the |
References ex_get_set_param(), and EX_SIDE_SET.
Referenced by ex_get_side_set_node_count(), ex_get_side_set_node_list(), ex_get_side_set_node_list_len(), and ex_header_size().
| int ex_get_sset_var | ( | int | exoid, |
| int | time_step, | ||
| int | sset_var_index, | ||
| int | sset_id, | ||
| int | num_side_this_sset, | ||
| void * | sset_var_vals | ||
| ) |
reads the values of a single sideset variable for one sideset at one time step in the database; assume the first time step and sideset variable index is 1
References ex_get_var(), and EX_SIDE_SET.
| int ex_get_sset_var_tab | ( | int | exoid, |
| int | num_sidesets, | ||
| int | num_sset_var, | ||
| int * | sset_var_tab | ||
| ) |
reads the EXODUS II sideset variable truth table from the database
References ex_get_truth_table(), and EX_SIDE_SET.
| int ex_get_sset_varid | ( | int | exoid, |
| int * | varid | ||
| ) |
reads the EXODUS II variable varids from the database
References ex_get_varid(), and EX_SIDE_SET.
| int ex_get_time | ( | int | exoid, |
| int | time_step, | ||
| void * | time_value | ||
| ) |
reads the time value for a specified time step; assume the first time step is 1
References ex_comp_ws(), ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, and VAR_WHOLE_TIME.
| int ex_get_truth_table | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | num_blk, | ||
| int | num_var, | ||
| int * | var_tab | ||
| ) |
reads the EXODUS II specified variable truth table from the database
References DIM_NUM_EDG_VAR, DIM_NUM_ELE_VAR, DIM_NUM_ELSET_VAR, DIM_NUM_ESET_VAR, DIM_NUM_FAC_VAR, DIM_NUM_FSET_VAR, DIM_NUM_NSET_VAR, DIM_NUM_SSET_VAR, EX_BADPARAM, ex_catstr2(), ex_dim_num_objects(), 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_name_of_object(), EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, NULL, VAR_EBLK_TAB, VAR_ELEM_TAB, VAR_ELSET_TAB, VAR_ESET_TAB, VAR_FBLK_TAB, VAR_FSET_TAB, VAR_NSET_TAB, and VAR_SSET_TAB.
Referenced by ex_get_elem_var_tab(), ex_get_nset_var_tab(), ex_get_sset_var_tab(), and ex_get_var_tab().
| int ex_get_var_name | ( | int | exoid, |
| const char * | var_type, | ||
| int | var_num, | ||
| char * | var_name | ||
| ) |
reads the name of a particular results variable from the database
References ex_get_variable_name(), and ex_var_type_to_ex_entity_type().
| int ex_get_var_names | ( | int | exoid, |
| const char * | var_type, | ||
| int | num_vars, | ||
| char * | var_names[] | ||
| ) |
reads the names of the results variables from the database
References ex_get_variable_names(), and ex_var_type_to_ex_entity_type().
| int ex_get_var_param | ( | int | exoid, |
| const char * | var_type, | ||
| int * | num_vars | ||
| ) |
reads the number of global, nodal, or element variables that are stored in the database
References ex_get_variable_param(), and ex_var_type_to_ex_entity_type().
| int ex_get_var_tab | ( | int | exoid, |
| const char * | var_type, | ||
| int | num_blk, | ||
| int | num_var, | ||
| int * | var_tab | ||
| ) |
reads the EXODUS II specified variable truth table from the database
References ex_get_truth_table(), and ex_var_type_to_ex_entity_type().
| int ex_get_variable_name | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | var_num, | ||
| char * | var_name | ||
| ) |
reads the name of a particular results variable from the database
References EX_BADPARAM, 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_name_of_object(), EX_NODAL, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, MAX_STR_LENGTH, NULL, 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, and VAR_NAME_SSET_VAR.
Referenced by ex_get_var_name().
| int ex_get_variable_names | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | num_vars, | ||
| char * | var_names[] | ||
| ) |
reads the names of the results variables from the database
References EX_BADPARAM, 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_name_of_object(), EX_NODAL, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, MAX_STR_LENGTH, 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, and VAR_NAME_SSET_VAR.
Referenced by ex_get_var_names().
| int ex_get_variable_param | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int * | num_vars | ||
| ) |
reads the number of global, nodal, or element variables that are stored in the database
References DIM_NUM_EDG_VAR, DIM_NUM_ELE_VAR, DIM_NUM_ELSET_VAR, DIM_NUM_ESET_VAR, DIM_NUM_FAC_VAR, DIM_NUM_FSET_VAR, DIM_NUM_GLO_VAR, DIM_NUM_NOD_VAR, DIM_NUM_NSET_VAR, DIM_NUM_SSET_VAR, EX_BADPARAM, 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_name_of_object(), EX_NODAL, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, and MAX_ERR_LENGTH.
Referenced by ex_get_var_param().
| int ex_get_varid | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int * | varid_arr | ||
| ) |
reads the EXODUS II variable varids from the database
References DIM_NUM_EDG_VAR, DIM_NUM_ELE_VAR, DIM_NUM_ELSET_VAR, DIM_NUM_ESET_VAR, DIM_NUM_FAC_VAR, DIM_NUM_FSET_VAR, DIM_NUM_NSET_VAR, DIM_NUM_SSET_VAR, EX_BADPARAM, ex_catstr2(), ex_dim_num_objects(), 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_get_nodal_varid(), ex_name_of_object(), EX_NODAL, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, and NULL.
Referenced by ex_get_elem_varid(), ex_get_nset_varid(), and ex_get_sset_varid().
| int ex_get_varid_var | ( | int | exoid, |
| int | time_step, | ||
| int | varid, | ||
| int | num_entity, | ||
| void * | var_vals | ||
| ) |
reads the values of a single variable at one time step in the database; assume the first time index is 1. Access based on the passed in 'varid'
NOTE: If used for nodal variables, it must be an ex_large_model == 1
References ex_comp_ws(), ex_err(), EX_FATAL, EX_NOERR, exerrval, and MAX_ERR_LENGTH.
| size_t ex_header_size | ( | int | exoid | ) |
Calculate the number of words of storage required to store the header information. Total bytes can be obtained by multiplying words by 4. Size is slightly underestimated since it only considers the bulk data storage...
References DIM_NUM_DIM, DIM_NUM_EL_BLK, DIM_NUM_ELEM, DIM_NUM_EM, DIM_NUM_NM, DIM_NUM_NODES, DIM_NUM_NS, DIM_NUM_SS, EX_ELEM_BLOCK, ex_get_dimension(), ex_get_elem_block(), ex_get_ids(), ex_get_node_set_param(), ex_get_side_set_param(), ex_large_model(), EX_NODE_SET, EX_SIDE_SET, MAX_STR_LENGTH, nc_flt_code(), NULL, VAR_ELEM_NUM_MAP, VAR_MAP, and VAR_NODE_NUM_MAP.
| int ex_inquire | ( | int | exoid, |
| int | req_info, | ||
| int * | ret_int, | ||
| void * | ret_float, | ||
| char * | ret_char | ||
| ) |
returns information about the database
| exoid | exodus file id | |
| req_info | info request code | |
| [out] | ret_int | returned integer value |
| [out] | ret_float | returned float value |
| [out] | ret_char | returned character value |
References ATT_API_VERSION, ATT_API_VERSION_BLANK, ATT_TITLE, ATT_VERSION, DIM_NUM_CFRAMES, DIM_NUM_DF_ELS, DIM_NUM_DF_ES, DIM_NUM_DF_FS, DIM_NUM_DF_SS, DIM_NUM_DIM, DIM_NUM_ED_BLK, DIM_NUM_EDGE, DIM_NUM_EDGE_ES, DIM_NUM_EDM, DIM_NUM_EL_BLK, DIM_NUM_ELE_ELS, DIM_NUM_ELEM, DIM_NUM_ELS, DIM_NUM_EM, DIM_NUM_ES, DIM_NUM_FA_BLK, DIM_NUM_FACE, DIM_NUM_FACE_FS, DIM_NUM_FAM, DIM_NUM_FS, DIM_NUM_INFO, DIM_NUM_NM, DIM_NUM_NOD_NS, DIM_NUM_NODES, DIM_NUM_NS, DIM_NUM_QA, DIM_NUM_SIDE_SS, DIM_NUM_SS, DIM_TIME, EX_API_VERS, EX_API_VERS_NODOT, EX_BADPARAM, EX_EDGE_BLOCK, EX_EDGE_SET, EX_ELEM_BLOCK, EX_ELEM_MAP, EX_ELEM_SET, ex_err(), EX_FACE_BLOCK, EX_FACE_SET, EX_FATAL, EX_GET_CONCAT_SET_LEN, ex_get_dimension(), EX_GET_DIMENSION_VALUE, ex_get_node_set_ids(), ex_get_num_props(), ex_get_side_set_ids(), ex_get_side_set_node_list_len(), EX_INQ_API_VERS, EX_INQ_COORD_FRAMES, EX_INQ_DB_VERS, EX_INQ_DIM, EX_INQ_EB_PROP, EX_INQ_EDGE, EX_INQ_EDGE_BLK, EX_INQ_EDGE_MAP, EX_INQ_EDGE_PROP, EX_INQ_EDGE_SETS, EX_INQ_ELEM, EX_INQ_ELEM_BLK, EX_INQ_ELEM_MAP, EX_INQ_ELEM_SETS, EX_INQ_ELS_DF_LEN, EX_INQ_ELS_LEN, EX_INQ_ELS_PROP, EX_INQ_EM_PROP, EX_INQ_ES_DF_LEN, EX_INQ_ES_LEN, EX_INQ_ES_PROP, EX_INQ_FACE, EX_INQ_FACE_BLK, EX_INQ_FACE_MAP, EX_INQ_FACE_PROP, EX_INQ_FACE_SETS, EX_INQ_FILE_TYPE, EX_INQ_FS_DF_LEN, EX_INQ_FS_LEN, EX_INQ_FS_PROP, EX_INQ_INFO, EX_INQ_LIB_VERS, EX_INQ_NM_PROP, EX_INQ_NODE_MAP, EX_INQ_NODE_SETS, EX_INQ_NODES, EX_INQ_NS_DF_LEN, EX_INQ_NS_NODE_LEN, EX_INQ_NS_PROP, EX_INQ_QA, EX_INQ_SIDE_SETS, EX_INQ_SS_DF_LEN, EX_INQ_SS_ELEM_LEN, EX_INQ_SS_NODE_LEN, EX_INQ_SS_PROP, EX_INQ_TIME, EX_INQ_TITLE, EX_MEMFAIL, EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, flt_cvt(), MAX_ERR_LENGTH, MAX_LINE_LENGTH, NULL, VAR_ELS_STAT, VAR_ES_STAT, VAR_FACT_NS, VAR_FS_STAT, VAR_NS_STAT, and VAR_SS_STAT.
Referenced by ex_cvt_nodes_to_sides(), ex_get_concat_sets(), ex_get_concat_side_set_node_count(), ex_get_glob_var_time(), ex_get_nodal_var_time(), ex_get_side_set_node_count(), ex_get_side_set_node_list(), ex_get_side_set_node_list_len(), ex_get_var_time(), ex_inquire_int(), ex_put_concat_sets(), and update_internal_structs().
| int ex_inquire_int | ( | int | exoid, |
| int | inquiry | ||
| ) |
References ex_inquire(), and NULL.
| int ex_large_model | ( | int | exoid | ) |
Determine whether the new large model storage is being used in this file, or old method. Basically, the difference is whether the coordinates and nodal variables are stored in a blob (xyz components together) or as a variable per component per nodal_variable.
References ATT_FILESIZE, EXODUS_DEFAULT_SIZE, FALSE, NULL, and TRUE.
Referenced by ex_copy(), ex_create_int(), ex_get_coord(), ex_get_n_coord(), ex_get_n_nodal_var(), ex_get_nodal_var(), ex_get_nodal_var_time(), ex_get_nodal_varid(), ex_get_nodal_varid_var(), ex_header_size(), ex_put_all_var_param_ext(), ex_put_coord(), ex_put_init_ext(), ex_put_n_coord(), ex_put_n_nodal_var(), ex_put_nodal_var(), ex_put_nodal_varid_var(), and ex_put_variable_param().
| char* ex_name_of_object | ( | ex_entity_type | obj_type | ) |
References EX_EDGE_BLOCK, EX_EDGE_MAP, EX_EDGE_SET, EX_ELEM_BLOCK, EX_ELEM_MAP, EX_ELEM_SET, EX_FACE_BLOCK, EX_FACE_MAP, EX_FACE_SET, EX_GLOBAL, EX_NODAL, EX_NODE_MAP, EX_NODE_SET, and EX_SIDE_SET.
Referenced by ex_get_attr(), ex_get_attr_names(), ex_get_attr_param(), ex_get_block(), ex_get_concat_sets(), ex_get_conn(), ex_get_entity_count_per_polyhedra(), ex_get_ids(), ex_get_n_conn(), ex_get_n_one_attr(), ex_get_n_var(), ex_get_num_map(), ex_get_object_truth_vector(), ex_get_one_attr(), ex_get_prop(), ex_get_prop_array(), ex_get_set(), ex_get_set_dist_fact(), ex_get_set_param(), ex_get_truth_table(), ex_get_var(), ex_get_var_time(), ex_get_variable_name(), ex_get_variable_names(), ex_get_variable_param(), ex_get_varid(), ex_put_attr(), ex_put_attr_names(), ex_put_attr_param(), ex_put_block(), ex_put_concat_sets(), ex_put_conn(), ex_put_entity_count_per_polyhedra(), ex_put_n_one_attr(), ex_put_n_var(), ex_put_name(), ex_put_names(), ex_put_num_map(), ex_put_one_attr(), ex_put_partial_set_dist_fact(), ex_put_prop(), ex_put_prop_array(), ex_put_prop_names(), ex_put_set(), ex_put_set_dist_fact(), ex_put_set_param(), ex_put_truth_table(), ex_put_var(), ex_put_variable_name(), ex_put_variable_param(), and write_dummy_names().
| 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.
| path | exodus filename path | |
| mode | access mode w/r | |
| [out] | comp_ws | computer word size |
| [out] | io_ws | storage word size |
| [out] | version | EXODUSII interface version number |
| run_version | EXODUSII version number of linked library |
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.
| void ex_opts | ( | int | options | ) |
error reporting options mask
| options | error reporting options mask |
References exerrval, and exoptval.
Referenced by ex_create_int(), and ex_open_int().
| int ex_put_all_var_param | ( | int | exoid, |
| int | num_g, | ||
| int | num_n, | ||
| int | num_e, | ||
| int * | elem_var_tab, | ||
| int | num_m, | ||
| int * | nset_var_tab, | ||
| int | num_s, | ||
| int * | sset_var_tab | ||
| ) |
defines the number of global, nodal, element, nodeset, and sideset variables that will be written to the database
| exoid | exodus file id |
| num_g | global variable count |
| num_n | nodal variable count |
| num_e | element variable count |
| *elem_var_tab | element variable truth table array |
| num_m | nodeset variable count |
| *nset_var_tab | nodeset variable truth table array |
| num_s | sideset variable count |
| *sset_var_tab | sideset variable truth table array |
References 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_put_all_var_param_ext(), ex_var_params::face_var_tab, ex_var_params::fset_var_tab, 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, and ex_var_params::sset_var_tab.
Referenced by ex_put_concat_var_param().
| int ex_put_attr_param | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | obj_id, | ||
| int | num_attrs | ||
| ) |
defines the number of attributes.
| exoid | exodus file id |
| obj_type | block/set type (node, edge, face, elem) |
| obj_id | block/set id (ignored for NODAL) |
| num_attrs | number 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, DIM_STR, EX_BADPARAM, 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, nc_flt_code(), VAR_ATTRIB, VAR_EATTRIB, VAR_ELSATTRIB, VAR_ESATTRIB, VAR_FATTRIB, VAR_FSATTRIB, VAR_NAME_ATTRIB, VAR_NAME_EATTRIB, VAR_NAME_ELSATTRIB, VAR_NAME_ESATTRIB, VAR_NAME_FATTRIB, VAR_NAME_FSATTRIB, VAR_NAME_NATTRIB, VAR_NAME_NSATTRIB, VAR_NAME_SSATTRIB, VAR_NATTRIB, VAR_NSATTRIB, and VAR_SSATTRIB.
| int ex_put_concat_elem_block | ( | int | exoid, |
| const int * | elem_blk_id, | ||
| char * | elem_type[], | ||
| const int * | num_elem_this_blk, | ||
| const int * | num_nodes_per_elem, | ||
| const int * | num_attr, | ||
| int | define_maps | ||
| ) |
writes the parameters used to describe an element block
| exoid | exodus file id |
| elem_blk_id | element block id |
| elem_type | element type string |
| num_elem_this_blk | number of elements in the element blk |
| num_nodes_per_elem | number of nodes per element block |
| num_attr | number of attributes |
| define_maps | if != 0, write maps, else don't |
References ATT_NAME_ELB, DIM_NUM_ATT_IN_BLK, DIM_NUM_EL_BLK, DIM_NUM_EL_IN_BLK, DIM_NUM_ELEM, DIM_NUM_NOD_PER_EL, DIM_NUM_NODES, DIM_STR, EX_ELEM_BLOCK, ex_err(), EX_FATAL, ex_get_counter_list(), ex_get_file_item(), ex_inc_file_item(), EX_MEMFAIL, EX_NOERR, exerrval, MAX_ERR_LENGTH, nc_flt_code(), VAR_ATTRIB, VAR_CONN, VAR_ELEM_NUM_MAP, VAR_ID_EL_BLK, VAR_NAME_ATTRIB, VAR_NODE_NUM_MAP, and VAR_STAT_EL_BLK.
| int ex_put_concat_node_sets | ( | int | exoid, |
| int * | node_set_ids, | ||
| int * | num_nodes_per_set, | ||
| int * | num_dist_per_set, | ||
| int * | node_sets_node_index, | ||
| int * | node_sets_df_index, | ||
| int * | node_sets_node_list, | ||
| void * | node_sets_dist_fact | ||
| ) |
writes the node set ID's, node set count array, node set pointers array, and node set node list for all of the node sets
| exoid | exodus file id |
| node_set_ids | array of node set ids |
| num_nodes_per_set | array of number of nodes per set |
| num_dist_per_set | array of number of dist fact per set |
| node_sets_node_index | array of set indices into node list |
| node_sets_df_index | array of set indices into dist fact list |
| node_sets_node_list | array of node list #'s for node set |
| node_sets_dist_fact | array of dist factors for node set |
References EX_NODE_SET, ex_put_concat_sets(), NULL, ex_set_specs::num_dist_per_set, ex_set_specs::num_entries_per_set, ex_set_specs::sets_dist_fact, ex_set_specs::sets_dist_index, ex_set_specs::sets_entry_index, ex_set_specs::sets_entry_list, ex_set_specs::sets_extra_list, and ex_set_specs::sets_ids.
| int ex_put_concat_side_sets | ( | int | exoid, |
| int * | side_set_ids, | ||
| int * | num_elem_per_set, | ||
| int * | num_dist_per_set, | ||
| int * | side_sets_elem_index, | ||
| int * | side_sets_dist_index, | ||
| int * | side_sets_elem_list, | ||
| int * | side_sets_side_list, | ||
| void * | side_sets_dist_fact | ||
| ) |
writes the side set ID's, side set element count array, side set element pointers array, side set element list, side set side list, and distribution factors list.
| exoid | exodus file id |
| side_set_ids | array of side set ids |
| num_elem_per_set | number of elements/sides/faces per set |
| num_dist_per_set | number of distribution factors per set |
| side_sets_elem_index | index array of elements into elem list |
| side_sets_dist_index | index array of df into df list |
| side_sets_elem_list | array of elements |
| side_sets_side_list | array of sides/faces |
| side_sets_dist_fact | array of distribution factors |
References ex_put_concat_sets(), EX_SIDE_SET, ex_set_specs::num_dist_per_set, ex_set_specs::num_entries_per_set, ex_set_specs::sets_dist_fact, ex_set_specs::sets_dist_index, ex_set_specs::sets_entry_index, ex_set_specs::sets_entry_list, ex_set_specs::sets_extra_list, and ex_set_specs::sets_ids.
| int ex_put_concat_var_param | ( | int | exoid, |
| int | num_g, | ||
| int | num_n, | ||
| int | num_e, | ||
| int | num_elem_blk, | ||
| int * | elem_var_tab | ||
| ) |
writes the number of global, nodal, and element variables that will be written to the database
| exoid | int exodus file id |
| num_g | int global variable count |
| num_n | int nodal variable count |
| num_e | int element variable count |
| num_elem_blk | int number of element blocks |
| elem_var_tab | int* element variable truth table array |
References ex_put_all_var_param().
| int ex_put_coord | ( | int | exoid, |
| const void * | x_coor, | ||
| const void * | y_coor, | ||
| const void * | z_coor | ||
| ) |
writes the coordinates of all the nodes in the model Only writes the 'non-null' arrays.
| exoid | exodus file id |
| x_coor | X coord array |
| y_coor | y coord array |
| z_coor | z coord array |
References DIM_NUM_DIM, DIM_NUM_NODES, ex_comp_ws(), ex_err(), EX_FATAL, ex_large_model(), EX_NOERR, exerrval, MAX_ERR_LENGTH, NULL, VAR_COORD, VAR_COORD_X, VAR_COORD_Y, and VAR_COORD_Z.
| int ex_put_coord_names | ( | int | exoid, |
| char * | coord_names[] | ||
| ) |
writes the names of the coordinate arrays to the database
| exoid | exodus file id |
| coord_names | ptr array of coordinate names |
References DIM_NUM_DIM, ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, and VAR_NAME_COOR.
| int ex_put_coordinate_frames | ( | int | exoid, |
| int | nframes, | ||
| const int | cf_ids[], | ||
| void * | pt_coordinates, | ||
| const char * | tags | ||
| ) |
References DIM_NUM_CFRAME9, DIM_NUM_CFRAMES, ex_comp_ws(), ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, nc_flt_code(), PROCNAME, VAR_FRAME_COORDS, VAR_FRAME_IDS, and VAR_FRAME_TAGS.
| int ex_put_elem_attr | ( | int | exoid, |
| int | elem_blk_id, | ||
| const void * | attrib | ||
| ) |
writes the attributes for an element block
| exoid | exodus file id |
| elem_blk_id | element block id |
| attrib | array of attributes |
References EX_ELEM_BLOCK, and ex_put_attr().
| int ex_put_elem_attr_names | ( | int | exoid, |
| int | elem_blk_id, | ||
| char * | names[] | ||
| ) |
writes the attribute names for an element block
| exoid | exodus file id |
| elem_blk_id | element block id |
| names[] | ptr array of attribute names |
References EX_ELEM_BLOCK, and ex_put_attr_names().
| int ex_put_elem_block | ( | int | exoid, |
| int | elem_blk_id, | ||
| const char * | elem_type, | ||
| int | num_elem_this_blk, | ||
| int | num_nodes_per_elem, | ||
| int | num_attr_per_elem | ||
| ) |
writes the parameters used to describe an element block
| exoid | exodus file id |
| elem_blk_id | block identifier |
| elem_type | element type string |
| num_elem_this_blk | number of elements in the element blk |
| num_nodes_per_elem | number of nodes per element block |
| num_attr_per_elem | number of attributes per element |
References EX_ELEM_BLOCK, and ex_put_block().
| int ex_put_elem_conn | ( | int | exoid, |
| int | elem_blk_id, | ||
| const int * | connect | ||
| ) |
writes the connectivity array for an element block
| exoid | exodus file id |
| elem_blk_id | element block id |
| *connect | connectivity array |
References EX_ELEM_BLOCK, and ex_put_conn().
| int ex_put_elem_map | ( | int | exoid, |
| int | map_id, | ||
| const int * | elem_map | ||
| ) |
writes an element map; this is a vector of integers of length number of elements
| exoid | exodus file id |
| map_id | element map id |
| elem_map | element map |
References EX_ELEM_MAP, and ex_put_num_map().
| int ex_put_elem_num_map | ( | int | exoid, |
| const int * | elem_map | ||
| ) |
writes out the element numbering map to the database; this allows element numbers to be non-contiguous
| exoid | exodus file id |
| elem_map | element numbering map array |
References EX_ELEM_MAP, and ex_put_id_map().
| int ex_put_elem_var | ( | int | exoid, |
| int | time_step, | ||
| int | elem_var_index, | ||
| int | elem_blk_id, | ||
| int | num_elem_this_blk, | ||
| const void * | elem_var_vals | ||
| ) |
writes the values of a single element variable for one element block at one time step to the database; assume the first time step and element variable index are 1
| exoid | exodus file id |
| time_step | time step number |
| elem_var_index | element variable index |
| elem_blk_id | element block id |
| num_elem_this_blk | number of elements in this block |
| elem_var_vals | the element bariables to be written |
References EX_ELEM_BLOCK, and ex_put_var().
| int ex_put_elem_var_tab | ( | int | exoid, |
| int | num_elem_blk, | ||
| int | num_elem_var, | ||
| int * | elem_var_tab | ||
| ) |
writes the EXODUS II element variable truth table to the database; also, creates netCDF variables in which to store EXODUS II element variable values; although this table isn't required (because the netCDF variables can also be created in ex_put_elem_var), this call will save tremendous time because all of the variables are defined at once while the file is in define mode, rather than going in and out of define mode (causing the entire file to be copied over and over) which is what occurs when the element variable values variables are defined in ex_put_elem_var
| exoid | int exodus file id |
| num_elem_blk | int number of element blocks |
| num_elem_var | int number of element variables |
| elem_var_tab | int* element variable truth table array |
References EX_ELEM_BLOCK, and ex_put_truth_table().
| int ex_put_glob_vars | ( | int | exoid, |
| int | time_step, | ||
| int | num_glob_vars, | ||
| const void * | glob_var_vals | ||
| ) |
writes the values of all the global variables for a single time step to the database; time step numbers are assumed to start at 1
| exoid | exodus file id |
| time_step | time step number |
| num_glob_vars | number of global vars in file |
| glob_var_vals | array of global variable values |
References EX_GLOBAL, and ex_put_var().
| int ex_put_id_map | ( | int | exoid, |
| ex_entity_type | map_type, | ||
| const int * | map | ||
| ) |
writes out the entity numbering map to the database; this allows the entity numbers to be non-contiguous. This map is used for mapping between local and global entity ids.
| exoid | exodus file id |
| map_type | |
| map | element numbering map array |
References DIM_NUM_EDGE, DIM_NUM_ELEM, DIM_NUM_FACE, DIM_NUM_NODES, EX_BADPARAM, EX_EDGE_MAP, EX_ELEM_MAP, ex_err(), EX_FACE_MAP, EX_FATAL, EX_NODE_MAP, EX_NOERR, exerrval, MAX_ERR_LENGTH, VAR_EDGE_NUM_MAP, VAR_ELEM_NUM_MAP, VAR_FACE_NUM_MAP, and VAR_NODE_NUM_MAP.
Referenced by ex_put_elem_num_map(), and ex_put_node_num_map().
| int ex_put_info | ( | int | exoid, |
| int | num_info, | ||
| char * | info[] | ||
| ) |
writes information records to the database
| exoid | exodus file id |
| num_info | count of info records to be written. |
| info[] | ptr array of info records |
References DIM_LIN, DIM_NUM_INFO, ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, MAX_LINE_LENGTH, and VAR_INFO.
| int ex_put_init | ( | int | exoid, |
| const char * | title, | ||
| int | num_dim, | ||
| int | num_nodes, | ||
| int | num_elem, | ||
| int | num_elem_blk, | ||
| int | num_node_sets, | ||
| int | num_side_sets | ||
| ) |
writes the initialization parameters to the EXODUS II file
| exoid | exodus file id |
| title | title of file |
| num_dim | number of dimensions (per node) |
| num_nodes | number of nodes |
| num_elem | number of elements |
| num_elem_blk | number of element blocks |
| num_node_sets | number of node sets |
| num_side_sets | number of side sets |
References ex_put_init_ext(), 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, and ex_init_params::title.
| int ex_put_map | ( | int | exoid, |
| const int * | elem_map | ||
| ) |
writes out the element order map to the database.
| exoid | exodus file id |
| elem_map | element order map array |
References DIM_NUM_ELEM, ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, and VAR_MAP.
| int ex_put_map_param | ( | int | exoid, |
| int | num_node_maps, | ||
| int | num_elem_maps | ||
| ) |
defines the number of node and element maps. It is more efficient to define both of these at the same time; however, they can be defined in separate calls by setting only one of the counts to a non-zero value. It is an error to redefine the number of node or element maps.
| exoid | exodus file id |
| num_node_maps | number of node maps |
| num_elem_maps | number of element maps |
References ATT_PROP_NAME, DIM_NUM_ELEM, DIM_NUM_EM, DIM_NUM_NM, DIM_NUM_NODES, DIM_STR, ex_err(), EX_FATAL, EX_MSG, EX_NOERR, exerrval, MAX_ERR_LENGTH, VAR_ELEM_MAP, VAR_EM_PROP, VAR_NAME_EM, VAR_NAME_NM, VAR_NM_PROP, and VAR_NODE_MAP.
| int ex_put_n_coord | ( | int | exoid, |
| int | start_node_num, | ||
| int | num_nodes, | ||
| const void * | x_coor, | ||
| const void * | y_coor, | ||
| const void * | z_coor | ||
| ) |
writes the coordinates of some of the nodes in the model Only writes the 'non-null' arrays.
| exoid | exodus file id |
| start_node_num | the starting index (1-based) of the coordinates to be written |
| num_nodes | the number of nodes to write coordinates for. |
| x_coor | x coord array |
| y_coor | y coord array |
| z_coor | z coord array |
References DIM_NUM_DIM, DIM_NUM_NODES, EX_BADPARAM, ex_comp_ws(), ex_err(), EX_FATAL, ex_large_model(), EX_NOERR, exerrval, MAX_ERR_LENGTH, NULL, VAR_COORD, VAR_COORD_X, VAR_COORD_Y, and VAR_COORD_Z.
| int ex_put_n_nodal_var | ( | int | exoid, |
| int | time_step, | ||
| int | nodal_var_index, | ||
| int | start_node, | ||
| int | num_nodes, | ||
| const void * | nodal_var_vals | ||
| ) |
writes the values of a single nodal variable for a partial block at one single time step to the database; assume the first time step and nodal variable index is 1
| exoid | exodus file id |
| time_step | whole time step number |
| nodal_var_index | index of desired nodal variable |
| start_node | index of first node to write data for (1-based) |
| num_nodes | number of nodal points |
| nodal_var_vals | array of nodal variable values |
References ex_comp_ws(), ex_err(), EX_FATAL, ex_large_model(), EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_NOD_VAR, and VAR_NOD_VAR_NEW.
Referenced by ex_put_n_var().
| int ex_put_n_one_attr | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | obj_id, | ||
| int | start_num, | ||
| int | num_ent, | ||
| int | attrib_index, | ||
| const void * | attrib | ||
| ) |
writes the specified attribute for a block
| exoid | exodus file id |
| obj_type | object type (edge, face, elem block) |
| obj_id | object id (edge, face, elem block ID) |
| start_num | the starting index of the attributes to be written |
| num_ent | the number of entities to write attributes for. |
| attrib_index | index of attribute to write |
| attrib | array 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, VAR_ATTRIB, VAR_EATTRIB, VAR_ELSATTRIB, VAR_ESATTRIB, VAR_FATTRIB, VAR_FSATTRIB, VAR_NATTRIB, VAR_NSATTRIB, and VAR_SSATTRIB.
| int ex_put_name | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | entity_id, | ||
| const char * | name | ||
| ) |
writes the name of the specified entity to the database.
| exoid | exodus file id |
| obj_type | object type |
| entity_id | id of entity name to write |
| name | ptr to entity name |
References EX_BADPARAM, 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_id_lkup(), ex_name_of_object(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, exerrval, MAX_ERR_LENGTH, 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, and VAR_NAME_SS.
| int ex_put_names | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| char * | names[] | ||
| ) |
writes the names of the results variables to the database
| exoid | exodus file id |
| obj_type | object type |
| names | ptr array of entity names |
References EX_BADPARAM, ex_dim_num_objects(), 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_get_dimension(), ex_name_of_object(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, exerrval, MAX_ERR_LENGTH, NULL, 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, and VAR_NAME_SS.
| int ex_put_nodal_var | ( | int | exoid, |
| int | time_step, | ||
| int | nodal_var_index, | ||
| int | num_nodes, | ||
| const void * | nodal_var_vals | ||
| ) |
writes the values of a single nodal variable for a single time step to the database; assume the first time step and nodal variable index is 1
| exoid | exodus file id |
| time_step | whole time step number |
| nodal_var_index | index of desired nodal variable |
| num_nodes | number of nodal points |
| nodal_var_vals | array of nodal variable values |
References ex_comp_ws(), ex_err(), EX_FATAL, ex_large_model(), EX_NOERR, EX_WARN, exerrval, MAX_ERR_LENGTH, VAR_NOD_VAR, and VAR_NOD_VAR_NEW.
Referenced by ex_put_var().
| int ex_put_nodal_varid_var | ( | int | exoid, |
| int | time_step, | ||
| int | nodal_var_index, | ||
| int | num_nodes, | ||
| int | varid, | ||
| const void * | nodal_var_vals | ||
| ) |
writes the values of a single nodal variable for a single time step to the database; assume the first time step and nodal variable index is 1
| exoid | exodus file id |
| time_step | whole time step number |
| nodal_var_index | index of desired nodal variable |
| num_nodes | number of nodal points |
| varid | id of variable on exodus database |
| nodal_var_vals | array of nodal variable values |
References ex_comp_ws(), ex_err(), EX_FATAL, ex_large_model(), EX_NOERR, exerrval, and MAX_ERR_LENGTH.
| int ex_put_node_map | ( | int | exoid, |
| int | map_id, | ||
| const int * | node_map | ||
| ) |
writes an node map; this is a vector of integers of length number of nodes
| exoid | exodus file id |
| map_id | node map id |
| node_map | node map |
References EX_NODE_MAP, and ex_put_num_map().
| int ex_put_node_num_map | ( | int | exoid, |
| const int * | node_map | ||
| ) |
writes out the node numbering map to the database; allows node numbers to be non-contiguous
| exoid | exodus file id |
| node_map | node numbering map |
References EX_NODE_MAP, and ex_put_id_map().
| int ex_put_node_set | ( | int | exoid, |
| int | node_set_id, | ||
| const int * | node_set_node_list | ||
| ) |
writes the node list for a single node set
| exoid | exodus file id |
| node_set_id | node set id |
| node_set_node_list | node list array for the node set |
References EX_NODE_SET, ex_put_set(), and NULL.
| int ex_put_node_set_dist_fact | ( | int | exoid, |
| int | node_set_id, | ||
| const void * | node_set_dist_fact | ||
| ) |
writes the node set distribution factors for a single node set
| exoid | exodus file id |
| node_set_id | node set id |
| node_set_dist_fact | node distribution factors for node set |
References EX_NODE_SET, and ex_put_set_dist_fact().
| int ex_put_node_set_param | ( | int | exoid, |
| int | node_set_id, | ||
| int | num_nodes_in_set, | ||
| int | num_dist_in_set | ||
| ) |
writes the information which describes a single node set
| exoid | exodus file id |
| node_set_id | node set id |
| num_nodes_in_set | number of nodes in set |
| num_dist_in_set | number of distribution factors in set |
References EX_NODE_SET, and ex_put_set_param().
| int ex_put_nset_var | ( | int | exoid, |
| int | time_step, | ||
| int | nset_var_index, | ||
| int | nset_id, | ||
| int | num_nodes_this_nset, | ||
| const void * | nset_var_vals | ||
| ) |
writes the values of a single nodeset variable for one nodeset at one time step to the database; assume the first time step and nodeset variable index are 1
| exoid | exodus file id |
| time_step | time step number |
| nset_var_index | nodeset variable index |
| nset_id | nodeset id |
| num_nodes_this_nset | number of nodes in this nodeset |
| nset_var_vals | the values to be written |
References EX_NODE_SET, and ex_put_var().
| int ex_put_nset_var_tab | ( | int | exoid, |
| int | num_nset, | ||
| int | num_nset_var, | ||
| int * | nset_var_tab | ||
| ) |
writes the EXODUS II nodeset variable truth table to the database; also, creates netCDF variables in which to store EXODUS II nodeset variable values; although this table isn't required (because the netCDF variables can also be created in ex_put_nset_var), this call will save tremendous time because all of the variables are defined at once while the file is in define mode, rather than going in and out of define mode (causing the entire file to be copied over and over) which is what occurs when the nodeset variable values variables are defined in ex_put_nset_var
| exoid | exodus file id |
| num_nset | number of nodesets |
| num_nset_var | number of nodeset variables |
| nset_var_tab | nodeset variable truth table array |
References EX_NODE_SET, and ex_put_truth_table().
| int ex_put_one_elem_attr | ( | int | exoid, |
| int | elem_blk_id, | ||
| int | attrib_index, | ||
| const void * | attrib | ||
| ) |
writes the specified attribute for an element block
| exoid | exodus file id |
| elem_blk_id | element block id |
| attrib_index | index of attribute to write |
| attrib | array of attributes |
References EX_ELEM_BLOCK, and ex_put_one_attr().
| int ex_put_partial_elem_map | ( | int | exoid, |
| int | map_id, | ||
| int | ent_start, | ||
| int | ent_count, | ||
| const int * | elem_map | ||
| ) |
writes an element map; this is a vector of integers of length number of elements
References DIM_NUM_ELEM, DIM_NUM_EM, EX_ELEM_MAP, ex_err(), EX_FATAL, ex_get_counter_list(), ex_get_file_item(), ex_id_lkup(), ex_inc_file_item(), EX_LOOKUPFAIL, EX_NOERR, exerrval, MAX_ERR_LENGTH, VAR_ELEM_MAP, and VAR_EM_PROP.
| int ex_put_partial_set_dist_fact | ( | int | exoid, |
| ex_entity_type | set_type, | ||
| int | set_id, | ||
| int | offset, | ||
| int | num_to_put, | ||
| const void * | set_dist_fact | ||
| ) |
writes the partial distribution factors for a single set
| exoid | exodus file id |
| set_type | set type |
| set_id | set id |
| offset | index (1-based) of first dist factor to write |
| num_to_put | number of dist factors to write. |
| *set_dist_fact | array 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.
| int ex_put_prop | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | obj_id, | ||
| const char * | prop_name, | ||
| int | value | ||
| ) |
writes an object property
| exoid | exodus file id |
| obj_type | type of object |
| obj_id | id of object to which property will be assigned |
| prop_name | name of the property for which the value will be stored |
| value | value of the property |
References ATT_PROP_NAME, DIM_NUM_ED_BLK, DIM_NUM_EDM, DIM_NUM_EL_BLK, DIM_NUM_ELS, DIM_NUM_EM, DIM_NUM_ES, DIM_NUM_FA_BLK, DIM_NUM_FAM, DIM_NUM_FS, DIM_NUM_NM, DIM_NUM_NS, DIM_NUM_SS, EX_BADPARAM, 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_get_num_props(), ex_id_lkup(), EX_LOOKUPFAIL, EX_MSG, ex_name_of_object(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_NULLENTITY, EX_SIDE_SET, EX_WARN, exerrval, FALSE, MAX_ERR_LENGTH, MAX_STR_LENGTH, MAX_VAR_NAME_LENGTH, TRUE, VAR_EB_PROP, VAR_ED_PROP, VAR_EDM_PROP, VAR_ELS_PROP, VAR_EM_PROP, VAR_ES_PROP, VAR_FA_PROP, VAR_FAM_PROP, VAR_FS_PROP, VAR_NM_PROP, VAR_NS_PROP, and VAR_SS_PROP.
| int ex_put_prop_array | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| const char * | prop_name, | ||
| const int * | values | ||
| ) |
writes an array of object properties
| exoid | exodus file id |
| obj_type | type of object (element block, node set or side set) |
| prop_name | name of the property for which the values will be stored |
| values | array of property values |
References ATT_PROP_NAME, EX_BADPARAM, ex_dim_num_objects(), 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_get_dimension(), ex_get_num_props(), ex_name_of_object(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, exerrval, FALSE, MAX_ERR_LENGTH, MAX_STR_LENGTH, MAX_VAR_NAME_LENGTH, TRUE, VAR_EB_PROP, VAR_ED_PROP, VAR_EDM_PROP, VAR_ELS_PROP, VAR_EM_PROP, VAR_ES_PROP, VAR_FA_PROP, VAR_FAM_PROP, VAR_FS_PROP, VAR_NM_PROP, VAR_NS_PROP, and VAR_SS_PROP.
| int ex_put_prop_names | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | num_props, | ||
| char ** | prop_names | ||
| ) |
writes the parameters to set up property name arrays
| exoid | exodus file id |
| obj_type | type of object |
| num_props | number of properties to be assigned |
| **prop_names | array of num_props names |
References ATT_PROP_NAME, EX_BADPARAM, ex_dim_num_objects(), 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_name_of_object(), EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, exerrval, MAX_ERR_LENGTH, MAX_VAR_NAME_LENGTH, VAR_EB_PROP, VAR_ED_PROP, VAR_EDM_PROP, VAR_ELS_PROP, VAR_EM_PROP, VAR_ES_PROP, VAR_FA_PROP, VAR_FAM_PROP, VAR_FS_PROP, VAR_NM_PROP, VAR_NS_PROP, and VAR_SS_PROP.
| int ex_put_qa | ( | int | exoid, |
| int | num_qa_records, | ||
| char * | qa_record[][4] | ||
| ) |
writes the QA records to the database
| exoid | exodus file id |
| num_qa_records | number of qa records to be written |
| *qa_record | qa record array |
References DIM_N4, DIM_NUM_QA, DIM_STR, ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, and VAR_QA_TITLE.
| int ex_put_side_set | ( | int | exoid, |
| int | side_set_id, | ||
| const int * | side_set_elem_list, | ||
| const int * | side_set_side_list | ||
| ) |
writes the side set element list and side set side list for a single side set
| exoid | exodus file id |
| side_set_id | side set id |
| *side_set_elem_list | array of elements in side set |
| *side_set_side_list | array of sides in side set |
References ex_put_set(), and EX_SIDE_SET.
| int ex_put_side_set_dist_fact | ( | int | exoid, |
| int | side_set_id, | ||
| const void * | side_set_dist_fact | ||
| ) |
writes the distribution factors for a single side set
| exoid | exodus file id |
| side_set_id | side set id |
| *side_set_dist_fact | array of dist factors for side set |
References ex_put_set_dist_fact(), and EX_SIDE_SET.
| int ex_put_side_set_param | ( | int | exoid, |
| int | side_set_id, | ||
| int | num_side_in_set, | ||
| int | num_dist_fact_in_set | ||
| ) |
writes the side set id and the number of sides (edges or faces) which describe a single side set
| exoid | exodus file id |
| side_set_id | side set id |
| num_side_in_set | number of sides in the side set |
| num_dist_fact_in_set | number of distribution factors in the side set |
References ex_put_set_param(), and EX_SIDE_SET.
| int ex_put_sset_var | ( | int | exoid, |
| int | time_step, | ||
| int | sset_var_index, | ||
| int | sset_id, | ||
| int | num_faces_this_sset, | ||
| const void * | sset_var_vals | ||
| ) |
writes the values of a single sideset variable for one sideset at one time step to the database; assume the first time step and sideset variable index are 1
| exoid | exodus file id |
| time_step | time step number |
| sset_var_index | sideset variable index |
| sset_id | sideset id |
| num_faces_this_sset | number of faces in this sideset |
| sset_var_vals | the variable values to be written |
References ex_put_var(), and EX_SIDE_SET.
| int ex_put_sset_var_tab | ( | int | exoid, |
| int | num_sset, | ||
| int | num_sset_var, | ||
| int * | sset_var_tab | ||
| ) |
writes the EXODUS II sideset variable truth table to the database; also, creates netCDF variables in which to store EXODUS II sideset variable values; although this table isn't required (because the netCDF variables can also be created in ex_put_sset_var), this call will save tremendous time because all of the variables are defined at once while the file is in define mode, rather than going in and out of define mode (causing the entire file to be copied over and over) which is what occurs when the sideset variable values variables are defined in ex_put_sset_var
| exoid | exodus file id |
| num_sset | number of sidesets |
| num_sset_var | number of sideset variables |
| *sset_var_tab | sideset variable truth table array |
References ex_put_truth_table(), and EX_SIDE_SET.
| int ex_put_time | ( | int | exoid, |
| int | time_step, | ||
| const void * | time_value | ||
| ) |
writes the time value for a whole time step; assume the first time step is 1
| exoid | exodus file id |
| time_step | time step number (1...) |
| time_value | simulation time at specified step |
References ex_comp_ws(), ex_err(), EX_FATAL, EX_NOERR, exerrval, MAX_ERR_LENGTH, and VAR_WHOLE_TIME.
| int ex_put_truth_table | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | num_blk, | ||
| int | num_var, | ||
| int * | var_tab | ||
| ) |
writes the EXODUS II variable truth table to the database; also, creates netCDF variables in which to store EXODUS II variable values; although this table isn't required (because the netCDF variables can also be created in ex_put_var), this call will save tremendous time because all of the variables are defined at once while the file is in define mode, rather than going in and out of define mode (causing the entire file to be copied over and over) which is what occurs when the variables are defined in ex_put_var
| exoid | exodus file id |
| obj_type | object type |
| num_blk | number of blocks |
| num_var | number of variables |
| *var_tab | variable truth table array |
References DIM_NUM_EDG_VAR, DIM_NUM_ELE_VAR, DIM_NUM_ELSET_VAR, DIM_NUM_ESET_VAR, DIM_NUM_FAC_VAR, DIM_NUM_FSET_VAR, DIM_NUM_NSET_VAR, DIM_NUM_SSET_VAR, DIM_TIME, EX_BADPARAM, ex_catstr(), ex_catstr2(), ex_dim_num_objects(), 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_get_ids(), EX_MEMFAIL, ex_name_of_object(), EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, nc_flt_code(), NULL, 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_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_elem_var_tab(), ex_put_nset_var_tab(), ex_put_sset_var_tab(), and ex_put_var_tab().
| int ex_put_var_name | ( | int | exoid, |
| const char * | var_type, | ||
| int | var_num, | ||
| const char * | var_name | ||
| ) |
writes the name of a particular results variable to the database
| exoid | exodus file id |
| *var_type | variable type: G,N, or E |
| var_num | variable number name to write 1..num_var |
| *var_name | ptr of variable name |
References ex_put_variable_name(), and ex_var_type_to_ex_entity_type().
| int ex_put_var_names | ( | int | exoid, |
| const char * | var_type, | ||
| int | num_vars, | ||
| char * | var_names[] | ||
| ) |
writes the names of the results variables to the database
| exoid | exodus file id |
| *var_type | variable type: G,N, or E |
| num_vars | # of variables to read |
| *var_names | ptr array of variable names |
References ex_put_variable_names(), and ex_var_type_to_ex_entity_type().
| int ex_put_var_param | ( | int | exoid, |
| const char * | var_type, | ||
| int | num_vars | ||
| ) |
writes the number and names of global, nodal, or element variables that will be written to the database
| exoid | exodus file id |
| var_type | variable type G,N, or E |
| num_vars | number of variables in database |
References ex_put_variable_param(), and ex_var_type_to_ex_entity_type().
| int ex_put_var_tab | ( | int | exoid, |
| const char * | var_type, | ||
| int | num_blk, | ||
| int | num_var, | ||
| int * | var_tab | ||
| ) |
writes the EXODUS II variable truth table to the database; also, creates netCDF variables in which to store EXODUS II variable values; although this table isn't required (because the netCDF variables can also be created in ex_put_var), this call will save tremendous time because all of the variables are defined at once while the file is in define mode, rather than going in and out of define mode (causing the entire file to be copied over and over) which is what occurs when the variables are defined in ex_put_var
| exoid | exodus file id |
| *var_type | 'e', 'm', 's' element, nodeset, sideset |
| num_blk | number of blocks |
| num_var | number of variables |
| *var_tab | variable truth table array |
References ex_put_truth_table(), and ex_var_type_to_ex_entity_type().
| int ex_put_variable_name | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | var_num, | ||
| const char * | var_name | ||
| ) |
writes the name of a particular results variable to the database
| exoid | exodus file id |
| obj_type | variable type |
| var_num | variable number name to write 1..num_var |
| *var_name | ptr of variable name |
References DIM_STR, EX_BADPARAM, 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_name_of_object(), EX_NODAL, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, 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, and VAR_NAME_SSET_VAR.
Referenced by ex_put_var_name().
| int ex_put_variable_names | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | num_vars, | ||
| char * | var_names[] | ||
| ) |
writes the names of the results variables to the database
| exoid | exodus file id |
| obj_type | variable type |
| num_vars | # of variables to read |
| *var_names | ptr array of variable names |
References DIM_NUM_EDG_VAR, DIM_NUM_ELE_VAR, DIM_NUM_ELSET_VAR, DIM_NUM_ESET_VAR, DIM_NUM_FAC_VAR, DIM_NUM_FSET_VAR, DIM_NUM_GLO_VAR, DIM_NUM_NOD_VAR, DIM_NUM_NSET_VAR, DIM_NUM_SSET_VAR, EX_BADPARAM, 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_NODAL, EX_NODE_SET, EX_NOERR, EX_PUT_NAMES, EX_SIDE_SET, exerrval, MAX_ERR_LENGTH, 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, and VAR_NAME_SSET_VAR.
Referenced by ex_put_var_names().
| int ex_put_variable_param | ( | int | exoid, |
| ex_entity_type | obj_type, | ||
| int | num_vars | ||
| ) |
writes the number and names of global, nodal, or element variables that will be written to the database
| exoid | exodus file id |
| obj_type | object type |
| *num_vars | number of variables in database |
References DIM_NUM_EDG_VAR, DIM_NUM_ELE_VAR, DIM_NUM_ELSET_VAR, DIM_NUM_ESET_VAR, DIM_NUM_FAC_VAR, DIM_NUM_FSET_VAR, DIM_NUM_GLO_VAR, DIM_NUM_NOD_VAR, DIM_NUM_NODES, DIM_NUM_NSET_VAR, DIM_NUM_SSET_VAR, DIM_STR, DIM_TIME, EX_BADPARAM, 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_large_model(), EX_MSG, ex_name_of_object(), EX_NODAL, EX_NODE_SET, EX_NOERR, EX_PREPARE_RESULT_VAR, EX_SIDE_SET, EX_WARN, exerrval, MAX_ERR_LENGTH, nc_flt_code(), 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, and VAR_NOD_VAR_NEW.
Referenced by ex_put_var_param().
| int ex_put_varid_var | ( | int | exoid, |
| int | time_step, | ||
| int | varid, | ||
| int | num_entity, | ||
| const void * | var_vals | ||
| ) |
writes the values of a single variable at one time step in the database; assume the first time index is 1. Access based on the passed in 'varid'
NOTE: If used for nodal variables, it must be an ex_large_model == 1
| exoid | int exodus file id |
| time_step | int whole time step number |
| varid | int id of variable on exodus database |
| num_entity | int number of entities for this variable |
| var_vals | float* array of nodal variable values |
References ex_comp_ws(), ex_err(), EX_FATAL, EX_NOERR, exerrval, and MAX_ERR_LENGTH.
| int ex_update | ( | int | exoid | ) |
updates an opened EXODUS II file (or EXODUS II history file)
| exoid | exodus file id |
References ex_err(), EX_FATAL, EX_NOERR, exerrval, and MAX_ERR_LENGTH.
| ex_entity_type ex_var_type_to_ex_entity_type | ( | char | var_type | ) |
References EX_EDGE_BLOCK, EX_EDGE_SET, EX_ELEM_BLOCK, EX_ELEM_SET, EX_FACE_BLOCK, EX_FACE_SET, EX_GLOBAL, EX_INVALID, EX_NODAL, EX_NODE_SET, and EX_SIDE_SET.
Referenced by ex_get_var_name(), ex_get_var_names(), ex_get_var_param(), ex_get_var_tab(), ex_put_var_name(), ex_put_var_names(), ex_put_var_param(), and ex_put_var_tab().
| int exerrval |
shared error return value
Referenced by ex_close(), ex_comp_ws(), ex_conv_exit(), ex_copy(), ex_create_int(), ex_cvt_nodes_to_sides(), ex_dim_num_objects(), ex_get_all_times(), ex_get_attr(), ex_get_attr_names(), ex_get_attr_param(), ex_get_block(), ex_get_concat_sets(), ex_get_concat_side_set_node_count(), ex_get_conn(), ex_get_coord(), ex_get_coord_names(), ex_get_coordinate_frames(), ex_get_dimension(), ex_get_entity_count_per_polyhedra(), ex_get_glob_var_time(), ex_get_glob_vars(), ex_get_id_map(), ex_get_ids(), ex_get_info(), ex_get_init_ext(), ex_get_map(), ex_get_map_param(), ex_get_n_conn(), ex_get_n_coord(), ex_get_n_nodal_var(), ex_get_n_one_attr(), ex_get_n_var(), ex_get_name(), ex_get_names(), ex_get_nodal_var(), ex_get_nodal_var_time(), ex_get_nodal_varid(), ex_get_nodal_varid_var(), ex_get_num_map(), ex_get_num_props(), ex_get_object_truth_vector(), ex_get_one_attr(), ex_get_partial_elem_map(), ex_get_prop(), ex_get_prop_array(), ex_get_prop_names(), ex_get_qa(), ex_get_set(), ex_get_set_dist_fact(), ex_get_set_param(), ex_get_side_set_node_count(), ex_get_side_set_node_list(), ex_get_side_set_node_list_len(), ex_get_time(), ex_get_truth_table(), ex_get_var(), ex_get_var_time(), ex_get_variable_name(), ex_get_variable_names(), ex_get_variable_param(), ex_get_varid(), ex_get_varid_var(), ex_id_lkup(), ex_inquire(), ex_open_int(), ex_opts(), ex_put_all_var_param_ext(), ex_put_attr(), ex_put_attr_names(), ex_put_attr_param(), ex_put_block(), ex_put_concat_all_blocks(), ex_put_concat_elem_block(), ex_put_concat_sets(), ex_put_conn(), ex_put_coord(), ex_put_coord_names(), ex_put_coordinate_frames(), ex_put_entity_count_per_polyhedra(), ex_put_id_map(), ex_put_info(), ex_put_init_ext(), ex_put_map(), ex_put_map_param(), ex_put_n_coord(), ex_put_n_nodal_var(), ex_put_n_one_attr(), ex_put_n_var(), ex_put_name(), ex_put_names(), ex_put_nodal_var(), ex_put_nodal_varid_var(), ex_put_num_map(), ex_put_one_attr(), ex_put_partial_elem_map(), ex_put_partial_set_dist_fact(), ex_put_prop(), ex_put_prop_array(), ex_put_prop_names(), ex_put_qa(), ex_put_set(), ex_put_set_dist_fact(), ex_put_set_param(), ex_put_time(), ex_put_truth_table(), ex_put_var(), ex_put_variable_name(), ex_put_variable_names(), ex_put_variable_param(), ex_put_varid_var(), ex_update(), and nc_flt_code().
| int exoptval |
error reporting flag (default is quiet)
Referenced by ex_create_int(), ex_err(), ex_open_int(), and ex_opts().