41 #ifndef EXODUS_II_INT_HDR 42 #define EXODUS_II_INT_HDR 44 #include "exodus_config.h" 46 #if defined(EXODUS_THREADSAFE) 51 #define NC_HAVE_META_H 52 #if defined(NC_HAVE_META_H) 53 #include "netcdf_meta.h" 63 #if defined __STDC__ || defined __cplusplus 69 #pragma warning(disable : 4127) 70 #pragma warning(disable : 4706) 71 #pragma warning(disable : 4701) 74 #if defined(__BORLANDC__) 80 #if defined(_MSC_VER) && _MSC_VER < 1900 81 #define __func__ __FUNCTION__ 82 #define snprintf _snprintf 90 #if defined(__STDC_VERSION__) 91 #if (__STDC_VERSION__ >= 199901L) 100 #define MAX_VAR_NAME_LENGTH 32 106 #define EXODUS_DEFAULT_SIZE 1 109 #define EX_FILE_ID_MASK (0xffff0000) 110 #define EX_GRP_ID_MASK (0x0000ffff) 114 #if defined(EXODUS_THREADSAFE) 115 #if !defined(exerrval) 117 typedef struct EX_errval
126 #define exerrval ex_errval->errval 129 extern pthread_once_t EX_first_init_g;
131 typedef struct EX_mutex_struct
133 pthread_mutex_t atomic_lock;
134 pthread_mutexattr_t attribute;
137 extern EX_mutex_t EX_g;
138 extern int ex_mutex_lock(EX_mutex_t *mutex);
139 extern int ex_mutex_unlock(EX_mutex_t *mutex);
140 extern void ex_pthread_first_thread_init(
void);
141 extern EX_errval_t *exerrval_get();
143 #define EX_FUNC_ENTER() \ 146 pthread_once(&EX_first_init_g, ex_pthread_first_thread_init); \ 149 ex_mutex_lock(&EX_g); \ 150 ex_errval = exerrval_get(); \ 152 ex_errval->last_err_num = 0; \ 155 #define EX_FUNC_ENTER_INT() \ 158 pthread_once(&EX_first_init_g, ex_pthread_first_thread_init); \ 161 ex_mutex_lock(&EX_g); \ 162 ex_errval = exerrval_get(); \ 165 #define EX_FUNC_LEAVE(error) \ 167 ex_mutex_unlock(&EX_g); \ 171 #define EX_FUNC_VOID() \ 173 ex_mutex_unlock(&EX_g); \ 181 #define EX_FUNC_ENTER() \ 183 ex_reset_error_status(); \ 184 fprintf(stderr, "%d Enter: %s\n", indent, __func__); \ 187 #define EX_FUNC_ENTER_INT() \ 189 fprintf(stderr, "%d Enter: %s\n", indent, __func__); \ 192 #define EX_FUNC_LEAVE(error) \ 195 fprintf(stderr, "%d Leave: %s\n", indent, __func__); \ 198 #define EX_FUNC_VOID() \ 201 fprintf(stderr, "%d Leave: %s\n", indent, __func__); \ 205 #define EX_FUNC_ENTER() \ 207 ex_reset_error_status(); \ 209 #define EX_FUNC_ENTER_INT() 210 #define EX_FUNC_LEAVE(error) return error 211 #define EX_FUNC_VOID() return 230 #define ATT_FILE_TYPE "type" 231 #define ATT_TITLE "title" 232 #define ATT_API_VERSION "api_version" 233 #define ATT_API_VERSION_BLANK "api version" 236 #define ATT_VERSION "version" 237 #define ATT_FILESIZE "file_size" 238 #define ATT_FLT_WORDSIZE "floating_point_word_size" 241 #define ATT_FLT_WORDSIZE_BLANK "floating point word size" 246 #define ATT_MAX_NAME_LENGTH "maximum_name_length" 247 #define ATT_INT64_STATUS "int64_status" 249 #define DIM_NUM_NODES "num_nodes" 250 #define DIM_NUM_DIM "num_dim" 251 #define DIM_NUM_EDGE "num_edge" 252 #define DIM_NUM_FACE "num_face" 253 #define DIM_NUM_ELEM "num_elem" 254 #define DIM_NUM_EL_BLK "num_el_blk" 255 #define DIM_NUM_ED_BLK "num_ed_blk" 256 #define DIM_NUM_FA_BLK "num_fa_blk" 257 #define VAR_COORD "coord" 258 #define VAR_COORD_X "coordx" 259 #define VAR_COORD_Y "coordy" 260 #define VAR_COORD_Z "coordz" 261 #define VAR_NAME_COOR "coor_names" 262 #define VAR_NAME_EL_BLK "eb_names" 263 #define VAR_NAME_NS "ns_names" 264 #define VAR_NAME_SS "ss_names" 265 #define VAR_NAME_EM "emap_names" 266 #define VAR_NAME_EDM "edmap_names" 267 #define VAR_NAME_FAM "famap_names" 268 #define VAR_NAME_NM "nmap_names" 269 #define VAR_NAME_ED_BLK "ed_names" 270 #define VAR_NAME_FA_BLK "fa_names" 271 #define VAR_NAME_ES "es_names" 272 #define VAR_NAME_FS "fs_names" 273 #define VAR_NAME_ELS "els_names" 274 #define VAR_STAT_EL_BLK "eb_status" 275 #define VAR_STAT_ECONN "econn_status" 276 #define VAR_STAT_FCONN "fconn_status" 277 #define VAR_STAT_ED_BLK "ed_status" 278 #define VAR_STAT_FA_BLK "fa_status" 279 #define VAR_ID_EL_BLK "eb_prop1" 280 #define VAR_ID_ED_BLK "ed_prop1" 281 #define VAR_ID_FA_BLK "fa_prop1" 282 #define ATT_NAME_ELB "elem_type" 284 #define DIM_NUM_EL_IN_BLK(num) ex_catstr("num_el_in_blk", num) 287 #define DIM_NUM_NOD_PER_EL(num) ex_catstr("num_nod_per_el", num) 290 #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) 296 #define DIM_NUM_NOD_PER_ED(num) ex_catstr("num_nod_per_ed", num) 299 #define DIM_NUM_EDG_PER_EL(num) ex_catstr("num_edg_per_el", num) 302 #define DIM_NUM_ATT_IN_EBLK(num) ex_catstr("num_att_in_eblk", num) 305 #define DIM_NUM_FA_IN_FBLK(num) ex_catstr("num_fa_in_blk", num) 308 #define DIM_NUM_NOD_PER_FA(num) ex_catstr("num_nod_per_fa", num) 311 #define DIM_NUM_FAC_PER_EL(num) ex_catstr("num_fac_per_el", num) 314 #define DIM_NUM_ATT_IN_FBLK(num) ex_catstr("num_att_in_fblk", num) 317 #define VAR_CONN(num) ex_catstr("connect", num) 320 #define VAR_EBEPEC(num) ex_catstr("ebepecnt", num) 323 #define VAR_ATTRIB(num) ex_catstr("attrib", num) 326 #define VAR_NAME_ATTRIB(num) ex_catstr("attrib_name", num) 329 #define VAR_EB_PROP(num) ex_catstr("eb_prop", num) 332 #define VAR_ECONN(num) ex_catstr("edgconn", num) 335 #define VAR_EBCONN(num) ex_catstr("ebconn", num) 338 #define VAR_EATTRIB(num) ex_catstr("eattrb", num) 341 #define VAR_NAME_EATTRIB(num) ex_catstr("eattrib_name", num) 344 #define VAR_NATTRIB "nattrb" 345 #define VAR_NAME_NATTRIB "nattrib_name" 346 #define DIM_NUM_ATT_IN_NBLK "num_att_in_nblk" 348 #define VAR_NSATTRIB(num) ex_catstr("nsattrb", num) 349 #define VAR_NAME_NSATTRIB(num) ex_catstr("nsattrib_name", num) 350 #define DIM_NUM_ATT_IN_NS(num) ex_catstr("num_att_in_ns", num) 352 #define VAR_SSATTRIB(num) ex_catstr("ssattrb", num) 353 #define VAR_NAME_SSATTRIB(num) ex_catstr("ssattrib_name", num) 354 #define DIM_NUM_ATT_IN_SS(num) ex_catstr("num_att_in_ss", num) 356 #define VAR_ESATTRIB(num) ex_catstr("esattrb", num) 357 #define VAR_NAME_ESATTRIB(num) ex_catstr("esattrib_name", num) 358 #define DIM_NUM_ATT_IN_ES(num) ex_catstr("num_att_in_es", num) 360 #define VAR_FSATTRIB(num) ex_catstr("fsattrb", num) 361 #define VAR_NAME_FSATTRIB(num) ex_catstr("fsattrib_name", num) 362 #define DIM_NUM_ATT_IN_FS(num) ex_catstr("num_att_in_fs", num) 364 #define VAR_ELSATTRIB(num) ex_catstr("elsattrb", num) 365 #define VAR_NAME_ELSATTRIB(num) ex_catstr("elsattrib_name", num) 366 #define DIM_NUM_ATT_IN_ELS(num) ex_catstr("num_att_in_els", num) 368 #define VAR_ED_PROP(num) ex_catstr("ed_prop", num) 371 #define VAR_FCONN(num) ex_catstr("facconn", num) 374 #define VAR_FBCONN(num) ex_catstr("fbconn", num) 377 #define VAR_FBEPEC(num) ex_catstr("fbepecnt", num) 380 #define VAR_FATTRIB(num) ex_catstr("fattrb", num) 383 #define VAR_NAME_FATTRIB(num) ex_catstr("fattrib_name", num) 386 #define VAR_FA_PROP(num) ex_catstr("fa_prop", num) 389 #define ATT_PROP_NAME "name" 393 #define VAR_MAP "elem_map" 396 #define DIM_NUM_SS "num_side_sets" 397 #define VAR_SS_STAT "ss_status" 398 #define VAR_SS_IDS "ss_prop1" 399 #define DIM_NUM_SIDE_SS(num) ex_catstr("num_side_ss", num) 401 #define DIM_NUM_DF_SS(num) ex_catstr("num_df_ss", num) 406 #define VAR_FACT_SS(num) ex_catstr("dist_fact_ss", num) 410 #define VAR_ELEM_SS(num) ex_catstr("elem_ss", num) 413 #define VAR_SIDE_SS(num) ex_catstr("side_ss", num) 415 #define VAR_SS_PROP(num) ex_catstr("ss_prop", num) 418 #define DIM_NUM_ES "num_edge_sets" 419 #define VAR_ES_STAT "es_status" 420 #define VAR_ES_IDS "es_prop1" 421 #define DIM_NUM_EDGE_ES(num) ex_catstr("num_edge_es", num) 423 #define DIM_NUM_DF_ES(num) ex_catstr("num_df_es", num) 428 #define VAR_FACT_ES(num) ex_catstr("dist_fact_es", num) 432 #define VAR_EDGE_ES(num) ex_catstr("edge_es", num) 435 #define VAR_ORNT_ES(num) ex_catstr("ornt_es", num) 438 #define VAR_ES_PROP(num) ex_catstr("es_prop", num) 441 #define DIM_NUM_FS "num_face_sets" 442 #define VAR_FS_STAT "fs_status" 443 #define VAR_FS_IDS "fs_prop1" 444 #define DIM_NUM_FACE_FS(num) ex_catstr("num_face_fs", num) 446 #define DIM_NUM_DF_FS(num) ex_catstr("num_df_fs", num) 451 #define VAR_FACT_FS(num) ex_catstr("dist_fact_fs", num) 455 #define VAR_FACE_FS(num) ex_catstr("face_fs", num) 458 #define VAR_ORNT_FS(num) ex_catstr("ornt_fs", num) 460 #define VAR_FS_PROP(num) ex_catstr("fs_prop", num) 463 #define DIM_NUM_ELS "num_elem_sets" 464 #define DIM_NUM_ELE_ELS(num) ex_catstr("num_ele_els", num) 467 #define DIM_NUM_DF_ELS(num) ex_catstr("num_df_els", num) 470 #define VAR_ELS_STAT "els_status" 471 #define VAR_ELS_IDS "els_prop1" 472 #define VAR_ELEM_ELS(num) ex_catstr("elem_els", num) 475 #define VAR_FACT_ELS(num) ex_catstr("dist_fact_els", num) 478 #define VAR_ELS_PROP(num) ex_catstr("els_prop", num) 481 #define DIM_NUM_NS "num_node_sets" 482 #define DIM_NUM_NOD_NS(num) ex_catstr("num_nod_ns", num) 485 #define DIM_NUM_DF_NS(num) ex_catstr("num_df_ns", num) 488 #define VAR_NS_STAT "ns_status" 489 #define VAR_NS_IDS "ns_prop1" 490 #define VAR_NODE_NS(num) ex_catstr("node_ns", num) 493 #define VAR_FACT_NS(num) ex_catstr("dist_fact_ns", num) 496 #define VAR_NS_PROP(num) ex_catstr("ns_prop", num) 499 #define DIM_NUM_QA "num_qa_rec" 500 #define VAR_QA_TITLE "qa_records" 501 #define DIM_NUM_INFO "num_info" 502 #define VAR_INFO "info_records" 503 #define VAR_HIS_TIME "time_hist" 504 #define VAR_WHOLE_TIME "time_whole" 506 #define VAR_ELEM_TAB "elem_var_tab" 508 #define VAR_EBLK_TAB "edge_var_tab" 509 #define VAR_FBLK_TAB "face_var_tab" 510 #define VAR_ELSET_TAB "elset_var_tab" 512 #define VAR_SSET_TAB "sset_var_tab" 514 #define VAR_FSET_TAB "fset_var_tab" 516 #define VAR_ESET_TAB "eset_var_tab" 518 #define VAR_NSET_TAB "nset_var_tab" 520 #define DIM_NUM_GLO_VAR "num_glo_var" 521 #define VAR_NAME_GLO_VAR "name_glo_var" 522 #define VAR_GLO_VAR "vals_glo_var" 523 #define DIM_NUM_NOD_VAR "num_nod_var" 524 #define VAR_NAME_NOD_VAR "name_nod_var" 525 #define VAR_NOD_VAR "vals_nod_var" 526 #define VAR_NOD_VAR_NEW(num) ex_catstr("vals_nod_var", num) 528 #define DIM_NUM_ELE_VAR "num_elem_var" 529 #define VAR_NAME_ELE_VAR "name_elem_var" 530 #define VAR_ELEM_VAR(num1, num2) ex_catstr2("vals_elem_var", num1, "eb", num2) 534 #define DIM_NUM_EDG_VAR "num_edge_var" 535 #define VAR_NAME_EDG_VAR "name_edge_var" 536 #define VAR_EDGE_VAR(num1, num2) ex_catstr2("vals_edge_var", num1, "eb", num2) 539 #define DIM_NUM_FAC_VAR "num_face_var" 540 #define VAR_NAME_FAC_VAR "name_face_var" 541 #define VAR_FACE_VAR(num1, num2) ex_catstr2("vals_face_var", num1, "fb", num2) 545 #define DIM_NUM_NSET_VAR "num_nset_var" 546 #define VAR_NAME_NSET_VAR "name_nset_var" 547 #define VAR_NS_VAR(num1, num2) ex_catstr2("vals_nset_var", num1, "ns", num2) 550 #define DIM_NUM_ESET_VAR "num_eset_var" 551 #define VAR_NAME_ESET_VAR "name_eset_var" 552 #define VAR_ES_VAR(num1, num2) ex_catstr2("vals_eset_var", num1, "es", num2) 555 #define DIM_NUM_FSET_VAR "num_fset_var" 556 #define VAR_NAME_FSET_VAR "name_fset_var" 557 #define VAR_FS_VAR(num1, num2) ex_catstr2("vals_fset_var", num1, "fs", num2) 560 #define DIM_NUM_SSET_VAR "num_sset_var" 561 #define VAR_NAME_SSET_VAR "name_sset_var" 562 #define VAR_SS_VAR(num1, num2) ex_catstr2("vals_sset_var", num1, "ss", num2) 565 #define DIM_NUM_ELSET_VAR "num_elset_var" 566 #define VAR_NAME_ELSET_VAR "name_elset_var" 567 #define VAR_ELS_VAR(num1, num2) ex_catstr2("vals_elset_var", num1, "es", num2) 571 #define DIM_NUM_HIS_VAR "num_his_var" 572 #define VAR_NAME_HIS_VAR "name_his_var" 573 #define VAR_HIS_VAR "vals_his_var" 574 #define DIM_STR "len_string" 577 #define DIM_STR_NAME "len_name" 580 #define DIM_LIN "len_line" 583 #define DIM_N4 "four" 585 #define DIM_TIME "time_step" 587 #define DIM_HTIME "hist_time_step" 588 #define VAR_ELEM_NUM_MAP "elem_num_map" 591 #define VAR_FACE_NUM_MAP "face_num_map" 594 #define VAR_EDGE_NUM_MAP "edge_num_map" 597 #define VAR_NODE_NUM_MAP "node_num_map" 600 #define DIM_NUM_EM "num_elem_maps" 601 #define VAR_ELEM_MAP(num) ex_catstr("elem_map", num) 603 #define VAR_EM_PROP(num) ex_catstr("em_prop", num) 606 #define DIM_NUM_EDM "num_edge_maps" 607 #define VAR_EDGE_MAP(num) ex_catstr("edge_map", num) 609 #define VAR_EDM_PROP(num) ex_catstr("edm_prop", num) 612 #define DIM_NUM_FAM "num_face_maps" 613 #define VAR_FACE_MAP(num) ex_catstr("face_map", num) 615 #define VAR_FAM_PROP(num) ex_catstr("fam_prop", num) 618 #define DIM_NUM_NM "num_node_maps" 619 #define VAR_NODE_MAP(num) ex_catstr("node_map", num) 621 #define VAR_NM_PROP(num) ex_catstr("nm_prop", num) 625 #define DIM_NUM_CFRAMES "num_cframes" 626 #define DIM_NUM_CFRAME9 "num_cframes_9" 627 #define VAR_FRAME_COORDS "frame_coordinates" 628 #define VAR_FRAME_IDS "frame_ids" 629 #define VAR_FRAME_TAGS "frame_tags" 631 #define VAR_ELBLK_IDS_GLOBAL "el_blk_ids_global" 632 #define VAR_ELBLK_CNT_GLOBAL "el_blk_cnt_global" 633 #define VAR_NS_IDS_GLOBAL "ns_ids_global" 634 #define VAR_NS_NODE_CNT_GLOBAL "ns_node_cnt_global" 635 #define VAR_NS_DF_CNT_GLOBAL "ns_df_cnt_global" 636 #define VAR_SS_IDS_GLOBAL "ss_ids_global" 637 #define VAR_SS_SIDE_CNT_GLOBAL "ss_side_cnt_global" 638 #define VAR_SS_DF_CNT_GLOBAL "ss_df_cnt_global" 639 #define VAR_FILE_TYPE "nem_ftype" 640 #define VAR_COMM_MAP "comm_map" 641 #define VAR_NODE_MAP_INT "node_mapi" 642 #define VAR_NODE_MAP_INT_IDX "node_mapi_idx" 643 #define VAR_NODE_MAP_BOR "node_mapb" 644 #define VAR_NODE_MAP_BOR_IDX "node_mapb_idx" 645 #define VAR_NODE_MAP_EXT "node_mape" 646 #define VAR_NODE_MAP_EXT_IDX "node_mape_idx" 647 #define VAR_ELEM_MAP_INT "elem_mapi" 648 #define VAR_ELEM_MAP_INT_IDX "elem_mapi_idx" 649 #define VAR_ELEM_MAP_BOR "elem_mapb" 650 #define VAR_ELEM_MAP_BOR_IDX "elem_mapb_idx" 651 #define VAR_INT_N_STAT "int_n_stat" 652 #define VAR_BOR_N_STAT "bor_n_stat" 653 #define VAR_EXT_N_STAT "ext_n_stat" 654 #define VAR_INT_E_STAT "int_e_stat" 655 #define VAR_BOR_E_STAT "bor_e_stat" 656 #define VAR_N_COMM_IDS "n_comm_ids" 657 #define VAR_N_COMM_STAT "n_comm_stat" 658 #define VAR_N_COMM_INFO_IDX "n_comm_info_idx" 659 #define VAR_E_COMM_IDS "e_comm_ids" 660 #define VAR_E_COMM_STAT "e_comm_stat" 661 #define VAR_E_COMM_INFO_IDX "e_comm_info_idx" 662 #define VAR_N_COMM_NIDS "n_comm_nids" 663 #define VAR_N_COMM_PROC "n_comm_proc" 664 #define VAR_N_COMM_DATA_IDX "n_comm_data_idx" 665 #define VAR_E_COMM_EIDS "e_comm_eids" 666 #define VAR_E_COMM_SIDS "e_comm_sids" 667 #define VAR_E_COMM_PROC "e_comm_proc" 668 #define VAR_E_COMM_DATA_IDX "e_comm_data_idx" 670 #define DIM_NUM_INT_NODES "num_int_node" 671 #define DIM_NUM_BOR_NODES "num_bor_node" 672 #define DIM_NUM_EXT_NODES "num_ext_node" 673 #define DIM_NUM_INT_ELEMS "num_int_elem" 674 #define DIM_NUM_BOR_ELEMS "num_bor_elem" 675 #define DIM_NUM_PROCS "num_processors" 676 #define DIM_NUM_PROCS_F "num_procs_file" 677 #define DIM_NUM_NODES_GLOBAL "num_nodes_global" 678 #define DIM_NUM_ELEMS_GLOBAL "num_elems_global" 679 #define DIM_NUM_NS_GLOBAL "num_ns_global" 680 #define DIM_NUM_SS_GLOBAL "num_ss_global" 681 #define DIM_NUM_ELBLK_GLOBAL "num_el_blk_global" 682 #define DIM_NUM_N_CMAPS "num_n_cmaps" 683 #define DIM_NUM_E_CMAPS "num_e_cmaps" 684 #define DIM_NCNT_CMAP "ncnt_cmap" 685 #define DIM_ECNT_CMAP "ecnt_cmap" 740 int num_nodes_per_side[6];
765 void ex_iqsort(
int v[],
int iv[],
int N);
766 void ex_iqsort64(int64_t v[], int64_t iv[], int64_t N);
769 char *
ex_catstr2(
const char * ,
int ,
const char * ,
int );
775 int ex_conv_ini(
int exoid,
int *comp_wordsize,
int *io_wordsize,
int file_wordsize,
776 int int64_status,
int is_parallel,
int is_mpiio,
int is_pnetcdf);
814 const char *routine);
817 void *nodal_var_vals);
820 const void *nodal_var_vals);
823 int beg_time_step,
int end_time_step,
void *nodal_var_vals);
826 int64_t num_nodes,
void *var_vals);
829 int64_t num_nodes,
const void *nodal_var_vals);
833 void *glob_var_vals);
840 ex_entity_type obj_type,
const char *subtype,
const char *routine);
842 ex_entity_type obj_type,
const char *subtype,
const char *routine);
846 const char *call_rout
862 const char * ne_var_name,
int num_sides
Definition: exodusII_int.h:739
struct list_item * next
Definition: exodusII_int.h:750
Definition: exodusII_int.h:690
Definition: exodusII_int.h:689
int int64_status
Definition: exodusII_int.h:714
unsigned int shuffle
Definition: exodusII_int.h:720
Definition: exodusII_int.h:700
char * ex_name_var_of_object(ex_entity_type, int, int)
Definition: ex_utils.c:499
void ex_conv_exit(int exoid)
Definition: ex_conv.c:275
int ex_get_name_internal(int exoid, int varid, size_t index, char *name, int name_size, ex_entity_type obj_type, const char *routine)
Definition: ex_utils.c:316
struct obj_stats * next
Definition: exodusII_int.h:762
void ex_rm_stat_ptr(int exoid, struct obj_stats **obj_ptr)
Definition: ex_utils.c:871
int value
Definition: exodusII_int.h:749
Definition: exodusII_int.h:694
int ex_put_name_internal(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:245
int ex_get_nodal_var_int(int exoid, int time_step, int nodal_var_index, int64_t num_nodes, void *nodal_var_vals)
Definition: ex_get_nodal_var_int.c:102
Definition: exodusII_int.h:705
int ex_inc_file_item(int, struct list_item **)
Definition: ex_utils.c:962
unsigned int user_compute_wordsize
Definition: exodusII_int.h:719
struct list_item ** ex_get_counter_list(ex_entity_type obj_type)
Definition: ex_utils.c:914
void ex_update_max_name_length(int exoid, int length)
Definition: ex_utils.c:159
size_t num
Definition: exodusII_int.h:757
struct obj_stats * ex_get_stat_ptr(int exoid, struct obj_stats **obj_ptr)
Definition: ex_utils.c:832
struct obj_stats * exoII_edm
Definition: ex_utils.c:65
#define EXODUS_EXPORT
Definition: exodusII.h:422
nc_type netcdf_type_code
Definition: exodusII_int.h:713
char sequential
Definition: exodusII_int.h:761
int ex_is_parallel(int exoid)
Definition: ex_conv.c:472
void ex_check_valid_file_id(int exoid, const char *func)
Definition: ex_conv.c:84
int ex_conv_ini(int exoid, int *comp_wordsize, int *io_wordsize, int file_wordsize, int int64_status, int is_parallel, int is_mpiio, int is_pnetcdf)
Definition: ex_conv.c:113
struct obj_stats * exoII_eb
Definition: ex_utils.c:56
int ex_get_glob_vars_int(int exoid, int time_step, int num_glob_vars, void *glob_var_vals)
Definition: ex_get_glob_vars_int.c:63
unsigned int has_nodes
Definition: exodusII_int.h:726
unsigned int is_pnetcdf
Definition: exodusII_int.h:725
static char last_pname[MAX_ERR_LENGTH]
Definition: ex_err.c:109
int ex_get_dimension(int exoid, const char *DIMENSION, const char *label, size_t *count, int *dimid, const char *routine)
Definition: ex_utils.c:1402
unsigned int has_edges
Definition: exodusII_int.h:727
unsigned int has_faces
Definition: exodusII_int.h:728
Definition: exodusII_int.h:697
char * ex_catstr2(const char *, int, const char *, int)
Definition: ex_utils.c:384
Definition: exodusII_int.h:733
int ex_leavedef(int exoid, const char *call_rout)
Definition: ex_ne_util.c:67
nc_type nc_flt_code(int exoid)
Definition: ex_conv.c:312
char * ex_name_of_map(ex_entity_type, int)
Definition: ex_utils.c:514
Definition: exodusII_int.h:746
int maximum_name_length
Definition: exodusII_int.h:715
#define MAX_ERR_LENGTH
Definition: exodusII.h:302
int ex_int_get_block_param(int exoid, ex_entity_id id, int ndim, struct elem_blk_parm *elem_blk_parm)
Definition: ex_int_get_block_param.c:56
int ex_check_file_type(const char *path, int *type)
Definition: ex_utils.c:85
struct obj_stats * exoII_es
Definition: ex_utils.c:60
int ex_get_partial_nodal_var_int(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:72
char valid_stat
Definition: exodusII_int.h:760
void ex_compress_variable(int exoid, int varid, int type)
Definition: ex_utils.c:1441
int exoid
Definition: exodusII_int.h:758
int ne_check_file_version(int neid)
Definition: ex_ne_util.c:244
struct obj_stats * exoII_fa
Definition: ex_utils.c:58
int time_varid
Definition: exodusII_int.h:716
int ex_put_partial_nodal_var_int(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:76
struct obj_stats * exoII_ss
Definition: ex_utils.c:62
struct obj_stats * exoII_ed
Definition: ex_utils.c:57
static char last_errmsg[MAX_ERR_LENGTH]
Definition: ex_err.c:110
void ex_rm_file_item(int, struct list_item **)
Definition: ex_utils.c:1056
Definition: exodusII_int.h:710
struct ex_file_item * ex_find_file_item(int exoid)
Definition: ex_conv.c:70
Definition: exodusII_int.h:692
int num_attr
Definition: exodusII_int.h:741
ex_entity_type
Definition: exodusII.h:247
unsigned int has_elems
Definition: exodusII_int.h:729
struct obj_stats * exoII_ns
Definition: ex_utils.c:59
int ex_put_nemesis_version(int exoid)
Definition: ex_ne_util.c:202
struct obj_stats * exoII_nm
Definition: ex_utils.c:67
void ex_iqsort(int v[], int iv[], int N)
Definition: ex_utils.c:1326
ex_element_type
Definition: exodusII_int.h:687
Definition: exodusII_int.h:691
int64_t * id_vals
Definition: exodusII_int.h:755
char valid_ids
Definition: exodusII_int.h:759
struct ex_file_item * next
Definition: exodusII_int.h:730
struct obj_stats * exoII_els
Definition: ex_utils.c:63
unsigned int is_mpiio
Definition: exodusII_int.h:724
Definition: exodusII_int.h:753
int ex_put_names_internal(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:185
ex_element_type elem_type_val
Definition: exodusII_int.h:743
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:87
Definition: exodusII_int.h:695
ex_coordinate_frame_type
Definition: exodusII_int.h:705
int * stat_vals
Definition: exodusII_int.h:756
Definition: exodusII_int.h:698
int64_t num_elem_in_blk
Definition: exodusII_int.h:737
int file_id
Definition: exodusII_int.h:712
char * ex_dim_num_entries_in_object(ex_entity_type, int)
Definition: ex_utils.c:483
int ex_default_max_name_length
int ex_id_lkup(int exoid, ex_entity_type id_type, ex_entity_id num)
Definition: ex_utils.c:543
Definition: exodusII_int.h:705
unsigned int is_parallel
Definition: exodusII_int.h:723
void ex_iqsort64(int64_t v[], int64_t iv[], int64_t N)
Definition: ex_utils.c:1341
struct obj_stats * exoII_em
Definition: ex_utils.c:64
int ex_get_names_internal(int exoid, int varid, size_t num_entity, char **names, ex_entity_type obj_type, const char *routine)
Definition: ex_utils.c:294
int num_nodes_per_elem
Definition: exodusII_int.h:738
int exo_id
Definition: exodusII_int.h:748
int64_t elem_blk_id
Definition: exodusII_int.h:736
struct obj_stats * exoII_fs
Definition: ex_utils.c:61
struct ex_file_item * ex_add_file_item(int exoid)
void ex_trim_internal(char *name)
Definition: ex_utils.c:346
int ex_get_nodal_var_time_int(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:113
Definition: exodusII_int.h:693
int ex_get_cpu_ws(void)
Definition: ex_utils.c:1125
int64_t elem_ctr
Definition: exodusII_int.h:742
int ex_get_file_item(int, struct list_item **)
Definition: ex_utils.c:1010
void ex_reset_error_status()
Definition: ex_err.c:118
static int last_err_num
Definition: ex_err.c:111
Definition: exodusII_int.h:696
Definition: exodusII_int.h:699
char * ex_catstr(const char *, int)
Definition: ex_utils.c:372
int64_t ex_entity_id
Definition: exodusII.h:306
unsigned int file_type
Definition: exodusII_int.h:722
int ex_put_nodal_var_int(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:104
int ex_get_glob_var_time_int(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:104
int ex_comp_ws(int exoid)
Definition: ex_conv.c:452
Definition: exodusII_int.h:688
char * ex_dim_num_objects(ex_entity_type obj_type)
Definition: ex_utils.c:457
struct obj_stats * exoII_fam
Definition: ex_utils.c:66
Definition: exodusII_int.h:701
unsigned int compression_level
Definition: exodusII_int.h:718
int ex_get_file_type(int exoid, char *ftype)
Definition: ex_ne_util.c:159
Definition: exodusII_int.h:705