|
ExodusII 4.96
|
#include "exodusII.h"#include "exodusII_int.h"#include <stdlib.h>#include <string.h>#include <assert.h>
Defines | |
| #define | EX_WRITE_OBJECT_PARAMS(TNAME, DNAME, SNAME, INAME, NUM_BLK, DIMVAR) |
| #define | EX_WRITE_MAP_PARAMS(TNAME, DNUMMAP, VMAPIDS, NUMMAPS, MAPDIM) |
| #define | EX_WRITE_OBJECT_NAMES(TNAME, DNAME, DIMVAR, DIMVAL) |
Functions | |
| void | write_dummy_names (int exoid, ex_entity_type obj_type) |
| static void | zero_id_status (int exoid, const char *var_stat, const char *var_id, int count, int *ids) |
| int | ex_put_init_ext (int exoid, const ex_init_params *model) |
| #define EX_WRITE_MAP_PARAMS | ( | TNAME, | |
| DNUMMAP, | |||
| VMAPIDS, | |||
| NUMMAPS, | |||
| MAPDIM | |||
| ) |
Referenced by ex_put_init_ext().
| #define EX_WRITE_OBJECT_NAMES | ( | TNAME, | |
| DNAME, | |||
| DIMVAR, | |||
| DIMVAL | |||
| ) |
/* Element block names... */ \ if ((DIMVAL) > 0) { \ dim[0] = (DIMVAR); \ dim[1] = strdim; \ \ if ((status = nc_def_var (exoid, DNAME, NC_CHAR, 2, dim, &varid)) != NC_NOERR) { \ exerrval = status; \ sprintf(errmsg, \ "Error: failed to define %s name array in file id %d",TNAME,exoid); \ ex_err("ex_put_init_ext",errmsg,exerrval); \ goto error_ret; /* exit define mode and return */ \ } \ }
Referenced by ex_put_init_ext().
| #define EX_WRITE_OBJECT_PARAMS | ( | TNAME, | |
| DNAME, | |||
| SNAME, | |||
| INAME, | |||
| NUM_BLK, | |||
| DIMVAR | |||
| ) |
Referenced by ex_put_init_ext().
| int ex_put_init_ext | ( | int | exoid, |
| const ex_init_params * | model | ||
| ) |
writes the initialization parameters to the EXODUS II file
| exoid | exodus file id |
| model | finite element model parameters |
References ATT_TITLE, DIM_NUM_DIM, DIM_NUM_ED_BLK, DIM_NUM_EDGE, DIM_NUM_EDM, DIM_NUM_EL_BLK, DIM_NUM_ELEM, DIM_NUM_ELS, DIM_NUM_EM, DIM_NUM_ES, DIM_NUM_FA_BLK, DIM_NUM_FACE, DIM_NUM_FAM, DIM_NUM_FS, DIM_NUM_NM, DIM_NUM_NODES, DIM_NUM_NS, DIM_NUM_SS, DIM_STR, EX_EDGE_BLOCK, EX_EDGE_MAP, EX_EDGE_SET, EX_ELEM_BLOCK, EX_ELEM_MAP, EX_ELEM_SET, ex_err(), EX_FACE_BLOCK, EX_FACE_MAP, EX_FACE_SET, EX_FATAL, ex_large_model(), EX_MEMFAIL, EX_MSG, EX_NODE_MAP, EX_NODE_SET, EX_NOERR, EX_SIDE_SET, EX_WRITE_MAP_PARAMS, EX_WRITE_OBJECT_NAMES, EX_WRITE_OBJECT_PARAMS, exerrval, MAX_ERR_LENGTH, MAX_LINE_LENGTH, nc_flt_code(), NULL, ex_init_params::num_dim, ex_init_params::num_edge, ex_init_params::num_edge_blk, ex_init_params::num_edge_maps, ex_init_params::num_edge_sets, ex_init_params::num_elem, ex_init_params::num_elem_blk, ex_init_params::num_elem_maps, ex_init_params::num_elem_sets, ex_init_params::num_face, ex_init_params::num_face_blk, ex_init_params::num_face_maps, ex_init_params::num_face_sets, ex_init_params::num_node_maps, ex_init_params::num_node_sets, ex_init_params::num_nodes, ex_init_params::num_side_sets, ex_init_params::title, VAR_COORD, VAR_COORD_X, VAR_COORD_Y, VAR_COORD_Z, VAR_EDM_PROP, VAR_ELS_IDS, VAR_ELS_STAT, VAR_EM_PROP, VAR_ES_IDS, VAR_ES_STAT, VAR_FAM_PROP, VAR_FS_IDS, VAR_FS_STAT, VAR_ID_ED_BLK, VAR_ID_EL_BLK, VAR_ID_FA_BLK, VAR_NAME_COOR, VAR_NAME_ED_BLK, VAR_NAME_EDM, VAR_NAME_EL_BLK, VAR_NAME_ELS, VAR_NAME_EM, VAR_NAME_ES, VAR_NAME_FA_BLK, VAR_NAME_FAM, VAR_NAME_FS, VAR_NAME_NM, VAR_NAME_NS, VAR_NAME_SS, VAR_NM_PROP, VAR_NS_IDS, VAR_NS_STAT, VAR_SS_IDS, VAR_SS_STAT, VAR_STAT_ED_BLK, VAR_STAT_EL_BLK, VAR_STAT_FA_BLK, write_dummy_names(), and zero_id_status().
Referenced by ex_put_init().
| void write_dummy_names | ( | int | exoid, |
| ex_entity_type | obj_type | ||
| ) |
References ex_dim_num_objects(), ex_get_dimension(), and ex_name_of_object().
Referenced by ex_put_init_ext().
| static void zero_id_status | ( | int | exoid, |
| const char * | var_stat, | ||
| const char * | var_id, | ||
| int | count, | ||
| int * | ids | ||
| ) | [static] |
Referenced by ex_put_init_ext().