Skip to content

Commit

Permalink
Merge pull request #481 from tokusanya/DynamicTopology-PhaseIV
Browse files Browse the repository at this point in the history
Dynamic topology phase IV
  • Loading branch information
tokusanya authored Oct 16, 2024
2 parents 606ff32 + a37070b commit 027dd04
Show file tree
Hide file tree
Showing 54 changed files with 3,344 additions and 941 deletions.
1 change: 1 addition & 0 deletions .github/workflows/trailing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- name: Find Trailing Whitespace
run: |
set +e
lines=$(git grep --cached -In '[[:blank:]]$' packages/seacas/applications packages/seacas/libraries)
if [ ! -z "$lines" ]; then
echo -e "\n The following lines contain trailing whitespace: \n"
Expand Down
1 change: 1 addition & 0 deletions packages/seacas/libraries/exodus/include/exodusII.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ enum ex_inquiry {
EX_INQ_NUM_ELEM_SET_VAR = 69, /**< number of element set variables */
EX_INQ_NUM_SIDE_SET_VAR = 70, /**< number of sideset variables */
EX_INQ_NUM_GLOBAL_VAR = 71, /**< number of global variables */
EX_INQ_FILE_FORMAT = 72, /**< netCDF file format */
EX_INQ_INVALID = -1
};

Expand Down
8 changes: 8 additions & 0 deletions packages/seacas/libraries/exodus/src/ex_inquire.c
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,14 @@ static int ex_inquire_internal(int exoid, int req_info, int64_t *ret_int, float
#endif
break;

case EX_INQ_FILE_FORMAT: {
/* return netCDF file format.
*/
int nc_format = 0;
nc_inq_format(exoid, &nc_format);
*ret_int = (int)nc_format;
} break;

case EX_INQ_THREADSAFE:
/* Return 1 if the library was compiled in thread-safe mode.
* Return 0 otherwise
Expand Down
Loading

0 comments on commit 027dd04

Please sign in to comment.