ExodusII
5.15
|
Defines | |
#define | EX_WRITE_CONN(TNAME, VARCONN, VARCONNVAL) |
Functions | |
int | ex_put_conn (int exoid, ex_entity_type blk_type, ex_entity_id blk_id, const void_int *node_conn, const void_int *elem_edge_conn, const void_int *elem_face_conn) |
#define EX_WRITE_CONN | ( | TNAME, | |
VARCONN, | |||
VARCONNVAL | |||
) |
if (ex_int64_status(exoid) & EX_BULK_INT64_API) { \ status = nc_put_var_longlong(exoid, VARCONN, VARCONNVAL); \ } else { \ 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 %"PRId64" in file id %d", \ TNAME,blk_id,exoid); \ ex_err("ex_put_conn",errmsg, exerrval); \ return(EX_FATAL); \ }
write out the connectivity array
int ex_put_conn | ( | int | exoid, |
ex_entity_type | blk_type, | ||
ex_entity_id | blk_id, | ||
const void_int * | node_conn, | ||
const void_int * | elem_edge_conn, | ||
const void_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) |