|
ExodusII 4.96
|

Defines | |
| #define | EX_WRITE_CONN(TNAME, VARCONN, VARCONNVAL) |
Functions | |
| int | ex_put_conn (int exoid, ex_entity_type blk_type, int blk_id, const int *node_conn, const int *elem_edge_conn, const int *elem_face_conn) |
| #define EX_WRITE_CONN | ( | TNAME, | |
| VARCONN, | |||
| VARCONNVAL | |||
| ) |
status = nc_put_var_int(exoid, VARCONN, VARCONNVAL); \ if (status != NC_NOERR) { \ exerrval = status; \ sprintf(errmsg, \ "Error: failed to write connectivity array for %s block %d in file id %d", \ TNAME,blk_id,exoid); \ ex_err("ex_put_conn",errmsg, exerrval); \ return(EX_FATAL); \ }
write out the connectivity array
Referenced by ex_put_conn().
| int ex_put_conn | ( | int | exoid, |
| ex_entity_type | blk_type, | ||
| int | blk_id, | ||
| const int * | node_conn, | ||
| const int * | elem_edge_conn, | ||
| const int * | elem_face_conn | ||
| ) |
writes the connectivity array for a block
| exoid | exodus file id |
| blk_type | type of block |
| blk_id | id of block |
| node_conn | node-element connectivity |
| elem_edge_conn | element-edge connectivity (NULL if none) |
| elem_face_conn | element-face connectivity (NULL if none) |
References DIM_NUM_EDG_PER_EL, DIM_NUM_FAC_PER_EL, EX_EDGE_BLOCK, EX_ELEM_BLOCK, ex_err(), EX_FACE_BLOCK, EX_FATAL, ex_id_lkup(), EX_MSG, ex_name_of_object(), EX_NOERR, EX_NULLENTITY, EX_WARN, EX_WRITE_CONN, exerrval, MAX_ERR_LENGTH, VAR_CONN, VAR_EBCONN, VAR_ECONN, VAR_FBCONN, and VAR_FCONN.
Referenced by ex_put_elem_conn().