Go to the documentation of this file.
41 #ifndef EXODUS_II_INT_HDR
42 #define EXODUS_II_INT_HDR
44 #include "exodus_config.h"
46 #if defined(EXODUS_THREADSAFE)
51 #if defined(NC_HAVE_META_H)
52 #include "netcdf_meta.h"
55 #if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER < 1900
66 #if defined __STDC__ || defined __cplusplus
72 #pragma warning(disable : 4127)
73 #pragma warning(disable : 4706)
74 #pragma warning(disable : 4701)
77 #if defined(__BORLANDC__)
83 #if defined(_MSC_VER) && _MSC_VER < 1900
84 #define __func__ __FUNCTION__
85 #define snprintf _snprintf
88 #define snprintf_nowarn(...) (snprintf(__VA_ARGS__) < 0 ? abort() : (void)0)
101 #define MAX_VAR_NAME_LENGTH 32
107 #define EXODUS_DEFAULT_SIZE 1
110 #define EX_FILE_ID_MASK (0xffff0000)
111 #define EX_GRP_ID_MASK (0x0000ffff)
115 #if defined(EXODUS_THREADSAFE)
116 #if !defined(exerrval)
118 typedef struct EX_errval
127 #define exerrval ex_errval->errval
130 extern pthread_once_t EX_first_init_g;
132 typedef struct EX_mutex_struct
134 pthread_mutex_t atomic_lock;
135 pthread_mutexattr_t attribute;
138 extern EX_mutex_t EX_g;
139 extern int ex__mutex_lock(EX_mutex_t *mutex);
140 extern int ex__mutex_unlock(EX_mutex_t *mutex);
141 extern void ex__pthread_first_thread_init(
void);
142 extern EX_errval_t *exerrval_get();
144 #define EX_FUNC_ENTER() \
147 pthread_once(&EX_first_init_g, ex__pthread_first_thread_init); \
150 ex__mutex_lock(&EX_g); \
151 ex_errval = exerrval_get(); \
153 ex_errval->last_err_num = 0; \
156 #define EX_FUNC_ENTER_INT() \
159 pthread_once(&EX_first_init_g, ex__pthread_first_thread_init); \
162 ex__mutex_lock(&EX_g); \
163 ex_errval = exerrval_get(); \
166 #define EX_FUNC_LEAVE(error) \
168 ex__mutex_unlock(&EX_g); \
172 #define EX_FUNC_VOID() \
174 ex__mutex_unlock(&EX_g); \
183 #define EX_FUNC_ENTER() \
185 ex__reset_error_status(); \
186 fprintf(stderr, "%d Enter: %s\n", indent, __func__); \
189 #define EX_FUNC_ENTER_INT() \
191 fprintf(stderr, "%d Enter: %s\n", indent, __func__); \
194 #define EX_FUNC_LEAVE(error) \
197 fprintf(stderr, "%d Leave: %s\n", indent, __func__); \
200 #define EX_FUNC_VOID() \
203 fprintf(stderr, "%d Leave: %s\n", indent, __func__); \
207 #define EX_FUNC_ENTER() \
209 ex__reset_error_status(); \
211 #define EX_FUNC_ENTER_INT()
212 #define EX_FUNC_LEAVE(error) return error
213 #define EX_FUNC_VOID() return
217 #define EX_UNUSED(A) \
237 #define ATT_TITLE "title"
238 #define ATT_API_VERSION "api_version"
240 #define ATT_API_VERSION_BLANK "api version"
241 #define ATT_VERSION "version"
242 #define ATT_FILESIZE "file_size"
244 #define ATT_FLT_WORDSIZE "floating_point_word_size"
247 #define ATT_FLT_WORDSIZE_BLANK "floating point word size"
248 #define ATT_MAX_NAME_LENGTH "maximum_name_length"
249 #define ATT_INT64_STATUS "int64_status"
251 #define DIM_NUM_NODES "num_nodes"
252 #define DIM_NUM_DIM "num_dim"
253 #define DIM_NUM_EDGE "num_edge"
254 #define DIM_NUM_FACE "num_face"
255 #define DIM_NUM_ELEM "num_elem"
256 #define DIM_NUM_EL_BLK "num_el_blk"
257 #define DIM_NUM_ED_BLK "num_ed_blk"
258 #define DIM_NUM_FA_BLK "num_fa_blk"
259 #define VAR_COORD "coord"
260 #define VAR_COORD_X "coordx"
261 #define VAR_COORD_Y "coordy"
262 #define VAR_COORD_Z "coordz"
263 #define VAR_NAME_COOR "coor_names"
264 #define VAR_NAME_EL_BLK "eb_names"
265 #define VAR_NAME_NS "ns_names"
266 #define VAR_NAME_SS "ss_names"
267 #define VAR_NAME_EM "emap_names"
268 #define VAR_NAME_EDM "edmap_names"
269 #define VAR_NAME_FAM "famap_names"
270 #define VAR_NAME_NM "nmap_names"
271 #define VAR_NAME_ED_BLK "ed_names"
272 #define VAR_NAME_FA_BLK "fa_names"
273 #define VAR_NAME_ES "es_names"
274 #define VAR_NAME_FS "fs_names"
275 #define VAR_NAME_ELS "els_names"
276 #define VAR_STAT_EL_BLK "eb_status"
277 #define VAR_STAT_ECONN "econn_status"
278 #define VAR_STAT_FCONN "fconn_status"
279 #define VAR_STAT_ED_BLK "ed_status"
280 #define VAR_STAT_FA_BLK "fa_status"
281 #define VAR_ID_EL_BLK "eb_prop1"
282 #define VAR_ID_ED_BLK "ed_prop1"
283 #define VAR_ID_FA_BLK "fa_prop1"
285 #define ATT_NAME_ELB "elem_type"
287 #define DIM_NUM_EL_IN_BLK(num) ex__catstr("num_el_in_blk", num)
289 #define DIM_NUM_NOD_PER_EL(num) ex__catstr("num_nod_per_el", num)
291 #define DIM_NUM_ATT_IN_BLK(num) ex__catstr("num_att_in_blk", num)
293 #define DIM_NUM_ED_IN_EBLK(num) ex__catstr("num_ed_in_blk", num)
295 #define DIM_NUM_NOD_PER_ED(num) ex__catstr("num_nod_per_ed", num)
297 #define DIM_NUM_EDG_PER_EL(num) ex__catstr("num_edg_per_el", num)
299 #define DIM_NUM_ATT_IN_EBLK(num) ex__catstr("num_att_in_eblk", num)
301 #define DIM_NUM_FA_IN_FBLK(num) ex__catstr("num_fa_in_blk", num)
303 #define DIM_NUM_NOD_PER_FA(num) ex__catstr("num_nod_per_fa", num)
305 #define DIM_NUM_FAC_PER_EL(num) ex__catstr("num_fac_per_el", num)
307 #define DIM_NUM_ATT_IN_FBLK(num) ex__catstr("num_att_in_fblk", num)
309 #define VAR_CONN(num) ex__catstr("connect", num)
312 #define VAR_EBEPEC(num) ex__catstr("ebepecnt", num)
314 #define VAR_ATTRIB(num) ex__catstr("attrib", num)
316 #define VAR_NAME_ATTRIB(num) ex__catstr("attrib_name", num)
318 #define VAR_EB_PROP(num) ex__catstr("eb_prop", num)
320 #define VAR_ECONN(num) ex__catstr("edgconn", num)
322 #define VAR_EBCONN(num) ex__catstr("ebconn", num)
324 #define VAR_EATTRIB(num) ex__catstr("eattrb", num)
326 #define VAR_NAME_EATTRIB(num) ex__catstr("eattrib_name", num)
327 #define VAR_NATTRIB "nattrb"
328 #define VAR_NAME_NATTRIB "nattrib_name"
329 #define DIM_NUM_ATT_IN_NBLK "num_att_in_nblk"
331 #define VAR_NSATTRIB(num) ex__catstr("nsattrb", num)
332 #define VAR_NAME_NSATTRIB(num) ex__catstr("nsattrib_name", num)
333 #define DIM_NUM_ATT_IN_NS(num) ex__catstr("num_att_in_ns", num)
335 #define VAR_SSATTRIB(num) ex__catstr("ssattrb", num)
336 #define VAR_NAME_SSATTRIB(num) ex__catstr("ssattrib_name", num)
337 #define DIM_NUM_ATT_IN_SS(num) ex__catstr("num_att_in_ss", num)
339 #define VAR_ESATTRIB(num) ex__catstr("esattrb", num)
340 #define VAR_NAME_ESATTRIB(num) ex__catstr("esattrib_name", num)
341 #define DIM_NUM_ATT_IN_ES(num) ex__catstr("num_att_in_es", num)
343 #define VAR_FSATTRIB(num) ex__catstr("fsattrb", num)
344 #define VAR_NAME_FSATTRIB(num) ex__catstr("fsattrib_name", num)
345 #define DIM_NUM_ATT_IN_FS(num) ex__catstr("num_att_in_fs", num)
347 #define VAR_ELSATTRIB(num) ex__catstr("elsattrb", num)
348 #define VAR_NAME_ELSATTRIB(num) ex__catstr("elsattrib_name", num)
349 #define DIM_NUM_ATT_IN_ELS(num) ex__catstr("num_att_in_els", num)
352 #define VAR_ED_PROP(num) ex__catstr("ed_prop", num)
354 #define VAR_FCONN(num) ex__catstr("facconn", num)
356 #define VAR_FBCONN(num) ex__catstr("fbconn", num)
358 #define VAR_FBEPEC(num) ex__catstr("fbepecnt", num)
360 #define VAR_FATTRIB(num) ex__catstr("fattrb", num)
362 #define VAR_NAME_FATTRIB(num) ex__catstr("fattrib_name", num)
364 #define VAR_FA_PROP(num) ex__catstr("fa_prop", num)
367 #define ATT_PROP_NAME "name"
368 #define VAR_MAP "elem_map"
369 #define DIM_NUM_SS "num_side_sets"
370 #define VAR_SS_STAT "ss_status"
371 #define VAR_SS_IDS "ss_prop1"
373 #define DIM_NUM_SIDE_SS(num) ex__catstr("num_side_ss", num)
375 #define DIM_NUM_DF_SS(num) ex__catstr("num_df_ss", num)
377 #define VAR_FACT_SS(num) ex__catstr("dist_fact_ss", num)
379 #define VAR_ELEM_SS(num) ex__catstr("elem_ss", num)
381 #define VAR_SIDE_SS(num) ex__catstr("side_ss", num)
383 #define VAR_SS_PROP(num) ex__catstr("ss_prop", num)
384 #define DIM_NUM_ES "num_edge_sets"
385 #define VAR_ES_STAT "es_status"
386 #define VAR_ES_IDS "es_prop1"
388 #define DIM_NUM_EDGE_ES(num) ex__catstr("num_edge_es", num)
390 #define DIM_NUM_DF_ES(num) ex__catstr("num_df_es", num)
392 #define VAR_FACT_ES(num) ex__catstr("dist_fact_es", num)
394 #define VAR_EDGE_ES(num) ex__catstr("edge_es", num)
396 #define VAR_ORNT_ES(num) ex__catstr("ornt_es", num)
398 #define VAR_ES_PROP(num) ex__catstr("es_prop", num)
399 #define DIM_NUM_FS "num_face_sets"
400 #define VAR_FS_STAT "fs_status"
401 #define VAR_FS_IDS "fs_prop1"
403 #define DIM_NUM_FACE_FS(num) ex__catstr("num_face_fs", num)
405 #define DIM_NUM_DF_FS(num) ex__catstr("num_df_fs", num)
407 #define VAR_FACT_FS(num) ex__catstr("dist_fact_fs", num)
409 #define VAR_FACE_FS(num) ex__catstr("face_fs", num)
411 #define VAR_ORNT_FS(num) ex__catstr("ornt_fs", num)
413 #define VAR_FS_PROP(num) ex__catstr("fs_prop", num)
414 #define DIM_NUM_ELS "num_elem_sets"
416 #define DIM_NUM_ELE_ELS(num) ex__catstr("num_ele_els", num)
418 #define DIM_NUM_DF_ELS(num) ex__catstr("num_df_els", num)
419 #define VAR_ELS_STAT "els_status"
420 #define VAR_ELS_IDS "els_prop1"
422 #define VAR_ELEM_ELS(num) ex__catstr("elem_els", num)
424 #define VAR_FACT_ELS(num) ex__catstr("dist_fact_els", num)
426 #define VAR_ELS_PROP(num) ex__catstr("els_prop", num)
427 #define DIM_NUM_NS "num_node_sets"
429 #define DIM_NUM_NOD_NS(num) ex__catstr("num_nod_ns", num)
431 #define DIM_NUM_DF_NS(num) ex__catstr("num_df_ns", num)
432 #define VAR_NS_STAT "ns_status"
433 #define VAR_NS_IDS "ns_prop1"
435 #define VAR_NODE_NS(num) ex__catstr("node_ns", num)
437 #define VAR_FACT_NS(num) ex__catstr("dist_fact_ns", num)
439 #define VAR_NS_PROP(num) ex__catstr("ns_prop", num)
440 #define DIM_NUM_QA "num_qa_rec"
441 #define VAR_QA_TITLE "qa_records"
442 #define DIM_NUM_INFO "num_info"
443 #define VAR_INFO "info_records"
444 #define VAR_WHOLE_TIME "time_whole"
445 #define VAR_ELEM_TAB "elem_var_tab"
446 #define VAR_EBLK_TAB "edge_var_tab"
447 #define VAR_FBLK_TAB "face_var_tab"
448 #define VAR_ELSET_TAB "elset_var_tab"
449 #define VAR_SSET_TAB "sset_var_tab"
450 #define VAR_FSET_TAB "fset_var_tab"
451 #define VAR_ESET_TAB "eset_var_tab"
452 #define VAR_NSET_TAB "nset_var_tab"
453 #define DIM_NUM_GLO_VAR "num_glo_var"
454 #define VAR_NAME_GLO_VAR "name_glo_var"
455 #define VAR_GLO_VAR "vals_glo_var"
456 #define DIM_NUM_NOD_VAR "num_nod_var"
457 #define VAR_NAME_NOD_VAR "name_nod_var"
458 #define VAR_NOD_VAR "vals_nod_var"
460 #define VAR_NOD_VAR_NEW(num) ex__catstr("vals_nod_var", num)
461 #define DIM_NUM_ELE_VAR "num_elem_var"
462 #define VAR_NAME_ELE_VAR "name_elem_var"
464 #define VAR_ELEM_VAR(num1, num2) ex__catstr2("vals_elem_var", num1, "eb", num2)
465 #define DIM_NUM_EDG_VAR "num_edge_var"
466 #define VAR_NAME_EDG_VAR "name_edge_var"
468 #define VAR_EDGE_VAR(num1, num2) ex__catstr2("vals_edge_var", num1, "eb", num2)
469 #define DIM_NUM_FAC_VAR "num_face_var"
470 #define VAR_NAME_FAC_VAR "name_face_var"
472 #define VAR_FACE_VAR(num1, num2) ex__catstr2("vals_face_var", num1, "fb", num2)
474 #define DIM_NUM_NSET_VAR "num_nset_var"
475 #define VAR_NAME_NSET_VAR "name_nset_var"
477 #define VAR_NS_VAR(num1, num2) ex__catstr2("vals_nset_var", num1, "ns", num2)
478 #define DIM_NUM_ESET_VAR "num_eset_var"
480 #define VAR_NAME_ESET_VAR "name_eset_var"
481 #define VAR_ES_VAR(num1, num2) ex__catstr2("vals_eset_var", num1, "es", num2)
482 #define DIM_NUM_FSET_VAR "num_fset_var"
483 #define VAR_NAME_FSET_VAR "name_fset_var"
485 #define VAR_FS_VAR(num1, num2) ex__catstr2("vals_fset_var", num1, "fs", num2)
486 #define DIM_NUM_SSET_VAR "num_sset_var"
487 #define VAR_NAME_SSET_VAR "name_sset_var"
489 #define VAR_SS_VAR(num1, num2) ex__catstr2("vals_sset_var", num1, "ss", num2)
490 #define DIM_NUM_ELSET_VAR "num_elset_var"
491 #define VAR_NAME_ELSET_VAR "name_elset_var"
493 #define VAR_ELS_VAR(num1, num2) ex__catstr2("vals_elset_var", num1, "es", num2)
496 #define DIM_STR "len_string"
498 #define DIM_STR_NAME "len_name"
500 #define DIM_LIN "len_line"
501 #define DIM_N4 "four"
503 #define DIM_TIME "time_step"
504 #define VAR_ELEM_NUM_MAP "elem_num_map"
505 #define VAR_FACE_NUM_MAP "face_num_map"
506 #define VAR_EDGE_NUM_MAP "edge_num_map"
507 #define VAR_NODE_NUM_MAP "node_num_map"
508 #define DIM_NUM_EM "num_elem_maps"
510 #define VAR_ELEM_MAP(num) ex__catstr("elem_map", num)
512 #define VAR_EM_PROP(num) ex__catstr("em_prop", num)
513 #define DIM_NUM_EDM "num_edge_maps"
515 #define VAR_EDGE_MAP(num) ex__catstr("edge_map", num)
517 #define VAR_EDM_PROP(num) ex__catstr("edm_prop", num)
518 #define DIM_NUM_FAM "num_face_maps"
520 #define VAR_FACE_MAP(num) ex__catstr("face_map", num)
522 #define VAR_FAM_PROP(num) ex__catstr("fam_prop", num)
523 #define DIM_NUM_NM "num_node_maps"
525 #define VAR_NODE_MAP(num) ex__catstr("node_map", num)
527 #define VAR_NM_PROP(num) ex__catstr("nm_prop", num)
529 #define DIM_NUM_CFRAMES "num_cframes"
530 #define DIM_NUM_CFRAME9 "num_cframes_9"
531 #define VAR_FRAME_COORDS "frame_coordinates"
532 #define VAR_FRAME_IDS "frame_ids"
533 #define VAR_FRAME_TAGS "frame_tags"
535 #define VAR_ELBLK_IDS_GLOBAL "el_blk_ids_global"
536 #define VAR_ELBLK_CNT_GLOBAL "el_blk_cnt_global"
537 #define VAR_NS_IDS_GLOBAL "ns_ids_global"
538 #define VAR_NS_NODE_CNT_GLOBAL "ns_node_cnt_global"
539 #define VAR_NS_DF_CNT_GLOBAL "ns_df_cnt_global"
540 #define VAR_SS_IDS_GLOBAL "ss_ids_global"
541 #define VAR_SS_SIDE_CNT_GLOBAL "ss_side_cnt_global"
542 #define VAR_SS_DF_CNT_GLOBAL "ss_df_cnt_global"
543 #define VAR_FILE_TYPE "nem_ftype"
544 #define VAR_COMM_MAP "comm_map"
545 #define VAR_NODE_MAP_INT "node_mapi"
546 #define VAR_NODE_MAP_INT_IDX "node_mapi_idx"
547 #define VAR_NODE_MAP_BOR "node_mapb"
548 #define VAR_NODE_MAP_BOR_IDX "node_mapb_idx"
549 #define VAR_NODE_MAP_EXT "node_mape"
550 #define VAR_NODE_MAP_EXT_IDX "node_mape_idx"
551 #define VAR_ELEM_MAP_INT "elem_mapi"
552 #define VAR_ELEM_MAP_INT_IDX "elem_mapi_idx"
553 #define VAR_ELEM_MAP_BOR "elem_mapb"
554 #define VAR_ELEM_MAP_BOR_IDX "elem_mapb_idx"
555 #define VAR_INT_N_STAT "int_n_stat"
556 #define VAR_BOR_N_STAT "bor_n_stat"
557 #define VAR_EXT_N_STAT "ext_n_stat"
558 #define VAR_INT_E_STAT "int_e_stat"
559 #define VAR_BOR_E_STAT "bor_e_stat"
560 #define VAR_N_COMM_IDS "n_comm_ids"
561 #define VAR_N_COMM_STAT "n_comm_stat"
562 #define VAR_N_COMM_INFO_IDX "n_comm_info_idx"
563 #define VAR_E_COMM_IDS "e_comm_ids"
564 #define VAR_E_COMM_STAT "e_comm_stat"
565 #define VAR_E_COMM_INFO_IDX "e_comm_info_idx"
566 #define VAR_N_COMM_NIDS "n_comm_nids"
567 #define VAR_N_COMM_PROC "n_comm_proc"
568 #define VAR_N_COMM_DATA_IDX "n_comm_data_idx"
569 #define VAR_E_COMM_EIDS "e_comm_eids"
570 #define VAR_E_COMM_SIDS "e_comm_sids"
571 #define VAR_E_COMM_PROC "e_comm_proc"
572 #define VAR_E_COMM_DATA_IDX "e_comm_data_idx"
574 #define DIM_NUM_INT_NODES "num_int_node"
575 #define DIM_NUM_BOR_NODES "num_bor_node"
576 #define DIM_NUM_EXT_NODES "num_ext_node"
577 #define DIM_NUM_INT_ELEMS "num_int_elem"
578 #define DIM_NUM_BOR_ELEMS "num_bor_elem"
579 #define DIM_NUM_PROCS "num_processors"
580 #define DIM_NUM_PROCS_F "num_procs_file"
581 #define DIM_NUM_NODES_GLOBAL "num_nodes_global"
582 #define DIM_NUM_ELEMS_GLOBAL "num_elems_global"
583 #define DIM_NUM_NS_GLOBAL "num_ns_global"
584 #define DIM_NUM_SS_GLOBAL "num_ss_global"
585 #define DIM_NUM_ELBLK_GLOBAL "num_el_blk_global"
586 #define DIM_NUM_N_CMAPS "num_n_cmaps"
587 #define DIM_NUM_E_CMAPS "num_e_cmaps"
588 #define DIM_NCNT_CMAP "ncnt_cmap"
589 #define DIM_ECNT_CMAP "ecnt_cmap"
675 void ex__iqsort64(int64_t v[], int64_t iv[], int64_t N);
678 char *
ex__catstr2(
const char * ,
int ,
const char * ,
int );
685 int int64_status,
int is_parallel,
int is_hdf5,
int is_pnetcdf);
723 int *dimid,
const char *routine);
726 void *nodal_var_vals);
729 const void *nodal_var_vals);
732 int end_time_step,
void *nodal_var_vals);
735 int64_t num_nodes,
void *var_vals);
738 int64_t num_nodes,
const void *nodal_var_vals);
742 void *glob_var_vals);
747 const char *routine);
749 const char *subtype,
const char *routine);
751 const char *subtype,
const char *routine);
755 const char *call_rout
759 int ex__handle_mode(
unsigned int my_mode,
int is_parallel,
int run_version);
773 const char * ne_var_name,
int ex__put_partial_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t start_node, int64_t num_nodes, const void *nodal_var_vals)
Definition: ex_put_partial_nodal_var_int.c:74
int num_nodes_per_elem
Definition: exodusII_int.h:638
unsigned int has_nodes
Definition: exodusII_int.h:626
char * ex__name_var_of_object(ex_entity_type, int, int)
Definition: ex_utils.c:634
struct ex__obj_stats * next
Definition: exodusII_int.h:670
struct ex__obj_stats * exoII_nm
Definition: ex_utils.c:59
ex__element_type
Definition: exodusII_int.h:590
struct ex__list_item * next
Definition: exodusII_int.h:658
int ex__get_block_param(int exoid, ex_entity_id id, int ndim, struct ex__elem_blk_parm *elem_blk_parm)
Definition: ex_int_get_block_param.c:50
void ex__check_valid_file_id(int exoid, const char *func)
Definition: ex_conv.c:80
void ex__iqsort(int v[], int iv[], int N)
Definition: ex_utils.c:1509
int int64_status
Definition: exodusII_int.h:614
int num_attr
Definition: exodusII_int.h:641
struct ex__obj_stats * exoII_eb
Definition: ex_utils.c:48
ex__element_type elem_type_val
Definition: exodusII_int.h:643
int ex__get_nodal_var_time(int exoid, int nodal_var_index, int64_t node_number, int beg_time_step, int end_time_step, void *nodal_var_vals)
Definition: ex_get_nodal_var_time_int.c:109
Definition: exodusII_int.h:654
struct ex__obj_stats * exoII_fa
Definition: ex_utils.c:50
nc_type netcdf_type_code
Definition: exodusII_int.h:613
int ex__get_file_type(int exoid, char *ftype)
Definition: ex_ne_util.c:139
int ex__put_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t num_nodes, const void *nodal_var_vals)
Definition: ex_put_nodal_var_int.c:105
Definition: exodusII_int.h:650
int time_varid
Definition: exodusII_int.h:616
Definition: exodusII_int.h:648
void ex__rm_file_item(int, struct ex__list_item **)
Definition: ex_utils.c:1202
size_t num
Definition: exodusII_int.h:665
char elem_type[33]
Definition: exodusII_int.h:635
char valid_ids
Definition: exodusII_int.h:667
void ex__compress_variable(int exoid, int varid, int type)
Definition: ex_utils.c:1640
Definition: exodusII_int.h:649
Definition: exodusII_int.h:602
int ex__check_file_type(const char *path, int *type)
Definition: ex_utils.c:158
int ex__get_names(int exoid, int varid, size_t num_entity, char **names, ex_entity_type obj_type, const char *routine)
Definition: ex_utils.c:393
unsigned int user_compute_wordsize
Definition: exodusII_int.h:619
int value
Definition: exodusII_int.h:657
struct ex__list_item ** ex__get_counter_list(ex_entity_type obj_type)
Definition: ex_utils.c:1060
unsigned int shuffle
Definition: exodusII_int.h:620
int ex__populate_header(int exoid, const char *path, int my_mode, int is_parallel, int *comp_ws, int *io_ws)
Definition: ex_utils.c:2016
char sequential
Definition: exodusII_int.h:669
struct ex__obj_stats * exoII_ed
Definition: ex_utils.c:49
unsigned int has_faces
Definition: exodusII_int.h:628
void ex__reset_error_status(void)
Definition: ex_err.c:119
struct ex__obj_stats * ex__get_stat_ptr(int exoid, struct ex__obj_stats **obj_ptr)
Definition: ex_utils.c:974
int exoid
Definition: exodusII_int.h:666
Definition: exodusII_int.h:661
unsigned int is_parallel
Definition: exodusII_int.h:623
struct ex__file_item * ex__find_file_item(int exoid)
Definition: ex_conv.c:66
int ex__leavedef(int exoid, const char *call_rout)
Definition: ex_utils.c:1674
unsigned int file_type
Definition: exodusII_int.h:622
char * ex__dim_num_objects(ex_entity_type obj_type)
Definition: ex_utils.c:584
int ex__is_parallel(int exoid)
Definition: ex_conv.c:487
Definition: exodusII_int.h:595
void ex__trim(char *name)
Definition: ex_utils.c:453
Definition: exodusII_int.h:603
unsigned int compression_level
Definition: exodusII_int.h:618
unsigned int has_elems
Definition: exodusII_int.h:629
struct ex__file_item * next
Definition: exodusII_int.h:630
int ex__inc_file_item(int, struct ex__list_item **)
Definition: ex_utils.c:1108
int ne__id_lkup(int exoid, const char *ne_var_name, int64_t *idx, ex_entity_id ne_var_id)
Definition: ex_ne_util.c:67
struct ex__obj_stats * exoII_em
Definition: ex_utils.c:56
Definition: exodusII_int.h:601
int64_t * id_vals
Definition: exodusII_int.h:663
struct ex__file_item * ex__add_file_item(int exoid)
struct ex__obj_stats * exoII_ns
Definition: ex_utils.c:51
unsigned int has_edges
Definition: exodusII_int.h:627
void ex__conv_exit(int exoid)
Definition: ex_conv.c:273
void ex__iqsort64(int64_t v[], int64_t iv[], int64_t N)
Definition: ex_utils.c:1525
int ex__get_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t num_nodes, void *nodal_var_vals)
Definition: ex_get_nodal_var_int.c:103
#define MAX_ERR_LENGTH
Definition: exodusII.h:308
int ex__id_lkup(int exoid, ex_entity_type id_type, ex_entity_id num)
Definition: ex_utils.c:685
int ex__get_dimension(int exoid, const char *DIMENSION, const char *label, size_t *count, int *dimid, const char *routine)
Definition: ex_utils.c:1592
char * ex__name_of_map(ex_entity_type, int)
Definition: ex_utils.c:653
int ex__put_nemesis_version(int exoid)
Definition: ex_ne_util.c:182
struct ex__obj_stats * exoII_es
Definition: ex_utils.c:52
int ex__get_file_item(int, struct ex__list_item **)
Definition: ex_utils.c:1156
int ex__get_cpu_ws(void)
Definition: ex_utils.c:1274
#define EXODUS_EXPORT
Definition: exodusII.h:431
struct ex__obj_stats * exoII_ss
Definition: ex_utils.c:54
Definition: exodusII_int.h:610
struct ex__obj_stats * exoII_edm
Definition: ex_utils.c:57
ex__coordinate_frame_type
Definition: exodusII_int.h:647
Definition: exodusII_int.h:591
int ex__default_max_name_length
int ex__get_partial_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t start_node, int64_t num_nodes, void *var_vals)
Definition: ex_get_partial_nodal_var_int.c:67
unsigned int is_pnetcdf
Definition: exodusII_int.h:625
void ex__update_max_name_length(int exoid, int length)
Definition: ex_utils.c:240
nc_type nc_flt_code(int exoid)
Definition: ex_conv.c:310
int64_t ex_entity_id
Definition: exodusII.h:312
struct ex__obj_stats * exoII_fam
Definition: ex_utils.c:58
Definition: exodusII_int.h:597
static int last_err_num
Definition: ex_err.c:108
int64_t num_elem_in_blk
Definition: exodusII_int.h:637
char * ex__catstr(const char *, int)
Definition: ex_utils.c:483
int ex__conv_init(int exoid, int *comp_wordsize, int *io_wordsize, int file_wordsize, int int64_status, int is_parallel, int is_hdf5, int is_pnetcdf)
Definition: ex_conv.c:109
int ex__put_name(int exoid, int varid, size_t index, const char *name, ex_entity_type obj_type, const char *subtype, const char *routine)
Definition: ex_utils.c:340
int ex__get_name(int exoid, int varid, size_t index, char *name, int name_size, ex_entity_type obj_type, const char *routine)
Definition: ex_utils.c:419
int ex__handle_mode(unsigned int my_mode, int is_parallel, int run_version)
Definition: ex_utils.c:1712
int ex__check_version(int run_version)
Definition: ex_utils.c:1690
Definition: exodusII_int.h:594
void ex__rm_stat_ptr(int exoid, struct ex__obj_stats **obj_ptr)
Definition: ex_utils.c:1013
Definition: exodusII_int.h:598
char valid_stat
Definition: exodusII_int.h:668
Definition: exodusII_int.h:604
static char last_pname[MAX_ERR_LENGTH+1]
Definition: ex_err.c:106
Definition: exodusII_int.h:600
char * ex__catstr2(const char *, int, const char *, int)
Definition: ex_utils.c:499
Definition: exodusII_int.h:593
int num_sides
Definition: exodusII_int.h:639
struct ex__obj_stats * exoII_fs
Definition: ex_utils.c:53
char * ex__dim_num_entries_in_object(ex_entity_type, int)
Definition: ex_utils.c:614
int exo_id
Definition: exodusII_int.h:656
Definition: exodusII_int.h:592
int num_nodes_per_side[6]
Definition: exodusII_int.h:640
Definition: exodusII_int.h:633
int maximum_name_length
Definition: exodusII_int.h:615
int ex__get_glob_vars(int exoid, int time_step, int num_glob_vars, void *glob_var_vals)
Definition: ex_get_glob_vars_int.c:59
int * stat_vals
Definition: exodusII_int.h:664
struct ex__obj_stats * exoII_els
Definition: ex_utils.c:55
static char last_errmsg[MAX_ERR_LENGTH+1]
Definition: ex_err.c:107
int ex__get_glob_var_time(int exoid, int glob_var_index, int beg_time_step, int end_time_step, void *glob_var_vals)
Definition: ex_get_glob_var_time_int.c:101
Definition: exodusII_int.h:596
int64_t elem_blk_id
Definition: exodusII_int.h:636
int file_id
Definition: exodusII_int.h:612
int ex__comp_ws(int exoid)
Definition: ex_conv.c:465
int ne__check_file_version(int neid)
Definition: ex_ne_util.c:224
unsigned int is_hdf5
Definition: exodusII_int.h:624
int ex__put_names(int exoid, int varid, size_t num_entity, char **names, ex_entity_type obj_type, const char *subtype, const char *routine)
Definition: ex_utils.c:270
int64_t elem_ctr
Definition: exodusII_int.h:642
ex_entity_type
Definition: exodusII.h:253
Definition: exodusII_int.h:599