|
ExodusII 4.96
|
#include <assert.h>#include <stdlib.h>#include <string.h>#include "exodusII.h"#include "exodusII_int.h"
Data Structures | |
| struct | ncdim |
| struct | ncvar |
| struct | ncatt |
Functions | |
| static size_t | type_size (nc_type type) |
| static int | cpy_att (int, int, int, int) |
| static int | cpy_var_def (int, int, int, char *) |
| static int | cpy_var_val (int, int, char *) |
| static int | cpy_coord_def (int in_id, int out_id, int rec_dim_id, char *var_nm, int in_large, int out_large) |
| static int | cpy_coord_val (int in_id, int out_id, char *var_nm, int in_large, int out_large) |
| static void | update_internal_structs (int, ex_inquiry, struct list_item **) |
| int | ex_copy (int in_exoid, int out_exoid) |
| int cpy_att | ( | int | in_id, |
| int | out_id, | ||
| int | var_in_id, | ||
| int | var_out_id | ||
| ) | [static] |
References EX_NOERR, and MAX_STR_LENGTH.
Referenced by ex_copy().
| int cpy_coord_def | ( | int | in_id, |
| int | out_id, | ||
| int | rec_dim_id, | ||
| char * | var_nm, | ||
| int | in_large, | ||
| int | out_large | ||
| ) | [static] |
References cpy_var_def(), DIM_NUM_DIM, DIM_NUM_NODES, ex_get_dimension(), nc_flt_code(), NULL, VAR_COORD, VAR_COORD_X, VAR_COORD_Y, and VAR_COORD_Z.
Referenced by ex_copy().
| int cpy_coord_val | ( | int | in_id, |
| int | out_id, | ||
| char * | var_nm, | ||
| int | in_large, | ||
| int | out_large | ||
| ) | [static] |
References cpy_var_val(), DIM_NUM_DIM, DIM_NUM_NODES, ex_get_dimension(), EX_NOERR, NULL, type_size(), VAR_COORD, VAR_COORD_X, VAR_COORD_Y, and VAR_COORD_Z.
Referenced by ex_copy().
| int cpy_var_def | ( | int | in_id, |
| int | out_id, | ||
| int | rec_dim_id, | ||
| char * | var_nm | ||
| ) | [static] |
References nc_flt_code().
Referenced by cpy_coord_def(), and ex_copy().
| int cpy_var_val | ( | int | in_id, |
| int | out_id, | ||
| char * | var_nm | ||
| ) | [static] |
References EX_NOERR, and type_size().
Referenced by cpy_coord_val(), and ex_copy().
| 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.
| size_t type_size | ( | nc_type | type | ) | [static] |
Referenced by cpy_coord_val(), and cpy_var_val().
| void update_internal_structs | ( | int | out_exoid, |
| ex_inquiry | inqcode, | ||
| struct list_item ** | ctr_list | ||
| ) | [static] |
References ex_inc_file_item(), and ex_inquire().
Referenced by ex_copy().