Exodus 8.24
Loading...
Searching...
No Matches
exodusII.h
Go to the documentation of this file.
1/*
2 * Copyright(C) 1999-2024 National Technology & Engineering Solutions
3 * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
4 * NTESS, the U.S. Government retains certain rights in this software.
5 *
6 * See packages/seacas/LICENSE for details
7 */
8
9/*****************************************************************************
10 *
11 * exodusII.h - Exodus II API include file
12 *
13 *****************************************************************************/
14#pragma once
15
16#include "exodus_config.h"
17
18#include "netcdf.h"
19
20#if defined(NC_HAVE_META_H)
21#include "netcdf_meta.h"
22
23/* Bug in some versions of NetCDF where the netcdf_meta.h define of NC_HAS_SZIP_WRITE is bad */
24#if !defined(NC_HAS_SZIP_WRITE)
25#define NC_HAS_SZIP_WRITE 0
26#elif ~(~NC_HAS_SZIP_WRITE + 0) == 0 && ~(~NC_HAS_SZIP_WRITE + 1) == 1
27#undef NC_HAS_SZIP_WRITE
28#define NC_HAS_SZIP_WRITE 0
29#endif
30
31#if NC_HAS_PARALLEL
32#ifndef PARALLEL_AWARE_EXODUS
33#define PARALLEL_AWARE_EXODUS
34#endif
35#else
36#ifdef PARALLEL_AWARE_EXODUS
37#error "PARALLEL_AWARE_EXODUS defined, but NetCDF NC_HAS_PARALLEL is false"
38#endif
39#endif
40#endif
41
42#if defined(PARALLEL_AWARE_EXODUS)
43#include "netcdf_par.h"
44#endif
45
46#include <stddef.h>
47#include <stdint.h>
48#include <stdlib.h>
49
50/** Maximum length of name permitted by NetCDF */
51#define EX_MAX_NAME NC_MAX_NAME
52
53#ifndef NC_INT64
54#error "NetCDF version 4.1.2 or later is required."
55#endif
56
57/* EXODUS version number */
58#define EXODUS_VERSION "9.04"
59#define EXODUS_VERSION_MAJOR 9
60#define EXODUS_VERSION_MINOR 4
61#define EXODUS_RELEASE_DATE "November 5, 2024"
62
63#define EX_API_VERS 9.04f
64#define EX_API_VERS_NODOT (100 * EXODUS_VERSION_MAJOR + EXODUS_VERSION_MINOR)
65#define EX_VERS EX_API_VERS
66
67/* Retained for backward compatibility */
68#define NEMESIS_API_VERSION EX_API_VERS
69#define NEMESIS_API_VERSION_NODOT EX_API_VERS_NODOT
70#define NEMESIS_FILE_VERSION 2.6
71/*
72 * need following extern if this include file is used in a C++
73 * program, to keep the C++ compiler from mangling the function names.
74 */
75#ifdef __cplusplus
76extern "C" {
77#endif
78
79/*
80 * The following are miscellaneous constants used in the EXODUS
81 * API. They should already be defined, but are left over from the
82 * old days...
83 */
84#ifndef EX_TRUE
85#define EX_TRUE -1
86#endif
87
88#ifndef EX_FALSE
89#define EX_FALSE 0
90#endif
91
92/**
93 * \defgroup FileVars Variables controlling the file creation mode.
94 *@{
95 */
96/* Modes for ex_open */
97#define EX_WRITE 0x0001 /**< ex_open(): open existing file for appending. */
98#define EX_READ 0x0002 /**< ex_open(): open file for reading (default) */
99
100#define EX_NOCLOBBER 0x0004 /**< Don't overwrite existing database, default */
101#define EX_CLOBBER 0x0008 /**< Overwrite existing database if it exists */
102#define EX_NORMAL_MODEL 0x0010 /**< disable mods that permit storage of larger models */
103#define EX_64BIT_OFFSET 0x0020 /**< enable mods that permit storage of larger models */
104#define EX_LARGE_MODEL EX_64BIT_OFFSET /**< enable mods that permit storage of larger models */
105#define EX_64BIT_DATA 0x400000 /**< CDF-5 format: classic model but 64 bit dimensions and sizes */
106#define EX_NETCDF4 0x0040 /**< use the hdf5-based netcdf4 output */
107#define EX_NOSHARE 0x0080 /**< Do not open netcdf file in "share" mode */
108#define EX_SHARE 0x0100 /**< Do open netcdf file in "share" mode */
109#define EX_NOCLASSIC 0x0200 /**< Do not force netcdf to classic mode in netcdf4 mode */
110
111#define EX_DISKLESS 0x100000 /**< Experimental */
112#define EX_MMAP 0x200000 /**< Experimental */
113
114/* Need to distinguish between storage on database (DB in name) and
115 passed through the API functions (API in name).
116*/
117#define EX_MAPS_INT64_DB 0x0400 /**< All maps (id, order, ...) store int64_t values */
118#define EX_IDS_INT64_DB 0x0800 /**< All entity ids (sets, blocks, maps) are int64_t values */
119#define EX_BULK_INT64_DB \
120 0x1000 /**< All integer bulk data (local indices, counts, maps); not ids \
121 */
122#define EX_ALL_INT64_DB \
123 (EX_MAPS_INT64_DB | EX_IDS_INT64_DB | EX_BULK_INT64_DB) /**< All of the above... */
124
125#define EX_MAPS_INT64_API 0x2000 /**< All maps (id, order, ...) store int64_t values */
126#define EX_IDS_INT64_API 0x4000 /**< All entity ids (sets, blocks, maps) are int64_t values */
127#define EX_BULK_INT64_API \
128 0x8000 /**< All integer bulk data (local indices, counts, maps); not ids */
129#define EX_INQ_INT64_API 0x10000 /**< Integers passed to/from ex_inquire() are int64_t */
130#define EX_ALL_INT64_API \
131 (EX_MAPS_INT64_API | EX_IDS_INT64_API | EX_BULK_INT64_API | \
132 EX_INQ_INT64_API) /**< All of the above... */
133
134/* Parallel IO mode flags... */
135#define EX_MPIIO 0x20000
136#define EX_MPIPOSIX 0x40000 /**< \deprecated As of libhdf5 1.8.13. */
137#define EX_PNETCDF 0x80000
138
139/** @}*/
140
141/*! \sa ex_inquire() All inquiries return an integer of the current database integer size unless
142 * otherwise noted. */
144 EX_INQ_FILE_TYPE = 1, /**< EXODUS file type (deprecated) */
145 EX_INQ_API_VERS = 2, /**< API version number (float) */
146 EX_INQ_DB_VERS = 3, /**< database version number (float) */
147 EX_INQ_TITLE = 4, /**< database title. MAX_LINE_LENGTH+1 char* size */
148 EX_INQ_DIM = 5, /**< number of dimensions */
149 EX_INQ_NODES = 6, /**< number of nodes */
150 EX_INQ_ELEM = 7, /**< number of elements */
151 EX_INQ_ELEM_BLK = 8, /**< number of element blocks */
152 EX_INQ_NODE_SETS = 9, /**< number of node sets*/
153 EX_INQ_NS_NODE_LEN = 10, /**< length of node set node list */
154 EX_INQ_SIDE_SETS = 11, /**< number of side sets*/
155 EX_INQ_SS_NODE_LEN = 12, /**< length of side set node list */
156 EX_INQ_SS_ELEM_LEN = 13, /**< length of side set element list */
157 EX_INQ_QA = 14, /**< number of QA records */
158 EX_INQ_INFO = 15, /**< number of info records */
159 EX_INQ_TIME = 16, /**< number of time steps in the database */
160 EX_INQ_EB_PROP = 17, /**< number of element block properties */
161 EX_INQ_NS_PROP = 18, /**< number of node set properties */
162 EX_INQ_SS_PROP = 19, /**< number of side set properties */
163 EX_INQ_NS_DF_LEN = 20, /**< length of node set distribution factor list*/
164 EX_INQ_SS_DF_LEN = 21, /**< length of side set distribution factor list*/
165 EX_INQ_LIB_VERS = 22, /**< API Lib vers number (float) */
166 EX_INQ_EM_PROP = 23, /**< number of element map properties */
167 EX_INQ_NM_PROP = 24, /**< number of node map properties */
168 EX_INQ_ELEM_MAP = 25, /**< number of element maps */
169 EX_INQ_NODE_MAP = 26, /**< number of node maps*/
170 EX_INQ_EDGE = 27, /**< number of edges */
171 EX_INQ_EDGE_BLK = 28, /**< number of edge blocks */
172 EX_INQ_EDGE_SETS = 29, /**< number of edge sets */
173 EX_INQ_ES_LEN = 30, /**< length of concat edge set edge list */
174 EX_INQ_ES_DF_LEN = 31, /**< length of concat edge set dist factor list*/
175 EX_INQ_EDGE_PROP = 32, /**< number of properties stored per edge block */
176 EX_INQ_ES_PROP = 33, /**< number of properties stored per edge set */
177 EX_INQ_FACE = 34, /**< number of faces */
178 EX_INQ_FACE_BLK = 35, /**< number of face blocks */
179 EX_INQ_FACE_SETS = 36, /**< number of face sets */
180 EX_INQ_FS_LEN = 37, /**< length of concat face set face list */
181 EX_INQ_FS_DF_LEN = 38, /**< length of concat face set dist factor list*/
182 EX_INQ_FACE_PROP = 39, /**< number of properties stored per face block */
183 EX_INQ_FS_PROP = 40, /**< number of properties stored per face set */
184 EX_INQ_ELEM_SETS = 41, /**< number of element sets */
185 EX_INQ_ELS_LEN = 42, /**< length of concat element set element list */
186 EX_INQ_ELS_DF_LEN = 43, /**< length of concat element set dist factor list*/
187 EX_INQ_ELS_PROP = 44, /**< number of properties stored per elem set */
188 EX_INQ_EDGE_MAP = 45, /**< number of edge maps */
189 EX_INQ_FACE_MAP = 46, /**< number of face maps */
190 EX_INQ_COORD_FRAMES = 47, /**< number of coordinate frames */
191 EX_INQ_DB_MAX_ALLOWED_NAME_LENGTH = 48, /**< size of MAX_NAME_LENGTH dimension on database */
192 EX_INQ_DB_MAX_USED_NAME_LENGTH = 49, /**< size of MAX_NAME_LENGTH dimension on database */
193 EX_INQ_MAX_READ_NAME_LENGTH = 50, /**< client-specified max size of returned names */
194
195 EX_INQ_DB_FLOAT_SIZE = 51, /**< size of floating-point values stored on database */
196 EX_INQ_NUM_CHILD_GROUPS = 52, /**< number of groups contained in this (exoid) group */
197 EX_INQ_GROUP_PARENT = 53, /**< id of parent of this (exoid) group; returns exoid if at root */
199 54, /**< id of root group "/" of this (exoid) group; returns exoid if at root */
200 EX_INQ_GROUP_NAME_LEN = 55, /**< length of name of group exoid */
202 56, /**< name of group exoid. "/" returned for root group (char* GROUP_NAME_LEN+1 size) */
203 EX_INQ_FULL_GROUP_NAME_LEN = 57, /**< length of full path name of this (exoid) group */
204 EX_INQ_FULL_GROUP_NAME = 58, /**< full "/"-separated path name of this (exoid) group */
205 EX_INQ_THREADSAFE = 59, /**< Returns 1 if library is thread-safe; 0 otherwise */
206 EX_INQ_ASSEMBLY = 60, /**< number of assemblies */
207 EX_INQ_BLOB = 61, /**< number of blobs */
208 EX_INQ_NUM_NODE_VAR = 62, /**< number of nodal variables */
209 EX_INQ_NUM_EDGE_BLOCK_VAR = 63, /**< number of edge block variables */
210 EX_INQ_NUM_FACE_BLOCK_VAR = 64, /**< number of face block variables */
211 EX_INQ_NUM_ELEM_BLOCK_VAR = 65, /**< number of element block variables */
212 EX_INQ_NUM_NODE_SET_VAR = 66, /**< number of node set variables */
213 EX_INQ_NUM_EDGE_SET_VAR = 67, /**< number of edge set variables */
214 EX_INQ_NUM_FACE_SET_VAR = 68, /**< number of face set variables */
215 EX_INQ_NUM_ELEM_SET_VAR = 69, /**< number of element set variables */
216 EX_INQ_NUM_SIDE_SET_VAR = 70, /**< number of sideset variables */
217 EX_INQ_NUM_GLOBAL_VAR = 71, /**< number of global variables */
218 EX_INQ_FILE_FORMAT = 72, /**< netCDF file format */
219 EX_INQ_INVALID = -1
221
223
224/* Options */
225/**
226 * \defgroup FileOptions Variables controlling the compression, name size, and integer size.
227 *@{
228 */
229/*! Modes for ex_set_option()
230
231The compression-related options are only available on netcdf-4 files
232since the underlying hdf5 compression functionality is used for the
233implementation. The compression level indicates how much effort should
234be expended in the compression and the computational expense increases
235with higher levels; in many cases, a compression level of 1 is
236sufficient.
237
238SZIP-based compression is typically faster than ZLIB, but may not
239be as widely available as ZLIB. SZIP is also only supported in
240NetCDF-4.?.? and later
241*/
242
245 1, /**< Maximum length of names that will be returned/passed via api call. */
246 EX_OPT_COMPRESSION_TYPE, /**< Default is gzip */
247 EX_OPT_COMPRESSION_LEVEL, /**< Range depends on compression type. */
248 EX_OPT_COMPRESSION_SHUFFLE, /**< 1 if enabled, 0 if disabled */
249 EX_OPT_QUANTIZE_NSD, /**< if > 0, Number of significant digits to retain in lossy quantize
250 compression */
251 EX_OPT_INTEGER_SIZE_API, /**< 4 or 8 indicating byte size of integers used in api functions. */
252 EX_OPT_INTEGER_SIZE_DB, /**< Query only, returns 4 or 8 indicating byte size of integers stored
253 on the database. */
254};
256
258 EX_COMPRESS_ZLIB = 1, /**< Use ZLIB-based compression (if available) */
259 EX_COMPRESS_GZIP = 1, /**< Same as ZLIB, but typical alias used */
260 EX_COMPRESS_SZIP, /**< Use SZIP-based compression (if available) */
261 EX_COMPRESS_ZSTD, /**< Use ZStandard compression (if available) */
262 EX_COMPRESS_BZ2, /**< Use BZ2 / Bzip2 compression (if available) */
263};
265/** @}*/
266
268 EX_NODAL = 14, /**< nodal "block" for variables*/
269 EX_NODE_BLOCK = 14, /**< alias for EX_NODAL */
270 EX_NODE_SET = 2, /**< node set property code */
271 EX_EDGE_BLOCK = 6, /**< edge block property code */
272 EX_EDGE_SET = 7, /**< edge set property code */
273 EX_FACE_BLOCK = 8, /**< face block property code */
274 EX_FACE_SET = 9, /**< face set property code */
275 EX_ELEM_BLOCK = 1, /**< element block property code*/
276 EX_ELEM_SET = 10, /**< face set property code */
277
278 EX_SIDE_SET = 3, /**< side set property code */
279
280 EX_ELEM_MAP = 4, /**< element map property code */
281 EX_NODE_MAP = 5, /**< node map property code */
282 EX_EDGE_MAP = 11, /**< edge map property code */
283 EX_FACE_MAP = 12, /**< face map property code */
284
285 EX_GLOBAL = 13, /**< global "block" for variables*/
286 EX_COORDINATE = 15, /**< kluge so some internal wrapper functions work */
287 EX_ASSEMBLY = 16, /**< assembly property code */
288 EX_BLOB = 17, /**< blob property code */
289 EX_INVALID = -1
292
323
324#define EX_MAX_FIELD_NESTING 2
325typedef struct ex_field
326{
328 int64_t entity_id;
329 char name[EX_MAX_NAME + 1]; /* Name of the field */
330 /*
331 * For basis, user, quadrature -- what is name of the subtype. This
332 * is a comma-separated list of `nesting` names Use two consecutive
333 * commas for an empty type_name. Leave empty if no type_names
334 */
335 int nesting; /* Number of composite fields (vector at each quadrature point = 2) */
337 ex_field_type type[EX_MAX_FIELD_NESTING]; /* ex_field_type of each nested field */
338 int cardinality[EX_MAX_FIELD_NESTING]; /* 0 to calculate based on type */
339 char component_separator[EX_MAX_FIELD_NESTING]; /* empty defaults to '_'; */
340 char suffices[EX_MAX_NAME + 1]; /* Optional comma-separated list of suffices if type is
341 EX_FIELD_TYPE_USER_DEFINED */
343
344typedef struct ex_basis
345{
346 /*
347 clang-format off
348 *
349 * subc_dim: dimension of the subcell associated with the specified DoF ordinal
350 * -- 0 node, 1 edge, 2 face, 3 volume [Range: 0..3]
351 * subc_ordinal: ordinal of the subcell relative to its parent cell
352 * -- 0..n for each ordinal with the same subc dim [Range: <= DoF ordinal]
353 * subc_dof_ordinal: ordinal of the DoF relative to the subcell
354 * subc_num_dof: cardinality of the DoF set associated with this subcell.
355 * xi, eta, mu (ξ, η, ζ): Parametric coordinate location of the DoF
356 * -- (Only first ndim values are valid)
357 *
358 clang-format on
359 */
360
361 char name[EX_MAX_NAME + 1];
362 int cardinality; /* number of `basis` points == dimension of non-null subc_*, xi, eta, mu */
367 double *xi;
368 double *eta;
369 double *zeta;
371
372typedef struct ex_quadrature
373{
374 char name[EX_MAX_NAME + 1];
375 int cardinality; /* Number of quadrature points */
376 int dimension; /* 1,2,3 -- spatial dimension of points */
377 double *xi; /* xi (x) coordinate of points; dimension = cardinality or NULL */
378 double *
379 eta; /* eta (y) coordinate of points; dimension = cardinality if dimension = 2 or 3 or NULL */
380 double
381 *zeta; /* zeta (z) coordinate of points; dimension = cardinality if dimension == 3. or NULL */
382 double *weight; /* weights for each point; dimension = cardinality or NULL */
384
385/*!
386 * ex_opts() function codes - codes are OR'ed into exopts
387 */
390 EX_VERBOSE = 1, /**< verbose mode message flag */
391 EX_DEBUG = 2, /**< debug mode def */
392 EX_ABORT = 4, /**< abort mode flag def */
393 EX_NULLVERBOSE = 8 /**< verbose mode for null entity detection warning */
396
397/** The value used to indicate that an entity (block, nset, sset)
398 has not had its id set to a valid value
399*/
400#define EX_INVALID_ID -1
401
402/**
403 * \defgroup StringLengths maximum string lengths;
404 * constants that are used as netcdf dimensions must be of type long
405 * @{
406 */
407
408/** Maximum length of QA record, element type name */
409#define MAX_STR_LENGTH 32L
410/** Default maximum length of an entity name, attribute name, variable name.
411 Can be changed via a call to ex_set_option() */
412#define MAX_NAME_LENGTH MAX_STR_LENGTH
413
414/** Maximum length of the database title or an information record */
415#define MAX_LINE_LENGTH 80L
416/** Maximum length of an error message passed to ex_err() function. Typically, internal use only */
417#define MAX_ERR_LENGTH 512
418/** @} */
419
420/** Specifies that this argument is the id of an entity: element block, nodeset, sideset, ... */
421typedef int64_t ex_entity_id;
422
423/** The mechanism for passing double/float and int/int64_t both use a
424 void*; to avoid some confusion as to whether a function takes an
425 integer or a float/double, the following typedef is used for the
426 integer argument
427*/
428typedef void void_int;
429
430/**
431 * \defgroup APIStructs Structures used by external API functions.
432 * ex_put_init_ext(), ex_get_init_ext(), ex_get_block_param(), ex_put_block_param(),
433 * ex_get_block_params(), ex_put_block_params(), ex_put_concat_all_blocks(),
434 * ex_put_concat_sets(), ex_get_concat_sets(), ex_put_sets(), ex_get_sets()
435 * @{
436 */
460
461enum ex_type { EX_INTEGER = NC_INT, EX_DOUBLE = NC_DOUBLE, EX_CHAR = NC_CHAR };
462
463typedef enum ex_type ex_type;
464
465typedef struct ex_attribute
466{
468 int64_t entity_id;
469 char name[EX_MAX_NAME + 1];
470 ex_type type; /* int, double, text */
472 void *values; /* not accessed if NULL */
474
475typedef struct ex_blob
476{
478 char *name;
479 int64_t num_entry;
481
482typedef struct ex_assembly
483{
485 char *name;
486 ex_entity_type type; /* EX_ELEM_BLOCK or EX_ASSEMBLY */
490
502
513
535
547
569/** @} */
570
571#ifndef EXODUS_EXPORT
572#if defined(_WIN32) && defined(exodus_shared_EXPORTS)
573#define EXODUS_EXPORT __declspec(dllexport)
574#endif
575#endif /* EXODUS_EXPORT */
576
577#ifndef EXODUS_EXPORT
578#define EXODUS_EXPORT extern
579#endif /* EXODUS_EXPORT */
580
581/*!
582 * \addtogroup Utilities
583 * @{
584 */
585/* routines for file initialization i/o */
586EXODUS_EXPORT int ex_close(int exoid);
587
588EXODUS_EXPORT int ex_copy(int in_exoid, int out_exoid);
589EXODUS_EXPORT int ex_copy_transient(int in_exoid, int out_exoid);
590
591#define ex_create(path, mode, comp_ws, io_ws) \
592 ex_create_int(path, mode, comp_ws, io_ws, EX_API_VERS_NODOT)
593
594EXODUS_EXPORT int ex_create_int(const char *rel_path, int cmode, int *comp_ws, int *io_ws,
595 int run_version);
596
597#define ex_open(path, mode, comp_ws, io_ws, version) \
598 ex_open_int(path, mode, comp_ws, io_ws, version, EX_API_VERS_NODOT)
599
600EXODUS_EXPORT int ex_open_int(const char *rel_path, int mode, int *comp_ws, int *io_ws,
601 float *version, int run_version);
602
603#if defined(PARALLEL_AWARE_EXODUS)
604#define ex_create_par(path, mode, comp_ws, io_ws, comm, info) \
605 ex_create_par_int(path, mode, comp_ws, io_ws, comm, info, EX_API_VERS_NODOT)
606
607EXODUS_EXPORT int ex_create_par_int(const char *rel_path, int cmode, int *comp_ws, int *io_ws,
608 MPI_Comm comm, MPI_Info info, int my_version);
609
610#define ex_open_par(path, mode, comp_ws, io_ws, version, comm, info) \
611 ex_open_par_int(path, mode, comp_ws, io_ws, version, comm, info, EX_API_VERS_NODOT)
612
613EXODUS_EXPORT int ex_open_par_int(const char *rel_path, int mode, int *comp_ws, int *io_ws,
614 float *version, MPI_Comm comm, MPI_Info info, int my_version);
615#endif
616
617EXODUS_EXPORT int ex_get_group_id(int parent_id, const char *group_name, int *group_id);
618
619EXODUS_EXPORT int ex_get_group_ids(int parent_id, int *num_groups, int *group_ids);
620
621EXODUS_EXPORT int ex_get_info(int exoid, char **info);
622
623EXODUS_EXPORT int ex_get_qa(int exoid, char *qa_record[][4]);
624EXODUS_EXPORT int ex_put_info(int exoid, int num_info, char *const info[]);
625
626EXODUS_EXPORT int ex_put_qa(int exoid, int num_qa_records, char *qa_record[][4]);
627
628EXODUS_EXPORT int ex_update(int exoid);
629EXODUS_EXPORT int ex_get_num_props(int exoid, ex_entity_type obj_type);
630EXODUS_EXPORT int ex_large_model(int exoid);
631EXODUS_EXPORT size_t ex_header_size(int exoid);
632
633EXODUS_EXPORT void ex_err(const char *module_name, const char *message, int err_num);
634EXODUS_EXPORT void ex_err_fn(int exoid, const char *module_name, const char *message, int err_num);
635EXODUS_EXPORT void ex_set_err(const char *module_name, const char *message, int err_num);
636EXODUS_EXPORT const char *ex_strerror(int err_num);
637EXODUS_EXPORT void ex_get_err(const char **msg, const char **func, int *err_num);
638EXODUS_EXPORT int ex_opts(int options);
639EXODUS_EXPORT int ex_inquire(int exoid, ex_inquiry req_info, void_int *ret_int, float *ret_float,
640 char *ret_char);
641EXODUS_EXPORT int64_t ex_inquire_int(int exoid, ex_inquiry req_info);
642EXODUS_EXPORT unsigned ex_int64_status(int exoid);
643EXODUS_EXPORT int ex_set_int64_status(int exoid, int mode);
644
646EXODUS_EXPORT const char *ex_config(void);
647
648EXODUS_EXPORT int ex_set_max_name_length(int exoid, int length);
649
650EXODUS_EXPORT int ex_set_option(int exoid, ex_option_type option, int option_value);
651
652EXODUS_EXPORT int ex_cvt_nodes_to_sides(int exoid, void_int *num_elem_per_set,
653 void_int *num_nodes_per_set, void_int *side_sets_elem_index,
654 void_int *side_sets_node_index,
655 void_int *side_sets_elem_list,
656 void_int *side_sets_node_list,
657 void_int *side_sets_side_list);
658/*! @} */
659
660/*!
661 * \addtogroup ResultsData
662 * @{
663 */
664
665EXODUS_EXPORT int ex_get_time(int exoid, int time_step, void *time_value);
666
667EXODUS_EXPORT int ex_get_variable_names(int exoid, ex_entity_type obj_type, int num_vars,
668 char *var_names[]);
669EXODUS_EXPORT int ex_get_variable_name(int exoid, ex_entity_type obj_type, int var_num,
670 char *var_name);
671
672EXODUS_EXPORT int ex_get_variable_param(int exoid, ex_entity_type obj_type, int *num_vars);
673
674EXODUS_EXPORT int ex_get_reduction_variable_names(int exoid, ex_entity_type obj_type, int num_vars,
675 char *var_names[]);
676EXODUS_EXPORT int ex_get_reduction_variable_name(int exoid, ex_entity_type obj_type, int var_num,
677 char *var_name);
678
680 int *num_vars);
681
683 ex_entity_id entity_id, int num_var, int *var_vec);
684
685EXODUS_EXPORT int ex_get_truth_table(int exoid, ex_entity_type obj_type, int num_blk, int num_var,
686 int *var_tab);
687
688EXODUS_EXPORT int ex_put_all_var_param(int exoid, int num_g, int num_n, int num_e,
689 const int *elem_var_tab, int num_m, const int *nset_var_tab,
690 int num_s, const int *sset_var_tab);
691
692EXODUS_EXPORT int ex_put_time(int exoid, int time_step, const void *time_value);
693
694EXODUS_EXPORT int ex_get_all_times(int exoid, void *time_values);
695
696EXODUS_EXPORT int ex_put_variable_name(int exoid, ex_entity_type obj_type, int var_num,
697 const char *var_name);
698
699EXODUS_EXPORT int ex_put_variable_names(int exoid, ex_entity_type obj_type, int num_vars,
700 char *const var_names[]);
701
702EXODUS_EXPORT int ex_put_variable_param(int exoid, ex_entity_type obj_type, int num_vars);
703
704EXODUS_EXPORT int ex_put_reduction_variable_name(int exoid, ex_entity_type obj_type, int var_num,
705 const char *var_name);
706
707EXODUS_EXPORT int ex_put_reduction_variable_names(int exoid, ex_entity_type obj_type, int num_vars,
708 char *const var_names[]);
709
710EXODUS_EXPORT int ex_put_reduction_variable_param(int exoid, ex_entity_type obj_type, int num_vars);
711
712EXODUS_EXPORT int ex_put_truth_table(int exoid, ex_entity_type obj_type, int num_blk, int num_var,
713 const int *var_tab);
714
715/* (MODIFIED) Write All Results Variables Parameters */
717
718/* Write Edge Face or Element Variable Values on Blocks or Sets at a Time Step */
719EXODUS_EXPORT int ex_put_var(int exoid, int time_step, ex_entity_type var_type, int var_index,
720 ex_entity_id obj_id, int64_t num_entries_this_obj,
721 const void *var_vals);
722
723/* Write Edge Face or Element Variable Values Defined On Blocks or Sets Through Time */
724EXODUS_EXPORT int ex_put_var_multi_time(int exoid, ex_entity_type var_type, int var_index,
725 ex_entity_id obj_id, int64_t num_entries_this_obj,
726 int beg_time_step, int end_time_step, const void *var_vals);
727
728/* Write Partial Edge Face or Element Variable Values on Blocks or Sets at a Time Step */
729EXODUS_EXPORT int ex_put_partial_var(int exoid, int time_step, ex_entity_type var_type,
730 int var_index, ex_entity_id obj_id, int64_t start_index,
731 int64_t num_entities, const void *var_vals);
732
733/* Write Edge Face or Element Reduction Variable Values on Blocks or Sets at a Time Step */
734EXODUS_EXPORT int ex_put_reduction_vars(int exoid, int time_step, ex_entity_type obj_type,
735 ex_entity_id obj_id, int64_t num_variables,
736 const void *var_vals);
737
738/* Read Edge Face or Element Variable Values Defined On Blocks or Sets at a Time Step */
739EXODUS_EXPORT int ex_get_var(int exoid, int time_step, ex_entity_type var_type, int var_index,
740 ex_entity_id obj_id, int64_t num_entry_this_obj, void *var_vals);
741
742/* Read Edge Face or Element Variable Values Defined On Blocks or Sets at a Time Step */
743EXODUS_EXPORT int ex_get_var_multi_time(int exoid, ex_entity_type var_type, int var_index,
744 ex_entity_id obj_id, int64_t num_entry_this_obj,
745 int beg_time_step, int end_time_step, void *var_vals);
746
747/* Read Edge Face or Element Variable Values Defined On Blocks or Sets Through Time */
748EXODUS_EXPORT int ex_get_var_time(int exoid, ex_entity_type var_type, int var_index,
749 ex_entity_id id, int beg_time_step, int end_time_step,
750 void *var_vals);
751
752/* Read Partial Edge Face or Element Variable Values on Blocks or Sets at a Time Step */
753EXODUS_EXPORT int ex_get_partial_var(int exoid, int time_step, ex_entity_type var_type,
754 int var_index, ex_entity_id obj_id, int64_t start_index,
755 int64_t num_entities, void *var_vals);
756
757/* Read Edge Face or Element Reduction Variable Values Defined On Blocks or Sets at a Time Step */
758EXODUS_EXPORT int ex_get_reduction_vars(int exoid, int time_step, ex_entity_type obj_type,
759 ex_entity_id obj_id, int64_t num_variables, void *var_vals);
760
761/*! @} */
762
763/* ========================================================================
764 Functions pulled from nemesis library and incorporated into exodus...
765*/
766/*=============================================================================
767 * Initial Information Routines
768 *===========================================================================*/
769EXODUS_EXPORT int ex_get_init_info(int exoid, /* NemesisI file ID */
770 int *num_proc, /* Number of processors */
771 int *num_proc_in_f, /* Number of procs in this file */
772 char *ftype);
773
774EXODUS_EXPORT int ex_put_init_info(int exoid, /* NemesisI file ID */
775 int num_proc, /* Number of processors */
776 int num_proc_in_f, /* Number of procs in this file */
777 const char *ftype);
778
779EXODUS_EXPORT int ex_get_init_global(int exoid, /* NemesisI file ID */
780 void_int *num_nodes_g, /* Number of global FEM nodes */
781 void_int *num_elems_g, /* Number of global FEM elements */
782 void_int *num_elem_blks_g, /* Number of global elem blocks */
783 void_int *num_node_sets_g, /* Number of global node sets */
784 void_int *num_side_sets_g /* Number of global side sets */
785);
786EXODUS_EXPORT int ex_put_init_global(int exoid, /* NemesisI file ID */
787 int64_t num_nodes_g, /* Number of global FEM nodes */
788 int64_t num_elems_g, /* Number of global FEM elements */
789 int64_t num_elem_blks_g, /* Number of global elem blocks */
790 int64_t num_node_sets_g, /* Number of global node sets */
791 int64_t num_side_sets_g /* Number of global side sets */
792);
793
794/*=============================================================================
795 * Loadbalance Parameter Routines
796 *===========================================================================*/
797EXODUS_EXPORT int ex_get_loadbal_param(int exoid, /* NetCDF/Exodus file ID */
798 void_int *num_int_nodes, /* Number of internal FEM nodes */
799 void_int *num_bor_nodes, /* Number of border FEM nodes */
800 void_int *num_ext_nodes, /* Number of external FEM nodes */
801 void_int *num_int_elems, /* Number of internal FEM elems */
802 void_int *num_bor_elems, /* Number of border FEM elems */
803 void_int *num_node_cmaps, /* Number of nodal comm maps */
804 void_int *num_elem_cmaps, /* Number of elemental comm maps */
805 int processor /* Processor ID */
806);
807
808EXODUS_EXPORT int ex_put_loadbal_param(int exoid, /* NemesisI file ID */
809 int64_t num_int_nodes, /* Number of internal FEM nodes */
810 int64_t num_bor_nodes, /* Number of border FEM nodes */
811 int64_t num_ext_nodes, /* Number of external FEM nodes */
812 int64_t num_int_elems, /* Number of internal FEM elems */
813 int64_t num_bor_elems, /* Number of border FEM elems */
814 int64_t num_node_cmaps, /* Number of nodal comm maps */
815 int64_t num_elem_cmaps, /* Number of elemental comm maps */
816 int processor /* Processor ID */
817);
818
820ex_put_loadbal_param_cc(int exoid, /* NetCDF/Exodus file ID */
821 const void_int *num_int_nodes, /* Number of internal node IDs */
822 const void_int *num_bor_nodes, /* Number of border node IDs */
823 const void_int *num_ext_nodes, /* Number of external node IDs */
824 const void_int *num_int_elems, /* Number of internal elem IDs */
825 const void_int *num_bor_elems, /* Number of border elem IDs */
826 const void_int *num_node_cmaps, /* Number of nodal comm maps */
827 const void_int *num_elem_cmaps /* Number of elem comm maps */
828);
829
830/* Utility function to replace strncpy, strcpy -- guarantee null termination */
831char *ex_copy_string(char *dest, char const *source, size_t elements);
832
833/*!
834 * \addtogroup ModelDescription
835 * @{
836 */
837EXODUS_EXPORT int ex_create_group(int parent_id, const char *group_name);
838
839EXODUS_EXPORT int ex_get_coord_names(int exoid, char **coord_names);
840
841EXODUS_EXPORT int ex_get_coord(int exoid, void *x_coor, void *y_coor, void *z_coor);
842
843EXODUS_EXPORT int ex_get_partial_coord_component(int exoid, int64_t start_node_num,
844 int64_t num_nodes, int component, void *coor);
845
846EXODUS_EXPORT int ex_get_partial_coord(int exoid, int64_t start_node_num, int64_t num_nodes,
847 void *x_coor, void *y_coor, void *z_coor);
848
849EXODUS_EXPORT int ex_get_ids(int exoid, ex_entity_type obj_type, void_int *ids);
850
851EXODUS_EXPORT int ex_get_coordinate_frames(int exoid, int *nframes, void_int *cf_ids,
852 void *pt_coordinates, char *tags);
853
854EXODUS_EXPORT int ex_put_init_ext(int exoid, const ex_init_params *model);
855
856EXODUS_EXPORT int ex_get_init_ext(int exoid, ex_init_params *info);
857
858EXODUS_EXPORT int ex_get_init(int exoid, char *title, void_int *num_dim, void_int *num_nodes,
859 void_int *num_elem, void_int *num_elem_blk, void_int *num_node_sets,
860 void_int *num_side_sets);
861
862EXODUS_EXPORT int ex_put_init(int exoid, const char *title, int64_t num_dim, int64_t num_nodes,
863 int64_t num_elem, int64_t num_elem_blk, int64_t num_node_sets,
864 int64_t num_side_sets);
865
866EXODUS_EXPORT int ex_get_map(int exoid, void_int *elem_map);
867
868EXODUS_EXPORT int ex_get_map_param(int exoid, int *num_node_maps, int *num_elem_maps);
869
871 char *name);
872
873EXODUS_EXPORT int ex_get_names(int exoid, ex_entity_type obj_type, char **names);
874
875EXODUS_EXPORT int ex_get_prop_array(int exoid, ex_entity_type obj_type, const char *prop_name,
876 void_int *values);
877
878EXODUS_EXPORT int ex_get_prop(int exoid, ex_entity_type obj_type, ex_entity_id obj_id,
879 const char *prop_name, void_int *value);
880
882 int64_t ent_start, int64_t ent_count, void_int *map);
883
884EXODUS_EXPORT int ex_get_prop_names(int exoid, ex_entity_type obj_type, char **prop_names);
885
886EXODUS_EXPORT int ex_add_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id,
887 int64_t num_attr_per_entry);
888
889EXODUS_EXPORT int ex_put_attr_param(int exoid, ex_entity_type obj_type, ex_entity_id obj_id,
890 int num_attrs);
891
892EXODUS_EXPORT int ex_get_attr_param(int exoid, ex_entity_type obj_type, ex_entity_id obj_id,
893 int *num_attrs);
894
895EXODUS_EXPORT int ex_put_concat_elem_block(int exoid, const void_int *elem_blk_id,
896 char *const elem_type[],
897 const void_int *num_elem_this_blk,
898 const void_int *num_nodes_per_elem,
899 const void_int *num_attr_this_blk, int define_maps);
900
901EXODUS_EXPORT int ex_put_coord_names(int exoid, char *const coord_names[]);
902
903EXODUS_EXPORT int ex_put_coord(int exoid, const void *x_coor, const void *y_coor,
904 const void *z_coor);
905
906EXODUS_EXPORT int ex_put_partial_coord_component(int exoid, int64_t start_node_num,
907 int64_t num_nodes, int component,
908 const void *coor);
909
910EXODUS_EXPORT int ex_put_partial_coord(int exoid, int64_t start_node_num, int64_t num_nodes,
911 const void *x_coor, const void *y_coor, const void *z_coor);
912
913EXODUS_EXPORT int ex_put_map(int exoid, const void_int *elem_map);
914
915EXODUS_EXPORT int ex_put_id_map(int exoid, ex_entity_type map_type, const void_int *map);
916
918 int64_t start_entity_num, int64_t num_entities,
919 const void_int *map);
920
921EXODUS_EXPORT int ex_get_id_map(int exoid, ex_entity_type map_type, void_int *map);
922
924 int64_t start_entity_num, int64_t num_entities,
925 void_int *map);
926
928 void_int *map);
929
930EXODUS_EXPORT int ex_put_coordinate_frames(int exoid, int nframes, const void_int *cf_ids,
931 const void *pt_coordinates, const char *tags);
932
933EXODUS_EXPORT int ex_put_map_param(int exoid, int num_node_maps, int num_elem_maps);
934
936 const char *name);
937
938EXODUS_EXPORT int ex_put_names(int exoid, ex_entity_type obj_type, char *const names[]);
939
941 int64_t start_num, int64_t num_ent, int attrib_index,
942 const void *attrib);
943
944EXODUS_EXPORT int ex_put_prop(int exoid, ex_entity_type obj_type, ex_entity_id obj_id,
945 const char *prop_name, ex_entity_id value);
946
947EXODUS_EXPORT int ex_put_prop_array(int exoid, ex_entity_type obj_type, const char *prop_name,
948 const void_int *values);
949
950EXODUS_EXPORT int ex_put_prop_names(int exoid, ex_entity_type obj_type, int num_props,
951 char **prop_names);
952
953/* Write Node Edge Face or Element Number Map */
954EXODUS_EXPORT int ex_put_num_map(int exoid, ex_entity_type map_type, ex_entity_id map_id,
955 const void_int *map);
956
957/* Read Number Map */
958EXODUS_EXPORT int ex_get_num_map(int exoid, ex_entity_type map_type, ex_entity_id map_id,
959 void_int *map);
960
961/* Write Edge Face or Element Block Parameters */
962EXODUS_EXPORT int ex_put_block(int exoid, ex_entity_type blk_type, ex_entity_id blk_id,
963 const char *entry_descrip, int64_t num_entries_this_blk,
964 int64_t num_nodes_per_entry, int64_t num_edges_per_entry,
965 int64_t num_faces_per_entry, int64_t num_attr_per_entry);
966
967EXODUS_EXPORT int ex_get_block(int exoid, ex_entity_type blk_type, ex_entity_id blk_id,
968 char *elem_type, void_int *num_entries_this_blk,
969 void_int *num_nodes_per_entry, void_int *num_edges_per_entry,
970 void_int *num_faces_per_entry, void_int *num_attr_per_entry);
971
972/* Read Edge Face or Element Block Parameters */
973EXODUS_EXPORT int ex_get_block_param(int exoid, ex_block *block);
974
975EXODUS_EXPORT int ex_put_block_param(int exoid, const ex_block block);
976
977EXODUS_EXPORT int ex_get_block_params(int exoid, size_t block_count, struct ex_block **blocks);
978
979EXODUS_EXPORT int ex_put_block_params(int exoid, size_t block_count, const struct ex_block *blocks);
980
981/* Write All Edge Face and Element Block Parameters */
982EXODUS_EXPORT int ex_put_concat_all_blocks(int exoid, const ex_block_params *param);
983
985 ex_entity_id blk_id, const int *entity_counts);
986
988 ex_entity_id blk_id, int *entity_counts);
989
990/* Write Edge Face or Element Block Connectivity */
991EXODUS_EXPORT int ex_put_conn(int exoid, ex_entity_type blk_type, ex_entity_id blk_id,
992 const void_int *node_conn, const void_int *elem_edge_conn,
993 const void_int *elem_face_conn);
994
995/* Read Edge Face or Element Block Connectivity */
996EXODUS_EXPORT int ex_get_conn(int exoid, ex_entity_type blk_type, ex_entity_id blk_id,
997 void_int *nodeconn, void_int *edgeconn, void_int *faceconn);
998
999EXODUS_EXPORT int ex_get_partial_conn(int exoid, ex_entity_type blk_type, ex_entity_id blk_id,
1000 int64_t start_num, int64_t num_ent, void_int *nodeconn,
1001 void_int *edgeconn, void_int *faceconn);
1002
1003EXODUS_EXPORT int ex_put_partial_conn(int exoid, ex_entity_type blk_type, ex_entity_id blk_id,
1004 int64_t start_num, int64_t num_ent, const void_int *nodeconn,
1005 const void_int *edgeconn, const void_int *faceconn);
1006
1007/* Write Edge Face or Element Block Attributes */
1008EXODUS_EXPORT int ex_put_attr(int exoid, ex_entity_type blk_type, ex_entity_id blk_id,
1009 const void *attrib);
1010
1011EXODUS_EXPORT int ex_put_partial_attr(int exoid, ex_entity_type blk_type, ex_entity_id blk_id,
1012 int64_t start_entity, int64_t num_entity, const void *attrib);
1013
1014/* Read Edge Face or Element Block Attributes */
1015EXODUS_EXPORT int ex_get_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id,
1016 void *attrib);
1017
1018EXODUS_EXPORT int ex_get_partial_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id,
1019 int64_t start_num, int64_t num_ent, void *attrib);
1020
1021/* Write One Edge Face or Element Block Attribute */
1022EXODUS_EXPORT int ex_put_one_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id,
1023 int attrib_index, const void *attrib);
1024
1025/* Read One Edge Face or Element Block Attribute */
1026EXODUS_EXPORT int ex_get_one_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id,
1027 int attrib_index, void *attrib);
1028
1030 int64_t start_num, int64_t num_ent, int attrib_index,
1031 void *attrib);
1032
1033/* Write Edge Face or Element Block Attribute Names */
1035 char **names);
1036
1037/* Read Edge Face or Element Block Attribute Names */
1038EXODUS_EXPORT int ex_get_attr_names(int exoid, ex_entity_type obj_type, ex_entity_id obj_id,
1039 char **names);
1040
1041EXODUS_EXPORT int ex_put_assembly(int exoid, const struct ex_assembly assembly);
1042EXODUS_EXPORT int ex_get_assembly(int exoid, struct ex_assembly *assembly);
1043
1044EXODUS_EXPORT int ex_put_assemblies(int exoid, size_t count, const struct ex_assembly *assemblies);
1045EXODUS_EXPORT int ex_get_assemblies(int exoid, struct ex_assembly *assemblies);
1046
1047EXODUS_EXPORT int ex_put_blob(int exoid, const struct ex_blob blob);
1048EXODUS_EXPORT int ex_get_blob(int exoid, struct ex_blob *blob);
1049
1050EXODUS_EXPORT int ex_put_blobs(int exoid, size_t count, const struct ex_blob *blobs);
1051EXODUS_EXPORT int ex_get_blobs(int exoid, struct ex_blob *blobs);
1052
1054 const int field_count);
1055EXODUS_EXPORT int ex_put_field_metadata(int exoid, const ex_field field);
1056EXODUS_EXPORT int ex_put_field_suffices(int exoid, const ex_field field, const char *suffices);
1057EXODUS_EXPORT int ex_get_field_metadata(int exoid, ex_field *field);
1059EXODUS_EXPORT int ex_get_field_suffices(int exoid, const ex_field field, char *suffices);
1060
1061EXODUS_EXPORT int ex_get_basis_count(int exoid);
1062EXODUS_EXPORT int ex_get_basis(int exoid, ex_basis **pbasis, int *num_basis);
1063EXODUS_EXPORT int ex_put_basis(int exoid, const ex_basis basis);
1064
1066EXODUS_EXPORT int ex_get_quadrature(int exoid, ex_quadrature **pquad, int *num_quad);
1067EXODUS_EXPORT int ex_put_quadrature(int exoid, const ex_quadrature quad);
1068
1069/* Write arbitrary integer, double, or text attributes on an entity */
1070EXODUS_EXPORT int ex_put_attribute(int exoid, const ex_attribute attributes);
1071EXODUS_EXPORT int ex_put_attributes(int exoid, size_t attr_count, const ex_attribute *attributes);
1072
1074 const char *atr_name, int num_values,
1075 const double *values);
1077 const char *atr_name, int num_values,
1078 const void_int *values);
1080 const char *atr_name, const char *value);
1081
1082/* Read attribute values on an entity */
1083EXODUS_EXPORT int ex_get_attribute(int exoid, ex_attribute *attributes);
1084EXODUS_EXPORT int ex_get_attributes(int exoid, size_t count, ex_attribute *attributes);
1085
1086/* Query attributes on an entity */
1089 ex_attribute *attributes);
1090
1091/* Write Node Edge Face or Side Set Parameters */
1092EXODUS_EXPORT int ex_put_set_param(int exoid, ex_entity_type set_type, ex_entity_id set_id,
1093 int64_t num_entries_in_set, int64_t num_dist_fact_in_set);
1094
1095/* Read Node Edge Face or Side Set Parameters */
1096EXODUS_EXPORT int ex_get_set_param(int exoid, ex_entity_type set_type, ex_entity_id set_id,
1097 void_int *num_entry_in_set, void_int *num_dist_fact_in_set);
1098
1099/* Write a Node Edge Face or Side Set */
1100EXODUS_EXPORT int ex_put_set(int exoid, ex_entity_type set_type, ex_entity_id set_id,
1101 const void_int *set_entry_list, const void_int *set_extra_list);
1102
1103EXODUS_EXPORT int ex_get_partial_set(int exoid, ex_entity_type set_type, ex_entity_id set_id,
1104 int64_t offset, int64_t num_to_get, void_int *set_entry_list,
1105 void_int *set_extra_list);
1106
1107EXODUS_EXPORT int ex_put_partial_set(int exoid, ex_entity_type set_type, ex_entity_id set_id,
1108 int64_t offset, int64_t num_to_put,
1109 const void_int *set_entry_list,
1110 const void_int *set_extra_list);
1111
1112/* Read a Node Edge Face or Side Set */
1113EXODUS_EXPORT int ex_get_set(int exoid, ex_entity_type set_type, ex_entity_id set_id,
1114 void_int *set_entry_list, void_int *set_extra_list);
1115
1116/* Write Node Edge Face or Side Set Distribution Factors */
1117EXODUS_EXPORT int ex_put_set_dist_fact(int exoid, ex_entity_type set_type, ex_entity_id set_id,
1118 const void *set_dist_fact);
1119
1120/* Read Node Edge Face or Side Set Distribution Factors */
1121EXODUS_EXPORT int ex_get_set_dist_fact(int exoid, ex_entity_type set_type, ex_entity_id set_id,
1122 void *set_dist_fact);
1123
1125 ex_entity_id set_id, int64_t offset,
1126 int64_t num_to_put, void *set_dist_fact);
1127
1128/* Write Concatenated Node Edge Face or Side Sets */
1129EXODUS_EXPORT int ex_put_concat_sets(int exoid, ex_entity_type set_type,
1130 const struct ex_set_specs *set_specs);
1131
1132/* Read Concatenated Node Edge Face or Side Sets */
1133EXODUS_EXPORT int ex_get_concat_sets(int exoid, ex_entity_type set_type,
1134 struct ex_set_specs *set_specs);
1135
1136/* Write Concatenated Node Edge Face or Side Sets */
1137EXODUS_EXPORT int ex_put_sets(int exoid, size_t set_count, const struct ex_set *sets);
1138
1139/* Read Concatenated Node Edge Face or Side Sets */
1140EXODUS_EXPORT int ex_get_sets(int exoid, size_t set_count, struct ex_set *sets);
1141
1142EXODUS_EXPORT int ex_put_partial_num_map(int exoid, ex_entity_type map_type, ex_entity_id map_id,
1143 int64_t ent_start, int64_t ent_count, const void_int *map);
1144
1146 ex_entity_id set_id, int64_t offset,
1147 int64_t num_to_put, const void *set_dist_fact);
1148
1149/* TODO */
1150EXODUS_EXPORT int ex_get_concat_side_set_node_count(int exoid, int *side_set_node_cnt_list);
1151
1152/* TODO */
1154 void_int *side_set_node_list_len);
1155
1156/* TODO */
1157EXODUS_EXPORT int ex_get_side_set_node_count(int exoid, ex_entity_id side_set_id,
1158 int *side_set_node_cnt_list);
1159
1160/* TODO */
1161EXODUS_EXPORT int ex_get_side_set_node_list(int exoid, ex_entity_id side_set_id,
1162 void_int *side_set_node_cnt_list,
1163 void_int *side_set_node_list);
1164
1165/*=============================================================================
1166 * NS, SS & EB Global Parameter Routines
1167 *===========================================================================*/
1168EXODUS_EXPORT int ex_get_ns_param_global(int exoid, /**< NetCDF/Exodus file ID */
1169 void_int *global_ids, /**< Global IDs of node sets */
1170 void_int *node_cnts, /**< Count of nodes in node sets */
1171 void_int *df_cnts /**< Count of dist. factors in ns */
1172);
1173
1174EXODUS_EXPORT int
1175ex_put_ns_param_global(int exoid, /**< NemesisI file ID */
1176 const void_int *global_ids, /**< Vector of global node-set IDs */
1177 const void_int *node_cnts, /**< Vector of node counts in node-sets */
1178 const void_int *df_cnts /**< Vector of dist factor counts in node-sets */
1179);
1180
1181EXODUS_EXPORT int ex_get_ss_param_global(int exoid, /**< NetCDF/Exodus file ID */
1182 void_int *global_ids, /**< Global side-set IDs */
1183 void_int *side_cnts, /**< Global side count */
1184 void_int *df_cnts /**< Global dist. factor count */
1185);
1186
1188 int exoid, /**< NemesisI file ID */
1189 const void_int *global_ids, /**< Vector of global side-set IDs */
1190 const void_int *side_cnts, /**< Vector of element/side counts in each side set */
1191 const void_int *df_cnts /**< Vector of dist. factor */
1192 /**< counts in each side set */
1193);
1194
1195EXODUS_EXPORT int
1196ex_get_eb_info_global(int exoid, /**< NemesisI file ID */
1197 void_int *el_blk_ids, /**< Vector of global element IDs */
1198 void_int *el_blk_cnts /**< Vector of global element counts */
1199);
1200
1201EXODUS_EXPORT int
1202ex_put_eb_info_global(int exoid, /**< NemesisI file ID */
1203 const void_int *el_blk_ids, /**< Vector of global element IDs */
1204 const void_int *el_blk_cnts /**< Vector of global element counts */
1205);
1206
1207/*=============================================================================
1208 * NS, SS & EB Subset Routines
1209 *===========================================================================*/
1210EXODUS_EXPORT int ex_get_elem_type(int exoid, /**< NetCDF/Exodus file ID */
1211 ex_entity_id elem_blk_id, /**< Element block ID */
1212 char *elem_type /**< The name of the element type */
1213);
1214
1215/*=============================================================================
1216 * Number Map Routines
1217 *===========================================================================*/
1218EXODUS_EXPORT int ex_get_processor_node_maps(int exoid, /**< NetCDF/Exodus file ID */
1219 void_int *node_mapi, /**< Internal FEM node IDs */
1220 void_int *node_mapb, /**< Border FEM node IDs */
1221 void_int *node_mape, /**< External FEM node IDs */
1222 int processor /**< Processor IDs */
1223);
1224
1225EXODUS_EXPORT int
1226ex_put_processor_node_maps(int exoid, /**< NetCDF/Exodus file ID */
1227 const void_int *node_mapi, /**< Internal FEM node IDs */
1228 const void_int *node_mapb, /**< Border FEM node IDs */
1229 const void_int *node_mape, /**< External FEM node IDs */
1230 int proc_id /**< This processor ID */
1231);
1232
1233EXODUS_EXPORT int ex_get_processor_elem_maps(int exoid, /**< NetCDF/Exodus file ID */
1234 void_int *elem_mapi, /**< Internal element IDs */
1235 void_int *elem_mapb, /**< Border element IDs */
1236 int processor /**< Processor ID */
1237);
1238
1239EXODUS_EXPORT int
1240ex_put_processor_elem_maps(int exoid, /**< NetCDF/Exodus file ID */
1241 const void_int *elem_mapi, /**< Internal FEM element IDs */
1242 const void_int *elem_mapb, /**< Border FEM element IDs */
1243 int processor /**< This processor ID */
1244);
1245
1246/*=============================================================================
1247 * Communications Maps Routines
1248 *===========================================================================*/
1249
1250EXODUS_EXPORT int
1251ex_get_cmap_params(int exoid, /**< NetCDF/Exodus file ID */
1252 void_int *node_cmap_ids, /**< Nodal comm. map IDs */
1253 void_int *node_cmap_node_cnts, /**< Number of nodes in each map */
1254 void_int *elem_cmap_ids, /**< Elemental comm. map IDs */
1255 void_int *elem_cmap_elem_cnts, /**< Number of elems in each map */
1256 int processor /**< This processor ID */
1257);
1258
1259EXODUS_EXPORT int
1260ex_put_cmap_params(int exoid, /**< NetCDF/Exodus file ID */
1261 const void_int *node_cmap_ids, /**< Node map IDs */
1262 const void_int *node_cmap_node_cnts, /**< Nodes in nodal comm */
1263 const void_int *elem_cmap_ids, /**< Elem map IDs */
1264 const void_int *elem_cmap_elem_cnts, /**< Elems in elemental comm */
1265 int64_t processor /**< This processor ID */
1266);
1267
1268EXODUS_EXPORT int
1269ex_put_cmap_params_cc(int exoid, /**< NetCDF/Exodus file ID */
1270 const void_int *node_cmap_ids, /**< Node map IDs */
1271 const void_int *node_cmap_node_cnts, /**< Nodes in nodal comm */
1272 const void_int *node_proc_ptrs, /**< Pointer into array for node maps */
1273 const void_int *elem_cmap_ids, /**< Elem map IDs */
1274 const void_int *elem_cmap_elem_cnts, /**< Elems in elemental comm */
1275 const void_int *elem_proc_ptrs /**< Pointer into array for elem maps */
1276);
1277
1278EXODUS_EXPORT int ex_get_node_cmap(int exoid, /**< NetCDF/Exodus file ID */
1279 ex_entity_id map_id, /**< Map ID */
1280 void_int *node_ids, /**< FEM node IDs */
1281 void_int *proc_ids, /**< Processor IDs */
1282 int processor /**< This processor ID */
1283);
1284
1285EXODUS_EXPORT int ex_put_node_cmap(int exoid, /**< NetCDF/Exodus file ID */
1286 ex_entity_id map_id, /**< Nodal comm map ID */
1287 const void_int *node_ids, /**< FEM node IDs */
1288 const void_int *proc_ids, /**< Processor IDs */
1289 int processor /**< This processor ID */
1290);
1291
1292EXODUS_EXPORT int
1293ex_put_partial_node_cmap(int exoid, /**< NetCDF/Exodus file ID */
1294 ex_entity_id map_id, /**< Nodal comm map ID */
1295 int64_t start_entity_num, /**< Starting position to write to */
1296 int64_t num_entities, /**< Number of nodes to write */
1297 const void_int *node_ids, /**< FEM node IDs */
1298 const void_int *proc_ids, /**< Processor IDs */
1299 int processor /**< This processor ID */
1300);
1301
1302EXODUS_EXPORT int ex_get_elem_cmap(int exoid, /**< NetCDF/Exodus file ID */
1303 ex_entity_id map_id, /**< Elemental comm map ID */
1304 void_int *elem_ids, /**< Element IDs */
1305 void_int *side_ids, /**< Element side IDs */
1306 void_int *proc_ids, /**< Processor IDs */
1307 int processor /**< This processor ID */
1308);
1309
1310EXODUS_EXPORT int ex_put_elem_cmap(int exoid, /**< NetCDF/Exodus file ID */
1311 ex_entity_id map_id, /**< Elemental comm map ID */
1312 const void_int *elem_ids, /**< Vector of element IDs */
1313 const void_int *side_ids, /**< Vector of side IDs */
1314 const void_int *proc_ids, /**< Vector of processor IDs */
1315 int processor /**< This processor ID */
1316);
1317
1318EXODUS_EXPORT int ex_initialize_basis_struct(ex_basis *basis, size_t num_basis, int mode);
1319EXODUS_EXPORT int ex_initialize_quadrature_struct(ex_quadrature *quad, size_t num_quad, int mode);
1320
1322 int component[EX_MAX_FIELD_NESTING]);
1323EXODUS_EXPORT const char *ex_field_component_suffix(ex_field *field, int nest_level, int component);
1325EXODUS_EXPORT const char *ex_field_type_name(const ex_field_type field_type);
1327EXODUS_EXPORT const char *ex_field_type_enum_to_string(const ex_field_type field_type);
1328
1329/*! @} */
1330
1331/* Deprecated Code Handling Options:
1332 * 1. Ignore -- treat deprecated functions as normal non-deprecated functions (default)
1333 * 2. Delete -- the deprecated functions are not defined or compiled (SEACAS_HIDE_DEPRECATED_CODE is
1334 * defined)
1335 * 3. Warn -- if used in client code, issue a warning. (SEACAS_WARN_DEPRECATED_CODE is defined)
1336 *
1337 * The symbols SEACAS_HIDE_DEPRECATED_CODE and SEACAS_DEPRECATED are defined in exodus_config.h
1338 * In a TriBITs-based system, this include file is generated from cmake-variable definitions.
1339 * In other build systems, the exodus_config.h file is hard-wired.
1340 */
1341
1342#if !defined(SEACAS_HIDE_DEPRECATED_CODE)
1343/* ========================================================================
1344 * Deprecated functiona
1345 */
1346
1347#ifndef SEACAS_DEPRECATED
1348#define SEACAS_DEPRECATED
1349#endif
1350
1351SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_glob_vars(int exoid, int time_step, int num_glob_vars,
1352 void *glob_var_vals);
1353
1354SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_glob_var_time(int exoid, int glob_var_index,
1355 int beg_time_step, int end_time_step,
1356 void *glob_var_vals);
1357
1359ex_get_concat_node_sets(int exoid, void_int *node_set_ids, void_int *num_nodes_per_set,
1360 void_int *num_df_per_set, void_int *node_sets_node_index,
1361 void_int *node_sets_df_index, void_int *node_sets_node_list,
1362 void *node_sets_dist_fact);
1363
1365ex_get_concat_side_sets(int exoid, void_int *side_set_ids, void_int *num_elem_per_set,
1366 void_int *num_dist_per_set, void_int *side_sets_elem_index,
1367 void_int *side_sets_dist_index, void_int *side_sets_elem_list,
1368 void_int *side_sets_side_list, void *side_sets_dist_fact);
1369
1371 void *attrib);
1372
1374 char **names);
1375
1377
1379 char *elem_type, void_int *num_elem_this_blk,
1380 void_int *num_nodes_per_elem,
1381 void_int *num_attr);
1382
1384 void_int *connect);
1385
1387 void_int *elem_map);
1388
1390
1391SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_nodal_var(int exoid, int time_step, int nodal_var_index,
1392 int64_t num_nodes, void *nodal_var_vals);
1393
1394SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_nodal_var(int exoid, int time_step, int nodal_var_index,
1395 int64_t num_nodes, const void *nodal_var_vals);
1396
1397SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_nodal_var_time(int exoid, int nodal_var_index,
1398 int64_t node_number, int beg_time_step,
1399 int end_time_step, void *nodal_var_vals);
1400
1401SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_partial_nodal_var(int exoid, int time_step,
1402 int nodal_var_index,
1403 int64_t start_node, int64_t num_nodes,
1404 const void *nodal_var_vals);
1405
1406SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_partial_nodal_var(int exoid, int time_step,
1407 int nodal_var_index,
1408 int64_t start_node, int64_t num_nodes,
1409 void *var_vals);
1410
1411SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_elem_var(int exoid, int time_step, int elem_var_index,
1412 ex_entity_id elem_blk_id,
1413 int64_t num_elem_this_blk, void *elem_var_vals);
1414
1415SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_elem_var_tab(int exoid, int num_elem_blk,
1416 int num_elem_var, int *elem_var_tab);
1417
1418SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_elem_var_time(int exoid, int elem_var_index,
1419 int64_t elem_number, int beg_time_step,
1420 int end_time_step, void *elem_var_vals);
1421
1423 void_int *node_map);
1424
1426
1428 void_int *num_nodes_in_set,
1429 void_int *num_df_in_set);
1430
1432 void_int *node_set_node_list);
1433
1435 void *node_set_dist_fact);
1436
1438
1439SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_nset_var_tab(int exoid, int num_nodesets,
1440 int num_nset_var, int *nset_var_tab);
1441
1442SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_nset_var(int exoid, int time_step, int nset_var_index,
1443 ex_entity_id nset_id,
1444 int64_t num_node_this_nset,
1445 void *nset_var_vals);
1446
1448 int attrib_index, void *attrib);
1449
1451 void_int *side_set_elem_list,
1452 void_int *side_set_side_list);
1453
1455 void *side_set_dist_fact);
1456
1458
1460 void_int *num_side_in_set,
1461 void_int *num_dist_fact_in_set);
1462
1463SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_sset_var(int exoid, int time_step, int sset_var_index,
1464 ex_entity_id sset_id,
1465 int64_t num_side_this_sset,
1466 void *sset_var_vals);
1467
1468SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_sset_var_tab(int exoid, int num_sidesets,
1469 int num_sset_var, int *sset_var_tab);
1470
1471SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_var_names(int exoid, const char *var_type, int num_vars,
1472 char *var_names[]);
1473
1474SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_var_name(int exoid, const char *var_type, int var_num,
1475 char *var_name);
1476
1477SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_var_param(int exoid, const char *var_type,
1478 int *num_vars);
1479
1480SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_var_tab(int exoid, const char *var_type, int num_blk,
1481 int num_var, int *var_tab);
1482
1484ex_put_concat_node_sets(int exoid, void_int *node_set_ids, void_int *num_nodes_per_set,
1485 void_int *num_dist_per_set, void_int *node_sets_node_index,
1486 void_int *node_sets_df_index, void_int *node_sets_node_list,
1487 void *node_sets_dist_fact);
1488
1490ex_put_concat_side_sets(int exoid, void_int *side_set_ids, void_int *num_elem_per_set,
1491 void_int *num_dist_per_set, void_int *side_sets_elem_index,
1492 void_int *side_sets_dist_index, void_int *side_sets_elem_list,
1493 void_int *side_sets_side_list, void *side_sets_dist_fact);
1494
1495SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_concat_var_param(int exoid, int num_g, int num_n,
1496 int num_e, int num_elem_blk,
1497 int *elem_var_tab);
1498
1500 char *names[]);
1502 const void *attrib);
1503
1505ex_put_elem_block(int exoid, ex_entity_id elem_blk_id, const char *elem_type,
1506 int64_t num_elem_this_blk, int64_t num_nodes_per_elem, int64_t num_attr_per_elem);
1507
1509 const void_int *connect);
1510
1512 const void_int *elem_map);
1513
1514SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_elem_num_map(int exoid, const void_int *elem_map);
1515
1516SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_elem_var(int exoid, int time_step, int elem_var_index,
1517 ex_entity_id elem_blk_id,
1518 int64_t num_elem_this_blk,
1519 const void *elem_var_vals);
1520
1521SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_elem_var_tab(int exoid, int num_elem_blk,
1522 int num_elem_var, int *elem_var_tab);
1523
1524SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_glob_vars(int exoid, int time_step, int num_glob_vars,
1525 const void *glob_var_vals);
1526
1528 const void_int *node_map);
1529
1530SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_node_num_map(int exoid, const void_int *node_map);
1531
1533 const void_int *node_set_node_list);
1534
1536 const void *node_set_dist_fact);
1537
1539 int64_t num_nodes_in_set,
1540 int64_t num_dist_in_set);
1541
1542SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_nset_var(int exoid, int time_step, int nset_var_index,
1543 ex_entity_id nset_id,
1544 int64_t num_nodes_this_nset,
1545 const void *nset_var_vals);
1546
1547SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_nset_var_tab(int exoid, int num_nset, int num_nset_var,
1548 int *nset_var_tab);
1549
1551 int attrib_index, const void *attrib);
1552
1554 const void_int *side_set_elem_list,
1555 const void_int *side_set_side_list);
1556
1558 const void *side_set_dist_fact);
1559
1561 int64_t num_side_in_set,
1562 int64_t num_dist_fact_in_set);
1563
1564SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_sset_var(int exoid, int time_step, int sset_var_index,
1565 ex_entity_id sset_id,
1566 int64_t num_faces_this_sset,
1567 const void *sset_var_vals);
1568
1569SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_sset_var_tab(int exoid, int num_sset, int num_sset_var,
1570 int *sset_var_tab);
1571
1572SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_var_name(int exoid, const char *var_type, int var_num,
1573 const char *var_name);
1574
1575SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_var_names(int exoid, const char *var_type, int num_vars,
1576 char *var_names[]);
1577
1578SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_var_param(int exoid, const char *var_type, int num_vars);
1579
1580SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_var_tab(int exoid, const char *var_type, int num_blk,
1581 int num_var, int *var_tab);
1582
1583SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_n_coord(int exoid, int64_t start_node_num,
1584 int64_t num_nodes, void *x_coor, void *y_coor,
1585 void *z_coor);
1586
1587SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_n_nodal_var(int exoid, int time_step,
1588 int nodal_var_index, int64_t start_node,
1589 int64_t num_nodes, void *var_vals);
1590
1592 ex_entity_id blk_id, int64_t start_num,
1593 int64_t num_ent, void_int *nodeconn,
1594 void_int *edgeconn, void_int *faceconn);
1595
1597 ex_entity_id obj_id, int64_t start_num,
1598 int64_t num_ent, void *attrib);
1599
1601 ex_entity_id obj_id, int64_t start_num,
1602 int64_t num_ent, int attrib_index,
1603 void *attrib);
1604
1605SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_n_var(int exoid, int time_step, ex_entity_type var_type,
1606 int var_index, ex_entity_id obj_id,
1607 int64_t start_index, int64_t num_entities,
1608 void *var_vals);
1609
1610SEACAS_DEPRECATED EXODUS_EXPORT int ex_get_n_elem_var(int exoid, int time_step, int elem_var_index,
1611 ex_entity_id elem_blk_id,
1612 int64_t num_elem_this_blk,
1613 int64_t start_elem_num, int64_t num_elem,
1614 void *elem_var_vals);
1615
1617ex_get_n_side_set(int exoid, /**< NetCDF/Exodus file ID */
1618 ex_entity_id side_set_id, /**< Side-set ID to read */
1619 int64_t start_side_num, /**< Starting element number */
1620 int64_t num_sides, /**< Number of sides to read */
1621 void_int *side_set_elem_list, /**< List of element IDs */
1622 void_int *side_set_side_list /**< List of side IDs */
1623);
1624
1626ex_put_n_side_set(int exoid, /**< NetCDF/Exodus file ID */
1627 ex_entity_id side_set_id, /**< Side-set ID to write */
1628 int64_t start_side_num, /**< Starting element number */
1629 int64_t num_sides, /**< Number of sides to write */
1630 const void_int *side_set_elem_list, /**< List of element IDs */
1631 const void_int *side_set_side_list /**< List of side IDs */
1632);
1633
1635ex_get_n_side_set_df(int exoid, /**< NetCDF/Exodus file ID */
1636 ex_entity_id side_set_id, /**< Side-set ID */
1637 int64_t start_num, /**< Starting df number */
1638 int64_t num_df_to_get, /**< Number of df's to read */
1639 void *side_set_dist_fact /**< Distribution factors */
1640);
1641
1643ex_put_n_side_set_df(int exoid, /**< NetCDF/Exodus file ID */
1644 ex_entity_id side_set_id, /**< Side-set ID */
1645 int64_t start_num, /**< Starting df number */
1646 int64_t num_df_to_get, /**< Number of df's to write */
1647 void *side_set_dist_fact /**< Distribution factors */
1648);
1649
1651ex_get_n_node_set(int exoid, /**< NetCDF/Exodus file ID */
1652 ex_entity_id node_set_id, /**< Node set ID */
1653 int64_t start_node_num, /**< Node index to start reading at */
1654 int64_t num_nodes, /**< Number of nodes to read */
1655 void_int *node_set_node_list /**< List of nodes in node set */
1656);
1657
1659ex_put_n_node_set(int exoid, /**< NetCDF/Exodus file ID */
1660 ex_entity_id node_set_id, /**< Node set ID */
1661 int64_t start_node_num, /**< Node index to start writing at */
1662 int64_t num_nodes, /**< Number of nodes to write */
1663 const void_int *node_set_node_list /**< List of nodes in node set */
1664);
1665
1667ex_get_n_node_set_df(int exoid, /**< NetCDF/Exodus file ID */
1668 ex_entity_id node_set_id, /**< Node-set ID */
1669 int64_t start_num, /**< Starting df number */
1670 int64_t num_df_to_get, /**< Number of df's to read */
1671 void *node_set_dist_fact /**< Distribution factors */
1672);
1673
1675ex_put_n_node_set_df(int exoid, /**< NetCDF/Exodus file ID */
1676 ex_entity_id node_set_id, /**< Node-set ID */
1677 int64_t start_num, /**< Starting df number */
1678 int64_t num_df_to_get, /**< Number of df's to write */
1679 void *node_set_dist_fact /**< Distribution factors */
1680);
1681
1683ex_get_n_elem_conn(int exoid, /**< NetCDF/Exodus file ID */
1684 ex_entity_id elem_blk_id, /**< Element block ID */
1685 int64_t start_elem_num, /**< Starting position to read from */
1686 int64_t num_elems, /**< Number of elements to read */
1687 void_int *connect /**< Connectivity vector */
1688);
1689
1691ex_put_n_elem_conn(int exoid, /**< NetCDF/Exodus file ID */
1692 ex_entity_id elem_blk_id, /**< Element block ID */
1693 int64_t start_elem_num, /**< Starting position to write to */
1694 int64_t num_elems, /**< Number of elements to write */
1695 const void_int *connect /**< Connectivity vector */
1696);
1697
1699ex_get_n_elem_attr(int exoid, /**< NetCDF/Exodus file ID */
1700 ex_entity_id elem_blk_id, /**< Element block ID */
1701 int64_t start_elem_num, /**< Starting position to read from */
1702 int64_t num_elems, /**< Number of elements to read */
1703 void *attrib /**< Attribute */
1704);
1705
1707ex_put_n_elem_attr(int exoid, /**< NetCDF/Exodus file ID */
1708 ex_entity_id elem_blk_id, /**< Element block ID */
1709 int64_t start_elem_num, /**< Starting position to write to */
1710 int64_t num_elems, /**< Number of elements to write */
1711 void *attrib /**< Attribute */
1712);
1713
1715ex_get_n_elem_num_map(int exoid, /**< NetCDF/Exodus file ID */
1716 int64_t start_ent, /**< Starting position to read from */
1717 int64_t num_ents, /**< Number of elements to read */
1718 void_int *elem_map /**< element map numbers */
1719);
1720
1722ex_get_n_node_num_map(int exoid, /**< NetCDF/Exodus file ID */
1723 int64_t start_ent, /**< starting node number */
1724 int64_t num_ents, /**< number of nodes to read */
1725 void_int *node_map /**< vector for node map */
1726);
1727
1728SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_n_coord(int exoid, int64_t start_node_num,
1729 int64_t num_nodes, const void *x_coor,
1730 const void *y_coor, const void *z_coor);
1731
1733ex_put_n_elem_num_map(int exoid, int64_t start_ent, int64_t num_ents, const void_int *elem_map);
1734
1736ex_put_n_node_num_map(int exoid, int64_t start_ent, int64_t num_ents, const void_int *node_map);
1737
1739 ex_entity_id obj_id, int64_t start_num,
1740 int64_t num_ent, int attrib_index,
1741 const void *attrib);
1742
1743SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_n_var(int exoid, int time_step, ex_entity_type var_type,
1744 int var_index, ex_entity_id obj_id,
1745 int64_t start_index, int64_t num_entities,
1746 const void *var_vals);
1747
1748SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_n_nodal_var(int exoid, int time_step,
1749 int nodal_var_index, int64_t start_node,
1750 int64_t num_nodes,
1751 const void *nodal_var_vals);
1752
1754ex_get_partial_elem_var(int exoid, int time_step, int elem_var_index, ex_entity_id elem_blk_id,
1755 int64_t num_elem_this_blk, int64_t start_elem_num, int64_t num_elem,
1756 void *elem_var_vals);
1757
1759 int64_t ent_start, int64_t ent_count,
1760 void_int *elem_map);
1761
1763ex_get_partial_elem_conn(int exoid, /**< NetCDF/Exodus file ID */
1764 ex_entity_id elem_blk_id, /**< Element block ID */
1765 int64_t start_elem_num, /**< Starting position to read from */
1766 int64_t num_elems, /**< Number of elements to read */
1767 void_int *connect /**< Connectivity vector */
1768);
1769
1771ex_get_partial_elem_attr(int exoid, /**< NetCDF/Exodus file ID */
1772 ex_entity_id elem_blk_id, /**< Element block ID */
1773 int64_t start_elem_num, /**< Starting position to read from */
1774 int64_t num_elems, /**< Number of elements to read */
1775 void *attrib /**< Attribute */
1776);
1777
1779ex_get_partial_elem_num_map(int exoid, /**< NetCDF/Exodus file ID */
1780 int64_t start_ent, /**< Starting position to read from */
1781 int64_t num_ents, /**< Number of elements to read */
1782 void_int *elem_map /**< element map numbers */
1783);
1784
1786ex_get_partial_node_num_map(int exoid, /**< NetCDF/Exodus file ID */
1787 int64_t start_ent, /**< starting node number */
1788 int64_t num_ents, /**< number of nodes to read */
1789 void_int *node_map /**< vector for node map */
1790);
1791
1793ex_get_partial_node_set(int exoid, /**< NetCDF/Exodus file ID */
1794 ex_entity_id node_set_id, /**< Node set ID */
1795 int64_t start_node_num, /**< Node index to start reading at */
1796 int64_t num_nodes, /**< Number of nodes to read */
1797 void_int *node_set_node_list /**< List of nodes in node set */
1798);
1799
1801ex_get_partial_node_set_df(int exoid, /**< NetCDF/Exodus file ID */
1802 ex_entity_id node_set_id, /**< Node-set ID */
1803 int64_t start_num, /**< Starting df number */
1804 int64_t num_df_to_get, /**< Number of df's to read */
1805 void *node_set_dist_fact /**< Distribution factors */
1806);
1807
1809ex_get_partial_side_set(int exoid, /**< NetCDF/Exodus file ID */
1810 ex_entity_id side_set_id, /**< Side-set ID to read */
1811 int64_t start_side_num, /**< Starting element number */
1812 int64_t num_sides, /**< Number of sides to read */
1813 void_int *side_set_elem_list, /**< List of element IDs */
1814 void_int *side_set_side_list /**< List of side IDs */
1815);
1816
1818ex_get_partial_side_set_df(int exoid, /**< NetCDF/Exodus file ID */
1819 ex_entity_id side_set_id, /**< Side-set ID */
1820 int64_t start_num, /**< Starting df number */
1821 int64_t num_df_to_get, /**< Number of df's to read */
1822 void *side_set_dist_fact /**< Distribution factors */
1823);
1824
1825SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_partial_node_num_map(int exoid, int64_t start_ent,
1826 int64_t num_ents,
1827 const void_int *node_map);
1828
1829SEACAS_DEPRECATED EXODUS_EXPORT int ex_put_partial_elem_num_map(int exoid, int64_t start_ent,
1830 int64_t num_ents,
1831 const void_int *elem_map);
1832
1834 int64_t ent_start, int64_t ent_count,
1835 const void_int *elem_map);
1836
1838ex_put_partial_side_set(int exoid, /**< NetCDF/Exodus file ID */
1839 ex_entity_id side_set_id, /**< Side-set ID to write */
1840 int64_t start_side_num, /**< Starting element number */
1841 int64_t num_sides, /**< Number of sides to write */
1842 const void_int *side_set_elem_list, /**< List of element IDs */
1843 const void_int *side_set_side_list /**< List of side IDs */
1844);
1845
1847ex_put_partial_side_set_df(int exoid, /**< NetCDF/Exodus file ID */
1848 ex_entity_id side_set_id, /**< Side-set ID */
1849 int64_t start_num, /**< Starting df number */
1850 int64_t num_df_to_get, /**< Number of df's to write */
1851 void *side_set_dist_fact /**< Distribution factors */
1852);
1853
1855ex_put_partial_node_set(int exoid, /**< NetCDF/Exodus file ID */
1856 ex_entity_id node_set_id, /**< Node set ID */
1857 int64_t start_node_num, /**< Node index to start writing at */
1858 int64_t num_nodes, /**< Number of nodes to write */
1859 const void_int *node_set_node_list /**< List of nodes in node set */
1860);
1861
1863ex_put_partial_node_set_df(int exoid, /**< NetCDF/Exodus file ID */
1864 ex_entity_id node_set_id, /**< Node-set ID */
1865 int64_t start_num, /**< Starting df number */
1866 int64_t num_df_to_get, /**< Number of df's to write */
1867 void *node_set_dist_fact /**< Distribution factors */
1868);
1869
1871ex_put_partial_elem_conn(int exoid, /**< NetCDF/Exodus file ID */
1872 ex_entity_id elem_blk_id, /**< Element block ID */
1873 int64_t start_elem_num, /**< Starting position to write to */
1874 int64_t num_elems, /**< Number of elements to write */
1875 const void_int *connect /**< Connectivity vector */
1876);
1877
1879ex_put_partial_elem_attr(int exoid, /**< NetCDF/Exodus file ID */
1880 ex_entity_id elem_blk_id, /**< Element block ID */
1881 int64_t start_elem_num, /**< Starting position to write to */
1882 int64_t num_elems, /**< Number of elements to write */
1883 void *attrib /**< Attribute */
1884);
1885
1887ex_put_elem_var_slab(int exoid, /**< NetCDF/Exodus file ID */
1888 int time_step, /**< time index */
1889 int elem_var_index, /**< elemental variable index */
1890 ex_entity_id elem_blk_id, /**< elemental block id */
1891 int64_t start_pos, /**< Starting position to write to */
1892 int64_t num_vals, /**< Number of elements to write */
1893 void *elem_var_vals /**< variable values */
1894);
1895
1897ex_put_nodal_var_slab(int exoid, /**< NetCDF/Exodus file ID */
1898 int time_step, /**< The time step index */
1899 int nodal_var_index, /**< Nodal variable index */
1900 int64_t start_pos, /**< Start position for write */
1901 int64_t num_vals, /**< Number of nodal variables */
1902 void *nodal_var_vals /**< Nodal variable values */
1903);
1904
1905#endif
1906/* End of Deprecated functions and their replacements
1907 * ======================================================================== */
1908
1909/* ERROR CODE DEFINITIONS AND STORAGE */
1910EXODUS_EXPORT int exoptval; /**< error reporting flag (default is quiet) */
1911#if defined(EXODUS_THREADSAFE)
1912#if !defined(exerrval)
1913/* In both exodusII.h and exodusII_int.h */
1914typedef struct EX_errval
1915{
1916 int errval;
1919 int last_err_num;
1920} EX_errval_t;
1921
1922EXODUS_EXPORT EX_errval_t *ex_errval;
1923#define exerrval ex_errval->errval
1924#endif
1925#else
1926EXODUS_EXPORT int exerrval; /**< shared error return value */
1927#endif
1928
1931EXODUS_EXPORT int ex_set_parallel(int exoid, int is_parallel);
1932
1933/* Should be internal use only, but was in external include file for
1934 nemesis and some codes are using the function
1935*/
1936EXODUS_EXPORT int ex_get_idx(int exoid, /**< NetCDF/Exodus file ID */
1937 const char *ne_var_name, /**< Nemesis index variable name */
1938 int64_t *my_index, /**< array of length 2 to hold results */
1939 int pos /**< position of this proc/cmap in index */
1940);
1941
1942/**
1943 * \defgroup ErrorReturnCodes Error return codes - #exerrval return values
1944 * @{
1945 */
1947 EX_MEMFAIL = 1000, /**< memory allocation failure flag def */
1948 EX_BADFILEMODE = 1001, /**< bad file mode def */
1949 EX_BADFILEID = 1002, /**< bad file id def */
1950 EX_WRONGFILETYPE = 1003, /**< wrong file type for function */
1951 EX_LOOKUPFAIL = 1004, /**< id table lookup failed */
1952 EX_BADPARAM = 1005, /**< bad parameter passed */
1953 EX_INTERNAL = 1006, /**< internal logic error */
1954 EX_DUPLICATEID = 1007, /**< duplicate id found */
1955 EX_DUPLICATEOPEN = 1008, /**< duplicate open */
1956 EX_BADFILENAME = 1009, /**< empty or null filename specified */
1957 EX_MSG = -1000, /**< message print code - no error implied */
1958 EX_PRTLASTMSG = -1001, /**< print last error message msg code */
1959 EX_NOTROOTID = -1002, /**< file id is not the root id; it is a subgroup id */
1960 EX_LASTERR = -1003, /**< in ex_err, use existing err_num value */
1961 EX_NULLENTITY = -1006, /**< null entity found */
1962 EX_NOENTITY = -1007, /**< no entities of that type on database */
1963 EX_NOTFOUND = -1008, /**< could not find requested variable on database */
1965 -1009, /**< integer sizes do not match on input/output databases in ex_copy */
1966
1967 EX_FATAL = -1, /**< fatal error flag def */
1968 EX_NOERR = 0, /**< no error flag def */
1969 EX_WARN = 1 /**< warning flag def */
1972
1973/** @} */
1974
1975#ifdef __cplusplus
1976} /* close brackets on extern "C" declaration */
1977#endif
static char last_pname[MAX_ERR_LENGTH+1]
Definition ex_err.c:20
static int last_err_num
Definition ex_err.c:22
static char last_errmsg[MAX_ERR_LENGTH+1]
Definition ex_err.c:21
#define entity_id
Definition exo_jack-windows.c:60
SEACAS_DEPRECATED int ex_get_n_side_set(int exoid, ex_entity_id side_set_id, int64_t start_side_num, int64_t num_sides, void_int *side_set_elem_list, void_int *side_set_side_list)
Definition ex_get_n_side_set.c:16
SEACAS_DEPRECATED int ex_get_nset_var_tab(int exoid, int num_nodesets, int num_nset_var, int *nset_var_tab)
Definition ex_get_nset_var_tab.c:32
SEACAS_DEPRECATED int ex_put_partial_node_num_map(int exoid, int64_t start_ent, int64_t num_ents, const void_int *node_map)
Definition ex_put_partial_node_num_map.c:38
SEACAS_DEPRECATED int ex_get_node_set_ids(int exoid, void_int *ids)
Definition ex_get_node_set_ids.c:47
SEACAS_DEPRECATED int ex_put_elem_attr_names(int exoid, ex_entity_id elem_blk_id, char *names[])
Definition ex_put_elem_attr_names.c:35
SEACAS_DEPRECATED int ex_get_partial_elem_attr(int exoid, ex_entity_id elem_blk_id, int64_t start_elem_num, int64_t num_elems, void *attrib)
Definition ex_get_partial_elem_attr.c:40
SEACAS_DEPRECATED int ex_get_partial_elem_conn(int exoid, ex_entity_id elem_blk_id, int64_t start_elem_num, int64_t num_elems, void_int *connect)
Definition ex_get_partial_elem_conn.c:37
SEACAS_DEPRECATED int ex_put_sset_var_tab(int exoid, int num_sset, int num_sset_var, int *sset_var_tab)
Definition ex_put_sset_var_tab.c:44
SEACAS_DEPRECATED int ex_get_n_elem_attr(int exoid, ex_entity_id elem_blk_id, int64_t start_elem_num, int64_t num_elems, void *attrib)
Definition ex_get_n_elem_attr.c:36
SEACAS_DEPRECATED int ex_get_partial_node_num_map(int exoid, int64_t start_ent, int64_t num_ents, void_int *node_map)
Definition ex_get_partial_node_num_map.c:34
SEACAS_DEPRECATED int ex_put_n_coord(int exoid, int64_t start_node_num, int64_t num_nodes, const void *x_coor, const void *y_coor, const void *z_coor)
Definition ex_put_n_coord.c:41
SEACAS_DEPRECATED int ex_put_side_set(int exoid, ex_entity_id side_set_id, const void_int *side_set_elem_list, const void_int *side_set_side_list)
Definition ex_put_side_set.c:38
SEACAS_DEPRECATED int ex_put_elem_var_slab(int exoid, int time_step, int elem_var_index, ex_entity_id elem_blk_id, int64_t start_pos, int64_t num_vals, void *elem_var_vals)
Definition ex_put_elem_var_slab.c:43
SEACAS_DEPRECATED int ex_get_elem_var(int exoid, int time_step, int elem_var_index, ex_entity_id elem_blk_id, int64_t num_elem_this_blk, void *elem_var_vals)
Definition ex_get_elem_var.c:84
SEACAS_DEPRECATED int ex_put_partial_side_set_df(int exoid, ex_entity_id side_set_id, int64_t start_num, int64_t num_df_to_get, void *side_set_dist_fact)
Definition ex_put_partial_side_set_df.c:39
SEACAS_DEPRECATED int ex_get_n_elem_num_map(int exoid, int64_t start_ent, int64_t num_ents, void_int *elem_map)
Definition ex_get_n_elem_num_map.c:34
ex_entity_type
Definition exodusII.h:267
@ EX_EDGE_BLOCK
Definition exodusII.h:271
@ EX_FACE_SET
Definition exodusII.h:274
@ EX_ASSEMBLY
Definition exodusII.h:287
@ EX_NODE_BLOCK
Definition exodusII.h:269
@ EX_EDGE_SET
Definition exodusII.h:272
@ EX_EDGE_MAP
Definition exodusII.h:282
@ EX_NODE_MAP
Definition exodusII.h:281
@ EX_SIDE_SET
Definition exodusII.h:278
@ EX_INVALID
Definition exodusII.h:289
@ EX_NODE_SET
Definition exodusII.h:270
@ EX_NODAL
Definition exodusII.h:268
@ EX_ELEM_SET
Definition exodusII.h:276
@ EX_FACE_BLOCK
Definition exodusII.h:273
@ EX_GLOBAL
Definition exodusII.h:285
@ EX_FACE_MAP
Definition exodusII.h:283
@ EX_ELEM_MAP
Definition exodusII.h:280
@ EX_COORDINATE
Definition exodusII.h:286
@ EX_ELEM_BLOCK
Definition exodusII.h:275
@ EX_BLOB
Definition exodusII.h:288
SEACAS_DEPRECATED int ex_put_node_set_dist_fact(int exoid, ex_entity_id node_set_id, const void *node_set_dist_fact)
Definition ex_put_node_set_dist_fact.c:43
SEACAS_DEPRECATED int ex_get_side_set_ids(int exoid, void_int *ids)
Definition ex_get_side_set_ids.c:31
SEACAS_DEPRECATED int ex_put_elem_num_map(int exoid, const void_int *elem_map)
Definition ex_put_elem_num_map.c:51
#define EXODUS_EXPORT
Definition exodusII.h:578
int exerrval
Definition ex_err.c:18
SEACAS_DEPRECATED int ex_put_elem_conn(int exoid, ex_entity_id elem_blk_id, const void_int *connect)
Definition ex_put_elem_conn.c:41
SEACAS_DEPRECATED int ex_put_n_one_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int64_t start_num, int64_t num_ent, int attrib_index, const void *attrib)
Definition ex_put_n_one_attr.c:37
SEACAS_DEPRECATED int ex_get_partial_elem_num_map(int exoid, int64_t start_ent, int64_t num_ents, void_int *elem_map)
Definition ex_get_partial_elem_num_map.c:37
ex_entity_type ex_var_type_to_ex_entity_type(char var_type)
Definition ex_utils.c:588
SEACAS_DEPRECATED int ex_put_nset_var_tab(int exoid, int num_nset, int num_nset_var, int *nset_var_tab)
Definition ex_put_nset_var_tab.c:44
void void_int
Definition exodusII.h:428
SEACAS_DEPRECATED int ex_get_side_set_dist_fact(int exoid, ex_entity_id side_set_id, void *side_set_dist_fact)
Definition ex_get_side_set_dist_fact.c:33
SEACAS_DEPRECATED int ex_put_partial_side_set(int exoid, ex_entity_id side_set_id, int64_t start_side_num, int64_t num_sides, const void_int *side_set_elem_list, const void_int *side_set_side_list)
Definition ex_put_partial_side_set.c:40
SEACAS_DEPRECATED int ex_put_glob_vars(int exoid, int time_step, int num_glob_vars, const void *glob_var_vals)
Definition ex_put_glob_vars.c:84
SEACAS_DEPRECATED int ex_put_n_side_set_df(int exoid, ex_entity_id side_set_id, int64_t start_num, int64_t num_df_to_get, void *side_set_dist_fact)
Definition ex_put_n_side_set_df.c:36
#define EX_MAX_FIELD_NESTING
Definition exodusII.h:324
SEACAS_DEPRECATED int ex_put_concat_side_sets(int exoid, void_int *side_set_ids, void_int *num_elem_per_set, void_int *num_dist_per_set, void_int *side_sets_elem_index, void_int *side_sets_dist_index, void_int *side_sets_elem_list, void_int *side_sets_side_list, void *side_sets_dist_fact)
Definition ex_put_concat_side_sets.c:51
SEACAS_DEPRECATED int ex_get_side_set(int exoid, ex_entity_id side_set_id, void_int *side_set_elem_list, void_int *side_set_side_list)
Definition ex_get_side_set.c:34
SEACAS_DEPRECATED int ex_get_glob_var_time(int exoid, int glob_var_index, int beg_time_step, int end_time_step, void *glob_var_vals)
Definition ex_get_glob_var_time.c:76
SEACAS_DEPRECATED int ex_get_partial_node_set(int exoid, ex_entity_id node_set_id, int64_t start_node_num, int64_t num_nodes, void_int *node_set_node_list)
Definition ex_get_partial_node_set.c:38
SEACAS_DEPRECATED int ex_put_partial_elem_attr(int exoid, ex_entity_id elem_blk_id, int64_t start_elem_num, int64_t num_elems, void *attrib)
Definition ex_put_partial_elem_attr.c:40
ex_field_type
Definition exodusII.h:293
@ EX_SCALAR
Definition exodusII.h:299
@ EX_VECTOR_1D
Definition exodusII.h:300
@ EX_FULL_TENSOR_16
Definition exodusII.h:308
@ EX_BASIS
Definition exodusII.h:297
@ EX_ASYM_TENSOR_01
Definition exodusII.h:318
@ EX_SYM_TENSOR_31
Definition exodusII.h:311
@ EX_VECTOR_2D
Definition exodusII.h:301
@ EX_SYM_TENSOR_33
Definition exodusII.h:310
@ EX_FULL_TENSOR_32
Definition exodusII.h:306
@ EX_QUADRATURE
Definition exodusII.h:298
@ EX_FULL_TENSOR_22
Definition exodusII.h:307
@ EX_ASYM_TENSOR_02
Definition exodusII.h:317
@ EX_SYM_TENSOR_13
Definition exodusII.h:313
@ EX_SYM_TENSOR_10
Definition exodusII.h:315
@ EX_QUATERNION_2D
Definition exodusII.h:303
@ EX_MATRIX_3X3
Definition exodusII.h:320
@ EX_FIELD_TYPE_SEQUENCE
Definition exodusII.h:296
@ EX_FIELD_TYPE_INVALID
Definition exodusII.h:294
@ EX_FULL_TENSOR_36
Definition exodusII.h:305
@ EX_QUATERNION_3D
Definition exodusII.h:304
@ EX_VECTOR_3D
Definition exodusII.h:302
@ EX_FULL_TENSOR_12
Definition exodusII.h:309
@ EX_SYM_TENSOR_21
Definition exodusII.h:312
@ EX_MATRIX_2X2
Definition exodusII.h:319
@ EX_FIELD_TYPE_USER_DEFINED
Definition exodusII.h:295
@ EX_ASYM_TENSOR_03
Definition exodusII.h:316
@ EX_SYM_TENSOR_11
Definition exodusII.h:314
SEACAS_DEPRECATED int ex_get_node_set(int exoid, ex_entity_id node_set_id, void_int *node_set_node_list)
Definition ex_get_node_set.c:33
SEACAS_DEPRECATED int ex_get_n_side_set_df(int exoid, ex_entity_id side_set_id, int64_t start_num, int64_t num_df_to_get, void *side_set_dist_fact)
Definition ex_get_n_side_set_df.c:34
SEACAS_DEPRECATED int ex_put_n_elem_num_map(int exoid, int64_t start_ent, int64_t num_ents, const void_int *elem_map)
Definition ex_put_n_elem_num_map.c:39
#define EX_MAX_NAME
Definition exodusII.h:51
SEACAS_DEPRECATED int ex_get_elem_var_tab(int exoid, int num_elem_blk, int num_elem_var, int *elem_var_tab)
Definition ex_get_elem_var_tab.c:75
SEACAS_DEPRECATED int ex_put_concat_node_sets(int exoid, void_int *node_set_ids, void_int *num_nodes_per_set, void_int *num_dist_per_set, void_int *node_sets_node_index, void_int *node_sets_df_index, void_int *node_sets_node_list, void *node_sets_dist_fact)
Definition ex_put_concat_node_sets.c:108
SEACAS_DEPRECATED int ex_put_elem_map(int exoid, ex_entity_id map_id, const void_int *elem_map)
Definition ex_put_elem_map.c:36
SEACAS_DEPRECATED int ex_put_one_elem_attr(int exoid, ex_entity_id elem_blk_id, int attrib_index, const void *attrib)
Definition ex_put_one_elem_attr.c:40
SEACAS_DEPRECATED int ex_get_n_coord(int exoid, int64_t start_node_num, int64_t num_nodes, void *x_coor, void *y_coor, void *z_coor)
Definition ex_get_n_coord.c:49
SEACAS_DEPRECATED int ex_put_side_set_dist_fact(int exoid, ex_entity_id side_set_id, const void *side_set_dist_fact)
Definition ex_put_side_set_dist_fact.c:36
SEACAS_DEPRECATED int ex_put_partial_node_set(int exoid, ex_entity_id node_set_id, int64_t start_node_num, int64_t num_nodes, const void_int *node_set_node_list)
Definition ex_put_partial_node_set.c:39
SEACAS_DEPRECATED int ex_get_nodal_var_time(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.c:82
SEACAS_DEPRECATED int ex_put_node_map(int exoid, ex_entity_id map_id, const void_int *node_map)
Definition ex_put_node_map.c:33
SEACAS_DEPRECATED int ex_put_elem_block(int exoid, ex_entity_id elem_blk_id, const char *elem_type, int64_t num_elem_this_blk, int64_t num_nodes_per_elem, int64_t num_attr_per_elem)
Definition ex_put_elem_block.c:106
struct ex_field ex_field
SEACAS_DEPRECATED int ex_get_sset_var_tab(int exoid, int num_sidesets, int num_sset_var, int *sset_var_tab)
Definition ex_get_sset_var_tab.c:32
SEACAS_DEPRECATED int ex_get_partial_node_set_df(int exoid, ex_entity_id node_set_id, int64_t start_num, int64_t num_df_to_get, void *node_set_dist_fact)
Definition ex_get_partial_node_set_df.c:39
SEACAS_DEPRECATED int ex_put_node_num_map(int exoid, const void_int *node_map)
Definition ex_put_node_num_map.c:50
SEACAS_DEPRECATED int ex_get_elem_attr_names(int exoid, ex_entity_id elem_blk_id, char **names)
Definition ex_get_elem_attr_names.c:30
SEACAS_DEPRECATED int ex_put_elem_var_tab(int exoid, int num_elem_blk, int num_elem_var, int *elem_var_tab)
Definition ex_put_elem_var_tab.c:77
SEACAS_DEPRECATED int ex_put_node_set_param(int exoid, ex_entity_id node_set_id, int64_t num_nodes_in_set, int64_t num_dist_in_set)
Definition ex_put_node_set_param.c:73
ex_options
Definition exodusII.h:388
@ EX_DEFAULT
Definition exodusII.h:389
@ EX_DEBUG
Definition exodusII.h:391
@ EX_ABORT
Definition exodusII.h:392
@ EX_NULLVERBOSE
Definition exodusII.h:393
@ EX_VERBOSE
Definition exodusII.h:390
SEACAS_DEPRECATED int ex_put_n_side_set(int exoid, ex_entity_id side_set_id, int64_t start_side_num, int64_t num_sides, const void_int *side_set_elem_list, const void_int *side_set_side_list)
Definition ex_put_n_side_set.c:37
SEACAS_DEPRECATED int ex_get_elem_block(int exoid, ex_entity_id elem_blk_id, char *elem_type, void_int *num_elem_this_blk, void_int *num_nodes_per_elem, void_int *num_attr)
Definition ex_get_elem_block.c:74
SEACAS_DEPRECATED int ex_get_elem_blk_ids(int exoid, void_int *ids)
Definition ex_get_elem_blk_ids.c:48
SEACAS_DEPRECATED int ex_put_n_elem_conn(int exoid, ex_entity_id elem_blk_id, int64_t start_elem_num, int64_t num_elems, const void_int *connect)
Definition ex_put_n_elem_conn.c:36
SEACAS_DEPRECATED int ex_put_n_node_set(int exoid, ex_entity_id node_set_id, int64_t start_node_num, int64_t num_nodes, const void_int *node_set_node_list)
Definition ex_put_n_node_set.c:36
SEACAS_DEPRECATED int ex_get_elem_num_map(int exoid, void_int *elem_map)
Definition ex_get_elem_num_map.c:60
SEACAS_DEPRECATED int ex_put_partial_elem_conn(int exoid, ex_entity_id elem_blk_id, int64_t start_elem_num, int64_t num_elems, const void_int *connect)
Definition ex_put_partial_elem_conn.c:40
SEACAS_DEPRECATED int ex_put_nset_var(int exoid, int time_step, int nset_var_index, ex_entity_id nset_id, int64_t num_nodes_this_nset, const void *nset_var_vals)
Definition ex_put_nset_var.c:47
SEACAS_DEPRECATED int ex_put_concat_var_param(int exoid, int num_g, int num_n, int num_e, int num_elem_blk, int *elem_var_tab)
Definition ex_put_concat_var_param.c:44
SEACAS_DEPRECATED int ex_put_partial_elem_num_map(int exoid, int64_t start_ent, int64_t num_ents, const void_int *elem_map)
Definition ex_put_partial_elem_num_map.c:39
SEACAS_DEPRECATED int ex_get_elem_conn(int exoid, ex_entity_id elem_blk_id, void_int *connect)
Definition ex_get_elem_conn.c:39
char * ex_name_of_object(ex_entity_type obj_type)
Definition ex_utils.c:559
SEACAS_DEPRECATED int ex_get_n_node_set_df(int exoid, ex_entity_id node_set_id, int64_t start_num, int64_t num_df_to_get, void *node_set_dist_fact)
Definition ex_get_n_node_set_df.c:16
SEACAS_DEPRECATED int ex_get_elem_map(int exoid, ex_entity_id map_id, void_int *elem_map)
Definition ex_get_elem_map.c:30
SEACAS_DEPRECATED int ex_put_partial_elem_map(int exoid, ex_entity_id map_id, int64_t ent_start, int64_t ent_count, const void_int *elem_map)
Definition ex_put_partial_elem_map.c:35
SEACAS_DEPRECATED int ex_get_n_elem_conn(int exoid, ex_entity_id elem_blk_id, int64_t start_elem_num, int64_t num_elems, void_int *connect)
Definition ex_get_n_elem_conn.c:37
SEACAS_DEPRECATED int ex_put_elem_attr(int exoid, ex_entity_id elem_blk_id, const void *attrib)
Definition ex_put_elem_attr.c:48
#define SEACAS_DEPRECATED
Definition exodusII.h:1348
SEACAS_DEPRECATED int ex_put_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t num_nodes, const void *nodal_var_vals)
Definition ex_put_nodal_var.c:74
SEACAS_DEPRECATED int ex_put_sset_var(int exoid, int time_step, int sset_var_index, ex_entity_id sset_id, int64_t num_faces_this_sset, const void *sset_var_vals)
Definition ex_put_sset_var.c:46
SEACAS_DEPRECATED int ex_put_n_node_num_map(int exoid, int64_t start_ent, int64_t num_ents, const void_int *node_map)
Definition ex_put_n_node_num_map.c:38
SEACAS_DEPRECATED int ex_get_concat_side_sets(int exoid, void_int *side_set_ids, void_int *num_elem_per_set, void_int *num_dist_per_set, void_int *side_sets_elem_index, void_int *side_sets_dist_index, void_int *side_sets_elem_list, void_int *side_sets_side_list, void *side_sets_dist_fact)
Definition ex_get_concat_side_sets.c:41
SEACAS_DEPRECATED int ex_get_n_node_num_map(int exoid, int64_t start_ent, int64_t num_ents, void_int *node_map)
Definition ex_get_n_node_num_map.c:33
SEACAS_DEPRECATED int ex_put_node_set(int exoid, ex_entity_id node_set_id, const void_int *node_set_node_list)
Definition ex_put_node_set.c:38
SEACAS_DEPRECATED int ex_get_partial_elem_map(int exoid, ex_entity_id map_id, int64_t ent_start, int64_t ent_count, void_int *elem_map)
Definition ex_get_partial_elem_map.c:17
struct ex_quadrature ex_quadrature
SEACAS_DEPRECATED int ex_get_n_conn(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, int64_t start_num, int64_t num_ent, void_int *nodeconn, void_int *edgeconn, void_int *faceconn)
Definition ex_get_n_conn.c:16
int64_t ex_entity_id
Definition exodusII.h:421
SEACAS_DEPRECATED int ex_get_side_set_param(int exoid, ex_entity_id side_set_id, void_int *num_side_in_set, void_int *num_dist_fact_in_set)
Definition ex_get_side_set_param.c:41
SEACAS_DEPRECATED int ex_get_sset_var(int exoid, int time_step, int sset_var_index, ex_entity_id sset_id, int64_t num_side_this_sset, void *sset_var_vals)
Definition ex_get_sset_var.c:40
SEACAS_DEPRECATED int ex_get_n_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int64_t start_num, int64_t num_ent, void *attrib)
Definition ex_get_n_attr.c:21
SEACAS_DEPRECATED int ex_put_elem_var(int exoid, int time_step, int elem_var_index, ex_entity_id elem_blk_id, int64_t num_elem_this_blk, const void *elem_var_vals)
Definition ex_put_elem_var.c:114
SEACAS_DEPRECATED int ex_get_node_num_map(int exoid, void_int *node_map)
Definition ex_get_node_num_map.c:63
SEACAS_DEPRECATED int ex_put_n_elem_attr(int exoid, ex_entity_id elem_blk_id, int64_t start_elem_num, int64_t num_elems, void *attrib)
Definition ex_put_n_elem_attr.c:36
SEACAS_DEPRECATED int ex_get_concat_node_sets(int exoid, void_int *node_set_ids, void_int *num_nodes_per_set, void_int *num_df_per_set, void_int *node_sets_node_index, void_int *node_sets_df_index, void_int *node_sets_node_list, void *node_sets_dist_fact)
Definition ex_get_concat_node_sets.c:103
SEACAS_DEPRECATED int ex_put_partial_node_set_df(int exoid, ex_entity_id node_set_id, int64_t start_num, int64_t num_df_to_get, void *node_set_dist_fact)
Definition ex_put_partial_node_set_df.c:40
int ex_get_idx(int exoid, const char *ne_var_name, int64_t *my_index, int pos)
Definition ex_ne_util.c:234
SEACAS_DEPRECATED int ex_get_node_map(int exoid, ex_entity_id map_id, void_int *node_map)
Definition ex_get_node_map.c:32
ex_inquiry
Definition exodusII.h:143
@ EX_INQ_ELS_LEN
Definition exodusII.h:185
@ EX_INQ_FULL_GROUP_NAME
Definition exodusII.h:204
@ EX_INQ_GROUP_PARENT
Definition exodusII.h:197
@ EX_INQ_NUM_FACE_BLOCK_VAR
Definition exodusII.h:210
@ EX_INQ_DB_VERS
Definition exodusII.h:146
@ EX_INQ_ES_PROP
Definition exodusII.h:176
@ EX_INQ_FULL_GROUP_NAME_LEN
Definition exodusII.h:203
@ EX_INQ_EM_PROP
Definition exodusII.h:166
@ EX_INQ_NS_NODE_LEN
Definition exodusII.h:153
@ EX_INQ_NUM_ELEM_BLOCK_VAR
Definition exodusII.h:211
@ EX_INQ_FILE_TYPE
Definition exodusII.h:144
@ EX_INQ_GROUP_ROOT
Definition exodusII.h:198
@ EX_INQ_EDGE
Definition exodusII.h:170
@ EX_INQ_DB_FLOAT_SIZE
Definition exodusII.h:195
@ EX_INQ_NODE_SETS
Definition exodusII.h:152
@ EX_INQ_TITLE
Definition exodusII.h:147
@ EX_INQ_DIM
Definition exodusII.h:148
@ EX_INQ_FILE_FORMAT
Definition exodusII.h:218
@ EX_INQ_FACE
Definition exodusII.h:177
@ EX_INQ_EDGE_SETS
Definition exodusII.h:172
@ EX_INQ_INFO
Definition exodusII.h:158
@ EX_INQ_EDGE_PROP
Definition exodusII.h:175
@ EX_INQ_API_VERS
Definition exodusII.h:145
@ EX_INQ_MAX_READ_NAME_LENGTH
Definition exodusII.h:193
@ EX_INQ_LIB_VERS
Definition exodusII.h:165
@ EX_INQ_NS_PROP
Definition exodusII.h:161
@ EX_INQ_NUM_FACE_SET_VAR
Definition exodusII.h:214
@ EX_INQ_GROUP_NAME_LEN
Definition exodusII.h:200
@ EX_INQ_SS_DF_LEN
Definition exodusII.h:164
@ EX_INQ_NUM_EDGE_BLOCK_VAR
Definition exodusII.h:209
@ EX_INQ_NODE_MAP
Definition exodusII.h:169
@ EX_INQ_ELEM_MAP
Definition exodusII.h:168
@ EX_INQ_SS_NODE_LEN
Definition exodusII.h:155
@ EX_INQ_BLOB
Definition exodusII.h:207
@ EX_INQ_QA
Definition exodusII.h:157
@ EX_INQ_NM_PROP
Definition exodusII.h:167
@ EX_INQ_DB_MAX_USED_NAME_LENGTH
Definition exodusII.h:192
@ EX_INQ_FS_PROP
Definition exodusII.h:183
@ EX_INQ_FS_LEN
Definition exodusII.h:180
@ EX_INQ_ELS_PROP
Definition exodusII.h:187
@ EX_INQ_EDGE_BLK
Definition exodusII.h:171
@ EX_INQ_ES_DF_LEN
Definition exodusII.h:174
@ EX_INQ_ASSEMBLY
Definition exodusII.h:206
@ EX_INQ_NUM_NODE_SET_VAR
Definition exodusII.h:212
@ EX_INQ_COORD_FRAMES
Definition exodusII.h:190
@ EX_INQ_SS_PROP
Definition exodusII.h:162
@ EX_INQ_FS_DF_LEN
Definition exodusII.h:181
@ EX_INQ_NODES
Definition exodusII.h:149
@ EX_INQ_NUM_SIDE_SET_VAR
Definition exodusII.h:216
@ EX_INQ_SIDE_SETS
Definition exodusII.h:154
@ EX_INQ_NUM_CHILD_GROUPS
Definition exodusII.h:196
@ EX_INQ_EDGE_MAP
Definition exodusII.h:188
@ EX_INQ_DB_MAX_ALLOWED_NAME_LENGTH
Definition exodusII.h:191
@ EX_INQ_INVALID
Definition exodusII.h:219
@ EX_INQ_FACE_PROP
Definition exodusII.h:182
@ EX_INQ_ELEM
Definition exodusII.h:150
@ EX_INQ_THREADSAFE
Definition exodusII.h:205
@ EX_INQ_ELS_DF_LEN
Definition exodusII.h:186
@ EX_INQ_FACE_BLK
Definition exodusII.h:178
@ EX_INQ_ES_LEN
Definition exodusII.h:173
@ EX_INQ_SS_ELEM_LEN
Definition exodusII.h:156
@ EX_INQ_TIME
Definition exodusII.h:159
@ EX_INQ_ELEM_SETS
Definition exodusII.h:184
@ EX_INQ_FACE_SETS
Definition exodusII.h:179
@ EX_INQ_FACE_MAP
Definition exodusII.h:189
@ EX_INQ_NUM_GLOBAL_VAR
Definition exodusII.h:217
@ EX_INQ_GROUP_NAME
Definition exodusII.h:201
@ EX_INQ_NUM_EDGE_SET_VAR
Definition exodusII.h:213
@ EX_INQ_ELEM_BLK
Definition exodusII.h:151
@ EX_INQ_EB_PROP
Definition exodusII.h:160
@ EX_INQ_NUM_NODE_VAR
Definition exodusII.h:208
@ EX_INQ_NUM_ELEM_SET_VAR
Definition exodusII.h:215
@ EX_INQ_NS_DF_LEN
Definition exodusII.h:163
SEACAS_DEPRECATED int ex_get_nset_var(int exoid, int time_step, int nset_var_index, ex_entity_id nset_id, int64_t num_node_this_nset, void *nset_var_vals)
Definition ex_get_nset_var.c:40
SEACAS_DEPRECATED int ex_get_node_set_dist_fact(int exoid, ex_entity_id node_set_id, void *node_set_dist_fact)
Definition ex_get_node_set_dist_fact.c:40
SEACAS_DEPRECATED int ex_get_elem_attr(int exoid, ex_entity_id elem_blk_id, void *attrib)
Definition ex_get_elem_attr.c:43
SEACAS_DEPRECATED int ex_get_partial_side_set(int exoid, ex_entity_id side_set_id, int64_t start_side_num, int64_t num_sides, void_int *side_set_elem_list, void_int *side_set_side_list)
Definition ex_get_partial_side_set.c:40
SEACAS_DEPRECATED int ex_get_partial_side_set_df(int exoid, ex_entity_id side_set_id, int64_t start_num, int64_t num_df_to_get, void *side_set_dist_fact)
Definition ex_get_partial_side_set_df.c:34
struct ex_basis ex_basis
SEACAS_DEPRECATED int ex_get_n_node_set(int exoid, ex_entity_id node_set_id, int64_t start_node_num, int64_t num_nodes, void_int *node_set_node_list)
Definition ex_get_n_node_set.c:35
SEACAS_DEPRECATED int ex_get_n_one_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int64_t start_num, int64_t num_ent, int attrib_index, void *attrib)
Definition ex_get_n_one_attr.c:27
SEACAS_DEPRECATED int ex_put_side_set_param(int exoid, ex_entity_id side_set_id, int64_t num_side_in_set, int64_t num_dist_fact_in_set)
Definition ex_put_side_set_param.c:41
SEACAS_DEPRECATED int ex_get_elem_var_time(int exoid, int elem_var_index, int64_t elem_number, int beg_time_step, int end_time_step, void *elem_var_vals)
Definition ex_get_elem_var_time.c:112
int exoptval
SEACAS_DEPRECATED int ex_get_one_elem_attr(int exoid, ex_entity_id elem_blk_id, int attrib_index, void *attrib)
Definition ex_get_one_elem_attr.c:32
char * ex_copy_string(char *dest, char const *source, size_t elements)
Definition ex_utils.c:2447
SEACAS_DEPRECATED int ex_get_node_set_param(int exoid, ex_entity_id node_set_id, void_int *num_nodes_in_set, void_int *num_df_in_set)
Definition ex_get_node_set_param.c:67
SEACAS_DEPRECATED int ex_put_n_node_set_df(int exoid, ex_entity_id node_set_id, int64_t start_num, int64_t num_df_to_get, void *node_set_dist_fact)
Definition ex_put_n_node_set_df.c:36
struct ex_blob ex_blob
struct ex_block ex_block
struct ex_set_specs ex_set_specs
struct ex_init_params ex_init_params
struct ex_var_params ex_var_params
ex_type
Definition exodusII.h:461
struct ex_attribute ex_attribute
struct ex_assembly ex_assembly
struct ex_set ex_set
struct ex_block_params ex_block_params
@ EX_CHAR
Definition exodusII.h:461
@ EX_DOUBLE
Definition exodusII.h:461
@ EX_INTEGER
Definition exodusII.h:461
ex_error_return_code
Definition exodusII.h:1946
@ EX_NULLENTITY
Definition exodusII.h:1961
@ EX_DUPLICATEID
Definition exodusII.h:1954
@ EX_MSG
Definition exodusII.h:1957
@ EX_DUPLICATEOPEN
Definition exodusII.h:1955
@ EX_BADFILEID
Definition exodusII.h:1949
@ EX_INTERNAL
Definition exodusII.h:1953
@ EX_WARN
Definition exodusII.h:1969
@ EX_BADFILENAME
Definition exodusII.h:1956
@ EX_NOTFOUND
Definition exodusII.h:1963
@ EX_NOENTITY
Definition exodusII.h:1962
@ EX_NOTROOTID
Definition exodusII.h:1959
@ EX_PRTLASTMSG
Definition exodusII.h:1958
@ EX_WRONGFILETYPE
Definition exodusII.h:1950
@ EX_BADPARAM
Definition exodusII.h:1952
@ EX_LASTERR
Definition exodusII.h:1960
@ EX_FATAL
Definition exodusII.h:1967
@ EX_MEMFAIL
Definition exodusII.h:1947
@ EX_LOOKUPFAIL
Definition exodusII.h:1951
@ EX_NOERR
Definition exodusII.h:1968
@ EX_INTSIZEMISMATCH
Definition exodusII.h:1964
@ EX_BADFILEMODE
Definition exodusII.h:1948
ex_compression_type
Definition exodusII.h:257
ex_option_type
Definition exodusII.h:243
@ EX_COMPRESS_ZLIB
Definition exodusII.h:258
@ EX_COMPRESS_ZSTD
Definition exodusII.h:261
@ EX_COMPRESS_SZIP
Definition exodusII.h:260
@ EX_COMPRESS_GZIP
Definition exodusII.h:259
@ EX_COMPRESS_BZ2
Definition exodusII.h:262
@ EX_OPT_QUANTIZE_NSD
Definition exodusII.h:249
@ EX_OPT_COMPRESSION_LEVEL
Definition exodusII.h:247
@ EX_OPT_MAX_NAME_LENGTH
Definition exodusII.h:244
@ EX_OPT_INTEGER_SIZE_API
Definition exodusII.h:251
@ EX_OPT_INTEGER_SIZE_DB
Definition exodusII.h:252
@ EX_OPT_COMPRESSION_SHUFFLE
Definition exodusII.h:248
@ EX_OPT_COMPRESSION_TYPE
Definition exodusII.h:246
int ex_field_cardinality(const ex_field_type field_type)
Definition ex_field_utils.c:357
int ex_put_set_param(int exoid, ex_entity_type set_type, ex_entity_id set_id, int64_t num_entries_in_set, int64_t num_dist_fact_in_set)
Definition ex_put_set_param.c:39
int ex_put_node_cmap(int exoid, ex_entity_id map_id, const void_int *node_ids, const void_int *proc_ids, int processor)
Definition ex_put_node_cmap.c:33
int ex_put_partial_set(int exoid, ex_entity_type set_type, ex_entity_id set_id, int64_t offset, int64_t num_to_put, const void_int *set_entry_list, const void_int *set_extra_list)
Definition ex_put_partial_set.c:43
int ex_put_init_global(int exoid, int64_t num_nodes_g, int64_t num_elems_g, int64_t num_elem_blks_g, int64_t num_node_sets_g, int64_t num_side_sets_g)
Definition ex_put_init_global.c:41
int ex_put_partial_set_dist_fact(int exoid, ex_entity_type set_type, ex_entity_id set_id, int64_t offset, int64_t num_to_put, const void *set_dist_fact)
Definition ex_put_partial_set_dist_fact.c:42
int ex_put_names(int exoid, ex_entity_type obj_type, char *const names[])
Definition ex_put_names.c:37
int ex_get_block_params(int exoid, size_t block_count, struct ex_block **blocks)
Definition ex_get_block_params.c:23
int ex_put_ss_param_global(int exoid, const void_int *global_ids, const void_int *side_cnts, const void_int *df_cnts)
Definition ex_put_ss_param_global.c:32
int ex_get_partial_one_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int64_t start_num, int64_t num_ent, int attrib_index, void *attrib)
Definition ex_get_partial_one_attr.c:46
int ex_get_assembly(int exoid, struct ex_assembly *assembly)
Definition ex_get_assembly.c:18
int ex_put_loadbal_param_cc(int exoid, const void_int *num_int_nodes, const void_int *num_bor_nodes, const void_int *num_ext_nodes, const void_int *num_int_elems, const void_int *num_bor_elems, const void_int *num_node_cmaps, const void_int *num_elem_cmaps)
Definition ex_put_loadbal_param_cc.c:49
int ex_get_init_info(int exoid, int *num_proc, int *num_proc_in_f, char *ftype)
Definition ex_get_init_info.c:33
int ex_put_attribute(int exoid, const ex_attribute attributes)
Definition ex_put_attribute.c:169
int ex_get_coord_names(int exoid, char **coord_names)
Definition ex_get_coord_names.c:46
int ex_put_field_metadata(int exoid, const ex_field field)
Definition ex_put_field_metadata.c:57
const char * ex_field_type_enum_to_string(const ex_field_type field_type)
Definition ex_field_utils.c:493
int ex_get_coordinate_frames(int exoid, int *nframes, void_int *cf_ids, void *pt_coordinates, char *tags)
Definition ex_get_coordinate_frames.c:97
int ex_get_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, void *attrib)
Definition ex_get_attr.c:33
int ex_get_map(int exoid, void_int *elem_map)
Definition ex_get_map.c:44
int ex_get_concat_sets(int exoid, ex_entity_type set_type, struct ex_set_specs *set_specs)
Definition ex_get_concat_sets.c:32
int ex_get_coord(int exoid, void *x_coor, void *y_coor, void *z_coor)
Definition ex_get_coord.c:71
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)
Definition ex_put_conn.c:44
int ex_put_init_ext(int exoid, const ex_init_params *model)
Definition ex_put_init_ext.c:210
int ex_get_elem_type(int exoid, ex_entity_id elem_blk_id, char *elem_type)
Definition ex_get_elem_type.c:30
int ex_get_processor_elem_maps(int exoid, void_int *elem_mapi, void_int *elem_mapb, int processor)
Definition ex_get_processor_elem_maps.c:29
int ex_get_block_id_map(int exoid, ex_entity_type map_type, ex_entity_id entity_id, void_int *map)
Definition ex_get_block_id_map.c:29
int ex_put_basis(int exoid, const ex_basis basis)
Definition ex_put_field_metadata.c:166
int ex_get_partial_coord_component(int exoid, int64_t start_node_num, int64_t num_nodes, int component, void *coor)
Definition ex_get_partial_coord_component.c:28
int ex_get_block_param(int exoid, ex_block *block)
Definition ex_get_block_param.c:36
int ex_create_group(int parent_id, const char *group_name)
Definition ex_create_group.c:17
int ex_put_one_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int attrib_index, const void *attrib)
Definition ex_put_one_attr.c:37
int ex_put_prop_names(int exoid, ex_entity_type obj_type, int num_props, char **prop_names)
Definition ex_put_prop_names.c:97
int ex_get_concat_side_set_node_count(int exoid, int *side_set_node_cnt_list)
Definition ex_get_concat_side_set_node_count.c:28
int ex_get_num_map(int exoid, ex_entity_type map_type, ex_entity_id map_id, void_int *map)
Definition ex_get_num_map.c:33
int ex_get_set(int exoid, ex_entity_type set_type, ex_entity_id set_id, void_int *set_entry_list, void_int *set_extra_list)
Definition ex_get_set.c:23
int ex_put_partial_conn(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, int64_t start_num, int64_t num_ent, const void_int *nodeconn, const void_int *edgeconn, const void_int *faceconn)
Definition ex_put_partial_conn.c:37
int ex_get_init_global(int exoid, void_int *num_nodes_g, void_int *num_elems_g, void_int *num_elem_blks_g, void_int *num_node_sets_g, void_int *num_side_sets_g)
Definition ex_get_init_global.c:63
int ex_put_coordinate_frames(int exoid, int nframes, const void_int *cf_ids, const void *pt_coordinates, const char *tags)
Definition ex_put_coordinate_frames.c:30
int ex_put_ns_param_global(int exoid, const void_int *global_ids, const void_int *node_cnts, const void_int *df_cnts)
Definition ex_put_ns_param_global.c:32
int ex_put_init_info(int exoid, int num_proc, int num_proc_in_f, const char *ftype)
Definition ex_put_init_info.c:34
int ex_put_partial_coord_component(int exoid, int64_t start_node_num, int64_t num_nodes, int component, const void *coor)
Definition ex_put_partial_coord_component.c:22
int ex_put_coord_names(int exoid, char *const coord_names[])
Definition ex_put_coord_names.c:46
int ex_put_map(int exoid, const void_int *elem_map)
Definition ex_put_map.c:59
int ex_put_map_param(int exoid, int num_node_maps, int num_elem_maps)
Definition ex_put_map_param.c:37
int ex_put_num_map(int exoid, ex_entity_type map_type, ex_entity_id map_id, const void_int *map)
Definition ex_put_num_map.c:38
int ex_get_map_param(int exoid, int *num_node_maps, int *num_elem_maps)
Definition ex_get_map_param.c:31
int ex_put_partial_one_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int64_t start_num, int64_t num_ent, int attrib_index, const void *attrib)
Definition ex_put_partial_one_attr.c:39
int ex_get_partial_set(int exoid, ex_entity_type set_type, ex_entity_id set_id, int64_t offset, int64_t num_to_get, void_int *set_entry_list, void_int *set_extra_list)
Definition ex_get_partial_set.c:25
int ex_put_sets(int exoid, size_t set_count, const struct ex_set *sets)
Definition ex_put_sets.c:19
int ex_put_double_attribute(int exoid, ex_entity_type obj_type, ex_entity_id id, const char *atr_name, int num_values, const double *values)
Definition ex_put_attribute.c:26
int ex_get_eb_info_global(int exoid, void_int *el_blk_ids, void_int *el_blk_cnts)
Definition ex_get_eb_info_global.c:28
int ex_put_field_suffices(int exoid, const ex_field field, const char *suffices)
Definition ex_put_field_metadata.c:286
int ex_put_cmap_params(int exoid, const void_int *node_cmap_ids, const void_int *node_cmap_node_cnts, const void_int *elem_cmap_ids, const void_int *elem_cmap_elem_cnts, int64_t processor)
Definition ex_put_cmap_params.c:38
int ex_get_elem_cmap(int exoid, ex_entity_id map_id, void_int *elem_ids, void_int *side_ids, void_int *proc_ids, int processor)
Definition ex_get_elem_cmap.c:34
int ex_put_elem_cmap(int exoid, ex_entity_id map_id, const void_int *elem_ids, const void_int *side_ids, const void_int *proc_ids, int processor)
Definition ex_put_elem_cmap.c:33
int ex_get_names(int exoid, ex_entity_type obj_type, char **names)
Definition ex_get_names.c:32
int ex_put_processor_elem_maps(int exoid, const void_int *elem_mapi, const void_int *elem_mapb, int processor)
Definition ex_put_processor_elem_maps.c:29
int ex_get_set_param(int exoid, ex_entity_type set_type, ex_entity_id set_id, void_int *num_entry_in_set, void_int *num_dist_fact_in_set)
Definition ex_get_set_param.c:36
int ex_get_partial_set_dist_fact(int exoid, ex_entity_type set_type, ex_entity_id set_id, int64_t offset, int64_t num_to_put, void *set_dist_fact)
Definition ex_get_partial_set_dist_fact.c:16
int ex_put_block_param(int exoid, const ex_block block)
Definition ex_put_block_param.c:17
int ex_get_processor_node_maps(int exoid, void_int *node_mapi, void_int *node_mapb, void_int *node_mape, int processor)
Definition ex_get_processor_node_maps.c:32
int ex_get_prop_array(int exoid, ex_entity_type obj_type, const char *prop_name, void_int *values)
Definition ex_get_prop_array.c:87
int ex_get_partial_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int64_t start_num, int64_t num_ent, void *attrib)
Definition ex_get_partial_attr.c:45
int ex_get_side_set_node_count(int exoid, ex_entity_id side_set_id, int *side_set_node_cnt_list)
Definition ex_get_side_set_node_count.c:27
int ex_get_attribute(int exoid, ex_attribute *attributes)
Definition ex_get_attribute.c:198
int ex_put_coord(int exoid, const void *x_coor, const void *y_coor, const void *z_coor)
Definition ex_put_coord.c:87
int ex_get_field_metadata(int exoid, ex_field *field)
Definition ex_get_field_metadata.c:120
int ex_put_processor_node_maps(int exoid, const void_int *node_mapi, const void_int *node_mapb, const void_int *node_mape, int proc_id)
Definition ex_put_processor_node_maps.c:29
int ex_add_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int64_t num_attr_per_entry)
Definition ex_add_attr.c:11
int ex_put_prop(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, const char *prop_name, ex_entity_id value)
Definition ex_put_prop.c:77
int ex_get_field_suffices(int exoid, const ex_field field, char *suffices)
int ex_put_attributes(int exoid, size_t attr_count, const ex_attribute *attributes)
Definition ex_put_attribute.c:195
int ex_put_concat_elem_block(int exoid, const void_int *elem_blk_id, char *const elem_type[], const void_int *num_elem_this_blk, const void_int *num_nodes_per_elem, const void_int *num_attr_this_blk, int define_maps)
Definition ex_put_concat_elem_block.c:36
int ex_get_attributes(int exoid, size_t count, ex_attribute *attributes)
Definition ex_get_attribute.c:252
int ex_get_loadbal_param(int exoid, void_int *num_int_nodes, void_int *num_bor_nodes, void_int *num_ext_nodes, void_int *num_int_elems, void_int *num_bor_elems, void_int *num_node_cmaps, void_int *num_elem_cmaps, int processor)
Definition ex_get_loadbal_param.c:37
int ex_get_blob(int exoid, struct ex_blob *blob)
Definition ex_get_blob.c:18
int ex_get_sets(int exoid, size_t set_count, struct ex_set *sets)
Definition ex_get_sets.c:12
int ex_get_partial_conn(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, int64_t start_num, int64_t num_ent, void_int *nodeconn, void_int *edgeconn, void_int *faceconn)
Definition ex_get_partial_conn.c:38
int ex_get_quadrature_count(int exoid)
Definition ex_get_field_metadata.c:265
int ex_get_init_ext(int exoid, ex_init_params *info)
Definition ex_get_init_ext.c:81
int ex_put_attr(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, const void *attrib)
Definition ex_put_attr.c:37
int ex_put_prop_array(int exoid, ex_entity_type obj_type, const char *prop_name, const void_int *values)
Definition ex_put_prop_array.c:71
int ex_initialize_quadrature_struct(ex_quadrature *quad, size_t num_quad, int mode)
Definition ex_field_utils.c:143
int ex_put_text_attribute(int exoid, ex_entity_type obj_type, ex_entity_id id, const char *atr_name, const char *value)
Definition ex_put_attribute.c:124
int ex_put_name(int exoid, ex_entity_type obj_type, ex_entity_id entity_id, const char *name)
Definition ex_put_name.c:85
int ex_put_loadbal_param(int exoid, int64_t num_int_nodes, int64_t num_bor_nodes, int64_t num_ext_nodes, int64_t num_int_elems, int64_t num_bor_elems, int64_t num_node_cmaps, int64_t num_elem_cmaps, int processor)
Definition ex_put_loadbal_param.c:38
const char * ex_field_type_name(const ex_field_type field_type)
Definition ex_field_utils.c:527
int ex_put_assembly(int exoid, const struct ex_assembly assembly)
Definition ex_put_assembly.c:20
int ex_put_eb_info_global(int exoid, const void_int *el_blk_ids, const void_int *el_blk_cnts)
Definition ex_put_eb_info_global.c:29
int ex_put_blobs(int exoid, size_t count, const struct ex_blob *blobs)
Definition ex_put_blobs.c:19
int ex_get_side_set_node_list_len(int exoid, ex_entity_id side_set_id, void_int *side_set_node_list_len)
Definition ex_get_side_set_node_list_len.c:36
int ex_put_concat_all_blocks(int exoid, const ex_block_params *param)
Definition ex_put_concat_all_blocks.c:27
int ex_put_init(int exoid, const char *title, int64_t num_dim, int64_t num_nodes, int64_t num_elem, int64_t num_elem_blk, int64_t num_node_sets, int64_t num_side_sets)
Definition ex_put_init.c:53
int ex_put_partial_num_map(int exoid, ex_entity_type map_type, ex_entity_id map_id, int64_t ent_start, int64_t ent_count, const void_int *map)
Definition ex_put_partial_num_map.c:34
int ex_put_entity_count_per_polyhedra(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, const int *entity_counts)
Definition ex_put_entity_count_per_polyhedra.c:26
int ex_initialize_basis_struct(ex_basis *basis, size_t num_basis, int mode)
Definition ex_field_utils.c:94
int ex_put_quadrature(int exoid, const ex_quadrature quad)
Definition ex_put_field_metadata.c:235
int ex_get_side_set_node_list(int exoid, ex_entity_id side_set_id, void_int *side_set_node_cnt_list, void_int *side_set_node_list)
Definition ex_get_side_set_node_list.c:58
int ex_get_basis_count(int exoid)
Definition ex_get_field_metadata.c:263
int ex_get_field_metadata_count(int exoid, ex_entity_type obj_type, ex_entity_id id)
Definition ex_get_field_metadata.c:84
int ex_get_partial_num_map(int exoid, ex_entity_type map_type, ex_entity_id map_id, int64_t ent_start, int64_t ent_count, void_int *map)
Definition ex_get_partial_num_map.c:34
int ex_get_set_dist_fact(int exoid, ex_entity_type set_type, ex_entity_id set_id, void *set_dist_fact)
Definition ex_get_set_dist_fact.c:33
const char * ex_field_component_suffix(ex_field *field, int nest_level, int component)
Definition ex_field_utils.c:181
int ex_get_block(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, char *elem_type, void_int *num_entries_this_blk, void_int *num_nodes_per_entry, void_int *num_edges_per_entry, void_int *num_faces_per_entry, void_int *num_attr_per_entry)
Definition ex_get_block.c:36
int ex_get_attribute_count(int exoid, ex_entity_type obj_type, ex_entity_id id)
Definition ex_get_attribute.c:98
int ex_get_quadrature(int exoid, ex_quadrature **pquad, int *num_quad)
Definition ex_get_field_metadata.c:423
int ex_get_partial_coord(int exoid, int64_t start_node_num, int64_t num_nodes, void *x_coor, void *y_coor, void *z_coor)
Definition ex_get_partial_coord.c:52
int ex_put_multi_field_metadata(int exoid, const ex_field *field, const int field_count)
int ex_put_cmap_params_cc(int exoid, const void_int *node_cmap_ids, const void_int *node_cmap_node_cnts, const void_int *node_proc_ptrs, const void_int *elem_cmap_ids, const void_int *elem_cmap_elem_cnts, const void_int *elem_proc_ptrs)
Definition ex_put_cmap_params_cc.c:38
int ex_put_block_params(int exoid, size_t block_count, const struct ex_block *blocks)
Definition ex_put_block_params.c:21
int ex_get_entity_count_per_polyhedra(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, int *entity_counts)
Definition ex_get_entity_count_per_polyhedra.c:26
int ex_put_attr_param(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int num_attrs)
Definition ex_put_attr_param.c:35
int ex_get_prop(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, const char *prop_name, void_int *value)
Definition ex_get_prop.c:55
int ex_get_init(int exoid, char *title, void_int *num_dim, void_int *num_nodes, void_int *num_elem, void_int *num_elem_blk, void_int *num_node_sets, void_int *num_side_sets)
Definition ex_get_init.c:75
int ex_get_ids(int exoid, ex_entity_type obj_type, void_int *ids)
Definition ex_get_ids.c:101
int ex_get_cmap_params(int exoid, void_int *node_cmap_ids, void_int *node_cmap_node_cnts, void_int *elem_cmap_ids, void_int *elem_cmap_elem_cnts, int processor)
Definition ex_get_cmap_params.c:38
int ex_put_assemblies(int exoid, size_t count, const struct ex_assembly *assemblies)
Definition ex_put_assemblies.c:19
ex_field_type ex_string_to_field_type_enum(const char *field_name)
Definition ex_field_utils.c:403
int ex_get_one_attr(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int attrib_index, void *attrib)
Definition ex_get_one_attr.c:32
int ex_put_block(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, const char *entry_descrip, int64_t num_entries_this_blk, int64_t num_nodes_per_entry, int64_t num_edges_per_entry, int64_t num_faces_per_entry, int64_t num_attr_per_entry)
Definition ex_put_block.c:47
int ex_put_set_dist_fact(int exoid, ex_entity_type set_type, ex_entity_id set_id, const void *set_dist_fact)
Definition ex_put_set_dist_fact.c:37
int ex_get_partial_id_map(int exoid, ex_entity_type map_type, int64_t start_entity_num, int64_t num_entities, void_int *map)
Definition ex_get_partial_id_map.c:29
int ex_get_blobs(int exoid, struct ex_blob *blobs)
Definition ex_get_blobs.c:18
int ex_get_attr_names(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, char **names)
Definition ex_get_attr_names.c:33
int ex_get_ns_param_global(int exoid, void_int *global_ids, void_int *node_cnts, void_int *df_cnts)
Definition ex_get_ns_param_global.c:30
int ex_put_set(int exoid, ex_entity_type set_type, ex_entity_id set_id, const void_int *set_entry_list, const void_int *set_extra_list)
Definition ex_put_set.c:41
int ex_get_name(int exoid, ex_entity_type obj_type, ex_entity_id entity_id, char *name)
Definition ex_get_name.c:33
int ex_get_attribute_param(int exoid, ex_entity_type obj_type, ex_entity_id id, ex_attribute *attributes)
Definition ex_get_attribute.c:147
int ex_get_assemblies(int exoid, struct ex_assembly *assemblies)
Definition ex_get_assemblies.c:18
int ex_get_ss_param_global(int exoid, void_int *global_ids, void_int *side_cnts, void_int *df_cnts)
Definition ex_get_ss_param_global.c:30
int ex_put_integer_attribute(int exoid, ex_entity_type obj_type, ex_entity_id id, const char *atr_name, int num_values, const void_int *values)
Definition ex_put_attribute.c:72
int ex_put_attr_names(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, char **names)
int ex_get_attr_param(int exoid, ex_entity_type obj_type, ex_entity_id obj_id, int *num_attrs)
Definition ex_get_attr_param.c:31
int ex_put_concat_sets(int exoid, ex_entity_type set_type, const struct ex_set_specs *set_specs)
Definition ex_put_concat_sets.c:37
int ex_put_partial_node_cmap(int exoid, ex_entity_id map_id, int64_t start_entity_num, int64_t num_entities, const void_int *node_ids, const void_int *proc_ids, int processor)
Definition ex_put_partial_node_cmap.c:42
int ex_put_id_map(int exoid, ex_entity_type map_type, const void_int *map)
Definition ex_put_id_map.c:37
int ex_get_conn(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, void_int *nodeconn, void_int *edgeconn, void_int *faceconn)
Definition ex_get_conn.c:29
int ex_get_id_map(int exoid, ex_entity_type map_type, void_int *map)
Definition ex_get_id_map.c:29
int ex_put_partial_attr(int exoid, ex_entity_type blk_type, ex_entity_id blk_id, int64_t start_entity, int64_t num_entity, const void *attrib)
Definition ex_put_partial_attr.c:39
int ex_put_partial_coord(int exoid, int64_t start_node_num, int64_t num_nodes, const void *x_coor, const void *y_coor, const void *z_coor)
Definition ex_put_partial_coord.c:45
int ex_get_prop_names(int exoid, ex_entity_type obj_type, char **prop_names)
Definition ex_get_prop_names.c:78
int ex_put_partial_id_map(int exoid, ex_entity_type map_type, int64_t start_entity_num, int64_t num_entities, const void_int *map)
Definition ex_put_partial_id_map.c:39
int ex_put_blob(int exoid, const struct ex_blob blob)
Definition ex_put_blob.c:20
int ex_get_basis(int exoid, ex_basis **pbasis, int *num_basis)
Definition ex_get_field_metadata.c:267
int ex_get_node_cmap(int exoid, ex_entity_id map_id, void_int *node_ids, void_int *proc_ids, int processor)
Definition ex_get_node_cmap.c:31
const char * ex_component_field_name(ex_field *field, int component[EX_MAX_FIELD_NESTING])
Definition ex_field_utils.c:66
int ex_get_time(int exoid, int time_step, void *time_value)
Definition ex_get_time.c:51
int ex_put_reduction_variable_param(int exoid, ex_entity_type obj_type, int num_vars)
Definition ex_put_reduction_variable_param.c:122
SEACAS_DEPRECATED int ex_get_n_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t start_node, int64_t num_nodes, void *var_vals)
Definition ex_get_n_nodal_var.c:18
int ex_put_all_var_param_ext(int exoid, const ex_var_params *vp)
Definition ex_put_all_var_param_ext.c:67
int ex_get_var_time(int exoid, ex_entity_type var_type, int var_index, ex_entity_id id, int beg_time_step, int end_time_step, void *var_vals)
Definition ex_get_var_time.c:44
int ex_get_object_truth_vector(int exoid, ex_entity_type obj_type, ex_entity_id entity_id, int num_var, int *var_vec)
Definition ex_get_object_truth_vector.c:24
SEACAS_DEPRECATED int ex_put_var_param(int exoid, const char *var_type, int num_vars)
Definition ex_put_var_param.c:38
int ex_put_reduction_vars(int exoid, int time_step, ex_entity_type obj_type, ex_entity_id obj_id, int64_t num_variables, const void *var_vals)
Definition ex_put_reduction_vars.c:182
int ex_get_reduction_vars(int exoid, int time_step, ex_entity_type obj_type, ex_entity_id obj_id, int64_t num_variables, void *var_vals)
Definition ex_get_reduction_vars.c:66
int ex_get_reduction_variable_param(int exoid, ex_entity_type obj_type, int *num_vars)
Definition ex_get_reduction_variable_param.c:56
int ex_put_reduction_variable_names(int exoid, ex_entity_type obj_type, int num_vars, char *const var_names[])
Definition ex_put_reduction_variable_names.c:122
int ex_get_var(int exoid, int time_step, ex_entity_type var_type, int var_index, ex_entity_id obj_id, int64_t num_entry_this_obj, void *var_vals)
Definition ex_get_var.c:68
int ex_put_time(int exoid, int time_step, const void *time_value)
Definition ex_put_time.c:51
int ex_put_variable_name(int exoid, ex_entity_type obj_type, int var_num, const char *var_name)
Definition ex_put_variable_name.c:39
int ex_put_variable_names(int exoid, ex_entity_type obj_type, int num_vars, char *const var_names[])
Definition ex_put_variable_names.c:125
int ex_get_all_times(int exoid, void *time_values)
Definition ex_get_all_times.c:55
int ex_put_var_multi_time(int exoid, ex_entity_type var_type, int var_index, ex_entity_id obj_id, int64_t num_entries_this_obj, int beg_time_step, int end_time_step, const void *var_vals)
Definition ex_put_var_multi_time.c:240
SEACAS_DEPRECATED int ex_get_var_tab(int exoid, const char *var_type, int num_blk, int num_var, int *var_tab)
Definition ex_get_var_tab.c:34
int ex_put_partial_var(int exoid, int time_step, ex_entity_type var_type, int var_index, ex_entity_id obj_id, int64_t start_index, int64_t num_entities, const void *var_vals)
Definition ex_put_partial_var.c:184
SEACAS_DEPRECATED int ex_put_var_tab(int exoid, const char *var_type, int num_blk, int num_var, int *var_tab)
Definition ex_put_var_tab.c:49
SEACAS_DEPRECATED int ex_put_n_nodal_var(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_n_nodal_var.c:49
SEACAS_DEPRECATED int ex_put_nodal_var_slab(int exoid, int time_step, int nodal_var_index, int64_t start_pos, int64_t num_vals, void *nodal_var_vals)
Definition ex_put_nodal_var_slab.c:44
int ex_get_var_multi_time(int exoid, ex_entity_type var_type, int var_index, ex_entity_id obj_id, int64_t num_entry_this_obj, int beg_time_step, int end_time_step, void *var_vals)
Definition ex_get_var_multi_time.c:67
SEACAS_DEPRECATED int ex_get_var_param(int exoid, const char *var_type, int *num_vars)
Definition ex_get_var_param.c:35
SEACAS_DEPRECATED int ex_put_partial_nodal_var(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.c:47
SEACAS_DEPRECATED int ex_get_n_var(int exoid, int time_step, ex_entity_type var_type, int var_index, ex_entity_id obj_id, int64_t start_index, int64_t num_entities, void *var_vals)
Definition ex_get_n_var.c:36
int ex_get_reduction_variable_name(int exoid, ex_entity_type obj_type, int var_num, char *var_name)
Definition ex_get_reduction_variable_name.c:18
SEACAS_DEPRECATED int ex_get_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t num_nodes, void *nodal_var_vals)
Definition ex_get_nodal_var.c:72
SEACAS_DEPRECATED int ex_put_n_var(int exoid, int time_step, ex_entity_type var_type, int var_index, ex_entity_id obj_id, int64_t start_index, int64_t num_entities, const void *var_vals)
Definition ex_put_n_var.c:55
int ex_get_reduction_variable_names(int exoid, ex_entity_type obj_type, int num_vars, char *var_names[])
Definition ex_get_reduction_variable_names.c:66
int ex_get_partial_var(int exoid, int time_step, ex_entity_type var_type, int var_index, ex_entity_id obj_id, int64_t start_index, int64_t num_entities, void *var_vals)
Definition ex_get_partial_var.c:34
int ex_get_truth_table(int exoid, ex_entity_type obj_type, int num_blk, int num_var, int *var_tab)
Definition ex_get_truth_table.c:37
int ex_get_variable_names(int exoid, ex_entity_type obj_type, int num_vars, char *var_names[])
Definition ex_get_variable_names.c:67
int ex_put_all_var_param(int exoid, int num_g, int num_n, int num_e, const int *elem_var_tab, int num_m, const int *nset_var_tab, int num_s, const int *sset_var_tab)
Definition ex_put_all_var_param.c:45
SEACAS_DEPRECATED int ex_get_n_elem_var(int exoid, int time_step, int elem_var_index, ex_entity_id elem_blk_id, int64_t num_elem_this_blk, int64_t start_elem_num, int64_t num_elem, void *elem_var_vals)
Definition ex_get_n_elem_var.c:18
SEACAS_DEPRECATED int ex_get_var_name(int exoid, const char *var_type, int var_num, char *var_name)
Definition ex_get_var_name.c:35
SEACAS_DEPRECATED int ex_get_glob_vars(int exoid, int time_step, int num_glob_vars, void *glob_var_vals)
Definition ex_get_glob_vars.c:78
SEACAS_DEPRECATED int ex_put_var_name(int exoid, const char *var_type, int var_num, const char *var_name)
Definition ex_put_var_name.c:39
SEACAS_DEPRECATED int ex_get_partial_elem_var(int exoid, int time_step, int elem_var_index, ex_entity_id elem_blk_id, int64_t num_elem_this_blk, int64_t start_elem_num, int64_t num_elem, void *elem_var_vals)
Definition ex_get_partial_elem_var.c:48
int ex_get_variable_name(int exoid, ex_entity_type obj_type, int var_num, char *var_name)
Definition ex_get_variable_name.c:35
SEACAS_DEPRECATED int ex_get_var_names(int exoid, const char *var_type, int num_vars, char *var_names[])
Definition ex_get_var_names.c:35
int ex_put_variable_param(int exoid, ex_entity_type obj_type, int num_vars)
Definition ex_put_variable_param.c:124
SEACAS_DEPRECATED int ex_get_partial_nodal_var(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.c:45
int ex_put_truth_table(int exoid, ex_entity_type obj_type, int num_blk, int num_var, const int *var_tab)
Definition ex_put_truth_table.c:67
int ex_get_variable_param(int exoid, ex_entity_type obj_type, int *num_vars)
Definition ex_get_variable_param.c:73
int ex_put_var(int exoid, int time_step, ex_entity_type var_type, int var_index, ex_entity_id obj_id, int64_t num_entries_this_obj, const void *var_vals)
Definition ex_put_var.c:77
SEACAS_DEPRECATED int ex_put_var_names(int exoid, const char *var_type, int num_vars, char *var_names[])
Definition ex_put_var_names.c:39
int ex_put_reduction_variable_name(int exoid, ex_entity_type obj_type, int var_num, const char *var_name)
Definition ex_put_reduction_variable_name.c:39
#define MAX_ERR_LENGTH
Definition exodusII.h:417
#define MAX_STR_LENGTH
Definition exodusII.h:409
#define MAX_LINE_LENGTH
Definition exodusII.h:415
int ex_open_int(const char *rel_path, int mode, int *comp_ws, int *io_ws, float *version, int run_version)
Definition ex_open.c:102
int64_t ex_inquire_int(int exoid, ex_inquiry req_info)
Definition ex_inquire.c:1029
int ex_cvt_nodes_to_sides(int exoid, void_int *num_elem_per_set, void_int *num_nodes_per_set, void_int *side_sets_elem_index, void_int *side_sets_node_index, void_int *side_sets_elem_list, void_int *side_sets_node_list, void_int *side_sets_side_list)
Definition ex_cvt_nodes_to_sides.c:168
void ex_get_err(const char **msg, const char **func, int *err_num)
Definition ex_err.c:299
int ex_set_max_name_length(int exoid, int length)
Definition ex_utils.c:255
int ex_get_group_id(int parent_id, const char *group_name, int *group_id)
Definition ex_get_group_id.c:21
void ex_set_err(const char *module_name, const char *message, int err_num)
Definition ex_err.c:282
int ex_put_qa(int exoid, int num_qa_records, char *qa_record[][4])
Definition ex_put_qa.c:63
int ex_copy_transient(int in_exoid, int out_exoid)
Definition ex_copy.c:169
unsigned ex_int64_status(int exoid)
Definition ex_conv.c:341
size_t ex_header_size(int exoid)
Definition ex_utils.c:1702
void ex_err(const char *module_name, const char *message, int err_num)
Definition ex_err.c:90
int ex_get_info(int exoid, char **info)
Definition ex_get_info.c:48
int ex_set_int64_status(int exoid, int mode)
Definition ex_conv.c:375
int ex_opts(int options)
Definition ex_opts.c:56
int ex_inquire(int exoid, ex_inquiry req_info, void_int *ret_int, float *ret_float, char *ret_char)
Definition ex_inquire.c:1095
int ex_put_info(int exoid, int num_info, char *const info[])
Definition ex_put_info.c:73
int ex_large_model(int exoid)
Definition ex_utils.c:1638
int ex_set_option(int exoid, ex_option_type option, int option_value)
Definition ex_conv.c:416
int ex_set_parallel(int exoid, int is_parallel)
Definition ex_conv.c:592
int ex_close(int exoid)
Definition ex_close.c:47
void ex_print_config(void)
Definition ex_utils.c:177
int ex_create_int(const char *rel_path, int cmode, int *comp_ws, int *io_ws, int run_version)
Definition ex_create.c:133
int ex_get_group_ids(int parent_id, int *num_groups, int *group_ids)
Definition ex_get_group_ids.c:19
void ex_err_fn(int exoid, const char *module_name, const char *message, int err_num)
Definition ex_err.c:192
const char * ex_strerror(int err_num)
Definition ex_err.c:332
int ex_copy(int in_exoid, int out_exoid)
Definition ex_copy.c:151
int ex_get_qa(int exoid, char *qa_record[][4])
Definition ex_get_qa.c:56
const char * ex_config(void)
Definition ex_utils.c:69
int ex_get_num_props(int exoid, ex_entity_type obj_type)
Definition ex_utils.c:1333
int ex_update(int exoid)
Definition ex_update.c:30
Definition exodusII.h:483
ex_entity_id * entity_list
Definition exodusII.h:488
char * name
Definition exodusII.h:485
ex_entity_type type
Definition exodusII.h:486
int entity_count
Definition exodusII.h:487
ex_entity_id id
Definition exodusII.h:484
Definition exodusII.h:466
ex_type type
Definition exodusII.h:470
char name[EX_MAX_NAME+1]
Definition exodusII.h:469
ex_entity_type entity_type
Definition exodusII.h:467
int value_count
Definition exodusII.h:471
void * values
Definition exodusII.h:472
int64_t entity_id
Definition exodusII.h:468
Definition exodusII.h:345
int * subc_ordinal
Definition exodusII.h:364
int cardinality
Definition exodusII.h:362
double * xi
Definition exodusII.h:367
int * subc_dof_ordinal
Definition exodusII.h:365
int * subc_num_dof
Definition exodusII.h:366
double * eta
Definition exodusII.h:368
int * subc_dim
Definition exodusII.h:363
char name[EX_MAX_NAME+1]
Definition exodusII.h:361
double * zeta
Definition exodusII.h:369
Definition exodusII.h:476
int64_t num_entry
Definition exodusII.h:479
ex_entity_id id
Definition exodusII.h:477
char * name
Definition exodusII.h:478
Definition exodusII.h:515
char ** face_type
Definition exodusII.h:522
void_int * face_blk_id
Definition exodusII.h:521
int * num_nodes_per_edge
Definition exodusII.h:519
int * num_edge_this_blk
Definition exodusII.h:518
void_int * elem_blk_id
Definition exodusII.h:526
int * num_attr_elem
Definition exodusII.h:532
int * num_face_this_blk
Definition exodusII.h:523
int * num_faces_per_elem
Definition exodusII.h:531
int * num_attr_edge
Definition exodusII.h:520
int * num_nodes_per_face
Definition exodusII.h:524
int * num_attr_face
Definition exodusII.h:525
int * num_nodes_per_elem
Definition exodusII.h:529
int * num_elem_this_blk
Definition exodusII.h:528
void_int * edge_blk_id
Definition exodusII.h:516
char ** elem_type
Definition exodusII.h:527
char ** edge_type
Definition exodusII.h:517
int define_maps
Definition exodusII.h:533
int * num_edges_per_elem
Definition exodusII.h:530
Definition exodusII.h:492
int64_t num_nodes_per_entry
Definition exodusII.h:497
ex_entity_type type
Definition exodusII.h:494
int64_t num_attribute
Definition exodusII.h:500
int64_t num_entry
Definition exodusII.h:496
ex_entity_id id
Definition exodusII.h:493
char topology[MAX_STR_LENGTH+1]
Definition exodusII.h:495
int64_t num_edges_per_entry
Definition exodusII.h:498
int64_t num_faces_per_entry
Definition exodusII.h:499
Definition exodusII.h:326
char type_name[EX_MAX_NAME+1]
Definition exodusII.h:336
int64_t entity_id
Definition exodusII.h:328
int nesting
Definition exodusII.h:335
char name[EX_MAX_NAME+1]
Definition exodusII.h:329
int cardinality[EX_MAX_FIELD_NESTING]
Definition exodusII.h:338
ex_entity_type entity_type
Definition exodusII.h:327
char component_separator[EX_MAX_FIELD_NESTING]
Definition exodusII.h:339
ex_field_type type[EX_MAX_FIELD_NESTING]
Definition exodusII.h:337
char suffices[EX_MAX_NAME+1]
Definition exodusII.h:340
Definition exodusII.h:438
int64_t num_edge
Definition exodusII.h:442
int64_t num_node_sets
Definition exodusII.h:448
int64_t num_face
Definition exodusII.h:444
int64_t num_nodes
Definition exodusII.h:441
int64_t num_face_maps
Definition exodusII.h:455
int64_t num_elem_sets
Definition exodusII.h:452
int64_t num_assembly
Definition exodusII.h:457
int64_t num_dim
Definition exodusII.h:440
int64_t num_edge_sets
Definition exodusII.h:449
int64_t num_elem
Definition exodusII.h:446
int64_t num_elem_blk
Definition exodusII.h:447
int64_t num_face_blk
Definition exodusII.h:445
int64_t num_node_maps
Definition exodusII.h:453
int64_t num_edge_maps
Definition exodusII.h:454
int64_t num_side_sets
Definition exodusII.h:451
int64_t num_blob
Definition exodusII.h:458
int64_t num_elem_maps
Definition exodusII.h:456
int64_t num_face_sets
Definition exodusII.h:450
int64_t num_edge_blk
Definition exodusII.h:443
char title[MAX_LINE_LENGTH+1]
Definition exodusII.h:439
Definition exodusII.h:373
int dimension
Definition exodusII.h:376
double * zeta
Definition exodusII.h:381
double * xi
Definition exodusII.h:377
double * eta
Definition exodusII.h:379
double * weight
Definition exodusII.h:382
int cardinality
Definition exodusII.h:375
char name[EX_MAX_NAME+1]
Definition exodusII.h:374
Definition exodusII.h:537
void_int * sets_dist_index
Definition exodusII.h:542
void_int * sets_ids
Definition exodusII.h:538
void_int * num_dist_per_set
Definition exodusII.h:540
void * sets_dist_fact
Definition exodusII.h:545
void_int * sets_extra_list
Definition exodusII.h:544
void_int * num_entries_per_set
Definition exodusII.h:539
void_int * sets_entry_list
Definition exodusII.h:543
void_int * sets_entry_index
Definition exodusII.h:541
Definition exodusII.h:504
ex_entity_id id
Definition exodusII.h:505
void_int * extra_list
Definition exodusII.h:510
void * distribution_factor_list
Definition exodusII.h:511
int64_t num_distribution_factor
Definition exodusII.h:508
void_int * entry_list
Definition exodusII.h:509
int64_t num_entry
Definition exodusII.h:507
ex_entity_type type
Definition exodusII.h:506
Definition exodusII.h:549
int num_elem
Definition exodusII.h:554
int * face_var_tab
Definition exodusII.h:561
int num_face
Definition exodusII.h:553
int num_edge
Definition exodusII.h:552
int num_node
Definition exodusII.h:551
int * elset_var_tab
Definition exodusII.h:567
int * elem_var_tab
Definition exodusII.h:562
int num_elset
Definition exodusII.h:559
int num_fset
Definition exodusII.h:557
int * nset_var_tab
Definition exodusII.h:563
int * edge_var_tab
Definition exodusII.h:560
int * fset_var_tab
Definition exodusII.h:565
int num_eset
Definition exodusII.h:556
int * eset_var_tab
Definition exodusII.h:564
int * sset_var_tab
Definition exodusII.h:566
int num_glob
Definition exodusII.h:550
int num_nset
Definition exodusII.h:555
int num_sset
Definition exodusII.h:558