Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discontinuous galerkin #403

Merged
merged 248 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
248 commits
Select commit Hold shift + click to select a range
b38e352
EXODUS: refactor field metadata attribute output
gsjaardema Apr 6, 2022
313d43d
EXODUS: Beginnings of basis read
gsjaardema Apr 6, 2022
665558e
EXODUS: basis query
gsjaardema Apr 7, 2022
bdd8481
Merge branch 'master' into discontinuous-galerkin
gsjaardema Apr 7, 2022
1da4a6c
EXODUS: these got lost with some branch mishaps
gsjaardema Apr 7, 2022
3b7d86f
EXODUS: Spelling fix
gsjaardema Apr 8, 2022
f1f69dd
EXODUS: See if can fix intel errors
gsjaardema Apr 8, 2022
d7e98d2
EXODUS: Fix intel build
gsjaardema Apr 8, 2022
4b057e3
EXODUS: Move internal function to correct header
gsjaardema Apr 11, 2022
be7b749
Windows fixes: make functions non-inline
utkarshayachit Apr 18, 2022
db1de22
eliminate warnings
gsjaardema Apr 20, 2022
ac006ff
IOSS: cgns - do not create assemblies from Unspecified VC
gsjaardema Apr 20, 2022
a4621ed
Getting kokkos build working again [ci skip]
gsjaardema Apr 21, 2022
8269793
TEST: Enable kokkos build
gsjaardema Apr 25, 2022
c5a6576
IOSS: Change byte-size output to debug
gsjaardema Apr 26, 2022
bb5e227
shellcheck recommendations
gsjaardema Apr 26, 2022
e0029fb
TESTING: Remove adios2 until figure out issues
gsjaardema Apr 26, 2022
7dc8520
EPU: Minor improvement in message (plural vs singular)
gsjaardema Apr 27, 2022
b5c1bf2
IOSS: Rename qsort to sort
gsjaardema Apr 27, 2022
c621b45
IO_MODIFY: Better help output
gsjaardema Apr 27, 2022
99ce49d
IO_MODIFY: clean-up comment [ci skip]
gsjaardema Apr 27, 2022
d93b5dc
Revert "EPU: Minor improvement in message (plural vs singular)"
gsjaardema Apr 27, 2022
009ac76
IOSS: Switch to using doctest from Catch2
gsjaardema Apr 28, 2022
b0fa075
IOSS: cgns - remove lambdas to see if fixes stria issue
gsjaardema Apr 28, 2022
72c4ad2
IOSS: Remove shadowed variable
gsjaardema Apr 28, 2022
457f7cc
Revert "Remove shadowed variable."
gdsjaar May 2, 2022
9aa8b70
Revert "IOSS: cgns - remove lambdas to see if fixes stria issue"
gdsjaar May 2, 2022
5dd1028
IOSS: cgns - get CG_BUILD_PARALLEL define for all versions
gdsjaar May 2, 2022
6f803cd
Update readme -- replace Catch2 with doctest [ci skip]
gsjaardema May 3, 2022
8f61103
@wortiz has signed the CLA from Pull Request #303
github-actions[bot] May 11, 2022
67f956c
@mwestphal has signed the CLA from Pull Request #304
github-actions[bot] May 13, 2022
5f32625
BLOT: Fix new argument mismatch warning with gcc-12
gsjaardema May 16, 2022
bfe4ecd
Fix a recursive warning on assignement copy operator
mwestphal May 13, 2022
79413c3
IOSS: DEBUG->DbgOut, WARNING->WarnOut to avoid windows issues
gsjaardema May 16, 2022
c86995b
IOSS: new version of clang-format
gsjaardema May 16, 2022
693a90e
New version of clang-format
gsjaardema May 16, 2022
fb7dcf5
New version of clang-format
gsjaardema May 16, 2022
57c402e
TPL: Add INSTALL_PATH to metis/parmetis installs
gsjaardema May 16, 2022
f40b497
MODULE: Remove old unused unsupported lines [ci skip]
gsjaardema May 16, 2022
c89c75c
@gjtempl has signed the CLA from Pull Request #305
github-actions[bot] May 17, 2022
9357556
Updates for serial build
gjtempl May 17, 2022
0b1c99f
IOSS: Handle uppercase field suffices
gdsjaar May 18, 2022
4eb7947
IOSS: Clean up uppercase suffix fix
gsjaardema May 18, 2022
ab93002
ZELLIJ: Add offset option
gsjaardema May 19, 2022
fd11853
KOKKOS: Use current version
gsjaardema May 19, 2022
cc0302b
TPL: Fix kokkos runcmake.sh for current version
gsjaardema May 19, 2022
dc1e980
EXODUS: Clean up
gsjaardema May 19, 2022
3aef224
Copy top-level README to packages/seacas so available in Trilinos sna…
gsjaardema May 19, 2022
978c13b
CONFIG: Update name of kokkos library
gsjaardema May 20, 2022
3fcdf1d
EXODUS.PY: Add the get_block_id_map method
mvlopri May 24, 2022
e9de217
ZELLIJ: Better cache utilization for offset and scale
gsjaardema May 24, 2022
3e19426
IOSS: Handle specified field ordering (via index) if present
gsjaardema May 25, 2022
edca1f5
IOSS: use reserve instead of resize since pushing back
gsjaardema May 25, 2022
017f354
IO_MODIFY: Add rename capability
gsjaardema May 26, 2022
c21e23c
IO_MODIFY: Clean up rename capability
gsjaardema May 26, 2022
766bf3a
CONFIG: Add gnubrew compiler option
gsjaardema May 27, 2022
07e8312
CONFIG: Update hdf5 versions
gsjaardema May 27, 2022
3a3dfde
IO_MODIFY: update help options
gsjaardema May 27, 2022
fdd947d
EXODUS: Fix problem with ex_get_block_id_map function
gsjaardema Jun 1, 2022
ec8bf27
SUPES: Make a variable be a correct spelling
gsjaardema May 27, 2022
4c70226
EXODUS: clang-analyzer fixes
gsjaardema Jun 2, 2022
8f78f6b
Merge branch 'master' into discontinuous-galerkin
gsjaardema Sep 20, 2023
fd4d581
Bring up-to-date with master
gsjaardema Sep 20, 2023
3990119
Clean up bad merge
gsjaardema Mar 22, 2023
3116290
EXODUS: Clean up bad merge
gsjaardema Sep 20, 2023
5e529ad
EXODUS: Clean up anothr bad merge
gsjaardema Sep 20, 2023
56c0933
EPU: Bring in fix from master
gsjaardema Sep 20, 2023
279c5f0
EXODUS: Clean up python and varid lookup
gsjaardema Sep 21, 2023
57674cf
EXODUS: Support cardinality and user-define suffices; refactor
gsjaardema Sep 21, 2023
96bfa75
EXODUS: Further refinement/refactoring of DG field interface
gsjaardema Sep 25, 2023
0123a4c
EXODUS: Refactor component separator to allow for empty value
gsjaardema Sep 27, 2023
be17523
EXODUS: Minor cleanup
gsjaardema Sep 27, 2023
f005ce8
EXODUS: Refactor function naems; add test of ex_field utils
gsjaardema Sep 28, 2023
fad0e9a
EXODUS: Add missing file from last commit
gsjaardema Sep 28, 2023
1d8df99
EXODUS: Fix bad handling of user-defined suffices
gsjaardema Sep 28, 2023
448dc01
EXODUS: Fix suffix handling in name building
gsjaardema Oct 11, 2023
40506bc
CI: Fix cmake version requirement
gsjaardema Oct 24, 2023
dda5da5
EXODUS: More work on the basis metadata read
gsjaardema Oct 26, 2023
3733f22
EXODUS: Fix null test -- use double pipe
gsjaardema Oct 26, 2023
4dcaa44
Merge branch 'master' into discontinuous-galerkin
gsjaardema Oct 26, 2023
f7d194b
EXODUS: refactor field metadata attribute output
gsjaardema Apr 6, 2022
87e6256
EXODUS: Beginnings of basis read
gsjaardema Apr 6, 2022
349e24d
EXODUS: basis query
gsjaardema Apr 7, 2022
21b0ae3
EXODUS: these got lost with some branch mishaps
gsjaardema Apr 7, 2022
08bc8c7
EXODUS: Spelling fix
gsjaardema Apr 8, 2022
f15a2bf
EXODUS: See if can fix intel errors
gsjaardema Apr 8, 2022
86cab39
EXODUS: Fix intel build
gsjaardema Apr 8, 2022
e0548c5
EXODUS: Move internal function to correct header
gsjaardema Apr 11, 2022
f484eb2
TEST: Enable kokkos build
gsjaardema Apr 25, 2022
8a3384b
EPU: Minor improvement in message (plural vs singular)
gsjaardema Apr 27, 2022
9fbb288
Revert "EPU: Minor improvement in message (plural vs singular)"
gsjaardema Apr 27, 2022
9c1866b
IOSS: Remove shadowed variable
gsjaardema Apr 28, 2022
3e0b9b8
Revert "Remove shadowed variable."
gdsjaar May 2, 2022
19f2fc5
CONFIG: Add gnubrew compiler option
gsjaardema May 27, 2022
7983d3e
Bring up-to-date with master
gsjaardema Sep 20, 2023
1ecdb67
EXODUS: Support cardinality and user-define suffices; refactor
gsjaardema Sep 21, 2023
2e12a09
EXODUS: Further refinement/refactoring of DG field interface
gsjaardema Sep 25, 2023
2de940d
EXODUS: Refactor component separator to allow for empty value
gsjaardema Sep 27, 2023
a1349f0
EXODUS: Minor cleanup
gsjaardema Sep 27, 2023
14e5ac1
EXODUS: Refactor function naems; add test of ex_field utils
gsjaardema Sep 28, 2023
3f589df
EXODUS: Add missing file from last commit
gsjaardema Sep 28, 2023
2e107f5
EXODUS: Fix bad handling of user-defined suffices
gsjaardema Sep 28, 2023
d5039db
EXODUS: Fix suffix handling in name building
gsjaardema Oct 11, 2023
47e09ca
CI: Fix cmake version requirement
gsjaardema Oct 24, 2023
1673d5c
EXODUS: More work on the basis metadata read
gsjaardema Oct 26, 2023
31d801b
EXODUS: Fix null test -- use double pipe
gsjaardema Oct 26, 2023
d9bb18d
EXODUS: Test field metadata read/write on nodes
gsjaardema Oct 26, 2023
ecbd362
CI: Fix cxx standard setting
gsjaardema Oct 26, 2023
e5b0091
EXODUS: Fix bad merge
gsjaardema Oct 26, 2023
fb72bd5
Merge branch 'discontinuous-galerkin' of https://github.com/sandialab…
gsjaardema Oct 26, 2023
d9c176f
EXODUS: Fix bad merge
gsjaardema Oct 26, 2023
7df7cf1
EXODUS: Fix varid query for assembly and blob
gsjaardema Oct 27, 2023
86f202d
EXODUS.PY: See if this fixes ci build issues
gsjaardema Oct 27, 2023
caffa6d
EXODUS: Fix ex__get_varid function
gsjaardema Oct 27, 2023
4af86e8
Revert "EXODUS.PY: See if this fixes ci build issues"
gsjaardema Oct 30, 2023
cc97066
EXODUS: Clean up ex_attribute struct
gdsjaar Oct 30, 2023
4560ddb
EXODUS: realpath is gnu extension in c11/c99
gdsjaar Oct 30, 2023
1cdd730
EXODUS: Provide realpath prototype
gdsjaar Oct 30, 2023
df03dfc
EXODUS: Add missing functions for mingw
gsjaardema Oct 30, 2023
d843e11
EXODUS: Fix ex_attribute initiialization
gsjaardema Oct 30, 2023
c4e8ac4
CI: Disable nczarr in netcdf
gsjaardema Oct 30, 2023
588c901
EXODUS: Fix codacy null / 0 issue
gsjaardema Oct 30, 2023
ba63d75
EXODUS: Removed unused struct member
gsjaardema Oct 30, 2023
3af404e
IOSS: Clean up some includes; remove the ... for ???
gsjaardema Oct 30, 2023
bd62115
Merge branch 'master' into discontinuous-galerkin
gsjaardema Mar 25, 2024
08e6149
EXODUS: Fix bad master merge
gsjaardema Mar 25, 2024
15190db
EXODUS: Fix intel compiler build
gdsjaar Mar 25, 2024
4d83c04
BLOT: Increase resolution of node/element id output
gsjaardema Mar 26, 2024
cb70ae6
IOSS: Change meta_data to metadata
gsjaardema Mar 26, 2024
ff08faf
EXODUS: Use internal naming for static function
gsjaardema Mar 26, 2024
4d3884f
Remove ioss as required library
gsjaardema Mar 26, 2024
129a0d5
EXODUS: Add function name to output so know where it came from
gsjaardema Mar 27, 2024
92fdb3f
IOSS: Add function mapping Ioss field names to exodus ex_field_type
gsjaardema Mar 27, 2024
1af2548
IOSS: Output field metadata basic implemetation
gsjaardema Mar 27, 2024
6f4e9af
IOSS: Rename function for consistency
gsjaardema Mar 27, 2024
766d214
IOSS: Add missing serialize io call
gsjaardema Mar 27, 2024
a4cfef3
APREPRO: Make strings test more robust
gsjaardema Mar 29, 2024
874e4af
IOSS: Build io_modify only if exodus enabled
gsjaardema Apr 1, 2024
6450f8c
IOSS: Detect if exodus enabled for exodus include
gsjaardema Apr 1, 2024
2f304c3
GREPOS: Intel overoptimizes unless inimap separate file
gdsjaar Apr 9, 2024
1eb54a4
Merge branch 'master' into discontinuous-galerkin
gsjaardema Apr 10, 2024
be5c714
GREPOS: Fix bad merge
gsjaardema Apr 10, 2024
0155d37
CONFIG: Silence CMake warning about python interpreter finding
gsjaardema Apr 9, 2024
e2f4ad7
IOSS: Fix use of c++14/17 type-traits
gsjaardema Apr 10, 2024
b932610
EXODUS: Filter out attributes Field@
gsjaardema Apr 11, 2024
91e9337
IOSS: Add mapping from exodus type to ioss field type
gsjaardema Apr 11, 2024
030e540
IOSS: Handle composite fields with different component separators
gsjaardema Apr 11, 2024
642daa3
IOSS: Field - Add print method; support 2 separators for composite fi…
gsjaardema Apr 11, 2024
141887b
IOSS: get_fields works after enhanced field found some fields
gsjaardema Apr 11, 2024
e7110e2
IOSS: Read/interpret exodus files with field metadata
gsjaardema Apr 11, 2024
037c57b
IOSS: Eliminate some char **names uses -- convert to NameList
gsjaardema Apr 12, 2024
c32d3c8
IOSS: Use more NameList and IntVector
gsjaardema Apr 12, 2024
5bb68ec
CI: Remove cmake policy; not recognized in docker build
gsjaardema Apr 11, 2024
8cf8c5a
IOSS: CGNS - earlier versions have the CG_BUILD_HDF5 define in cgnsco…
gsjaardema Apr 12, 2024
dd0feab
CI: Update to latest version [ci skip]
gsjaardema Apr 12, 2024
a1955a8
IOSS: Minor change to trigger workflows
gsjaardema Apr 12, 2024
7eb5759
Merge branch 'discontinuous-galerkin' of https://github.com/SandiaLab…
gsjaardema Apr 12, 2024
3b6f4ca
IOSS: Propogate name_array changes to parallel
gsjaardema Apr 12, 2024
e23b8e8
IOSS: Add serialize io calls wehre needed
gsjaardema Apr 12, 2024
f0c5ff3
IOSS: Use correct export macro
gsjaardema Apr 12, 2024
9e1e05f
IOSS: Scalar fields do not need metadata; clutters file also
gsjaardema Apr 15, 2024
092c2dd
Io modify handle cgns (#453)
gsjaardema Apr 15, 2024
c256a1a
EXODUS: Fix element count in test writer
gsjaardema Apr 15, 2024
b87752f
IOSS: Handle user-defined field metadata output
gsjaardema Apr 15, 2024
a3e2e1e
IOSS: Handle composite field multiple separators
gsjaardema Apr 15, 2024
91db5fc
CI: See if can fix appveyor build [ci skip]
gsjaardema Apr 16, 2024
74dd29c
IOSS: Put debug output in ifdef
gdsjaar Apr 16, 2024
8c769ff
CI: Actually trigger build...
gsjaardema Apr 16, 2024
9a2a73d
CI: See if this affects appveyor...
gdsjaar Apr 16, 2024
e4596de
CI: Change install name/location
gdsjaar Apr 16, 2024
bab1c0c
EXODUS: Fix formatting of comment; turn off clang-format
gdsjaar Apr 16, 2024
5132572
IOSS: Initial steps in adding Basis capability
gdsjaar Apr 16, 2024
4af6e3d
IOSS: Initial steps in adding Basis capability to field metadata query
gdsjaar Apr 16, 2024
a59a410
CI: mkdir lib before plugin path in case doesnot exist [ci skip]
gdsjaar Apr 18, 2024
cd54cb8
APREPRO: Fix some issues found in sierra input files
gdsjaar Apr 22, 2024
b15e4b0
EXPLORE: Add/Refactor qa, qainfo and info list commands
gdsjaar Apr 18, 2024
d52f3d5
CI: Better error handling in script
gdsjaar Apr 18, 2024
bdecb8d
EPU: Delete input files if requested
gdsjaar Apr 18, 2024
aae2234
APREPRO: Fix to_string when fmt:: full precision output being used
gdsjaar Apr 23, 2024
2a3a551
APREPRO: Refactor last change
gdsjaar Apr 23, 2024
c6632fc
IOSS: heartbeat - add HEARTBEAT_FLUSH_INTERVAL property, document 0 w…
gdsjaar Apr 24, 2024
4532a16
EXODUS: Fix output of Curl gradient field
gdsjaar Apr 24, 2024
fe93648
IOSS: Get field-metadata basis somewhat working
gdsjaar Apr 24, 2024
b899274
APREPRO: Bring branch up-to-date and fix bad merge
gdsjaar Apr 24, 2024
3accf17
Merge branch 'master' into discontinuous-galerkin
gsjaardema Apr 24, 2024
14fd601
IOSS: Refactor function names for ComposedVariable
gdsjaar Apr 24, 2024
7adc5d2
EXODUS: Move basis to global attribute
gdsjaar Apr 25, 2024
7adbf79
IOSS: Add quadrature storage type; beginnings of allowing multiple ba…
gdsjaar Apr 25, 2024
87dad93
EXODUS: Redo so basis, quad stored at global level
gdsjaar Apr 25, 2024
652c8ed
IOSS: Modify tokenize to optionally return empty tokens
gdsjaar Apr 25, 2024
57f2943
IOSS: Start of refactor for allowing multiple basis; basis at root of…
gdsjaar Apr 25, 2024
6c82067
EXODUS: Allow more than one basis; field can specify which basis it i…
gdsjaar Apr 29, 2024
3d72279
IOSS: Refactor basis struct/type
gdsjaar Apr 30, 2024
9254533
Iniitial support for quadrature storage type
gdsjaar May 2, 2024
a57e8a2
EXODUS: Treat Quad@ attribute as internal
gdsjaar May 6, 2024
fa37e6f
EXODUS: Add quadrature type and multiple basis/quad types to test rea…
gdsjaar May 6, 2024
fdd53f5
IOSS: cleanup quadrature implementation
gdsjaar May 6, 2024
a0bac91
IOSS: Better const correctness
gdsjaar May 6, 2024
5759165
IOSS: VariableType -- function to return quad/basis types
gdsjaar May 6, 2024
34d9778
IOSS: Support quadrature type in ioss<->exodus type mapping
gdsjaar May 6, 2024
a06cb91
IOSS: exodus - output basis/quadrature types
gdsjaar May 6, 2024
5280a42
IOSS: Better suffix upper/lower detection
gdsjaar May 7, 2024
8708e01
EXODUS: Support nesting of user-defiend fields
gdsjaar May 8, 2024
ea03305
IOSS: Better compare output for fields
gdsjaar May 8, 2024
c6f666f
IOSS: Remove debug print
gdsjaar May 8, 2024
017a305
IOSS: Allow nesting on user-defined fields; refactor basis/quad output
gdsjaar May 8, 2024
63afb17
EXODUS: Remove unused variable
gdsjaar May 8, 2024
93f04dd
Merge branch 'master' into discontinuous-galerkin
gdsjaar May 8, 2024
e10ad7d
EXODUS: Output from test program to stdout, not stderr
gdsjaar May 13, 2024
7dd911d
EXODUS: Add test for enhanced field metadata
gdsjaar May 13, 2024
6235432
EXODUS: Fix pipestatus values
gdsjaar May 13, 2024
35abc47
EXODUS: Fix windows build
gdsjaar May 13, 2024
7196f7d
EXODUS: Remove shadowed variable
gdsjaar May 13, 2024
b207eb0
EXODUS: Fix enhanced fields for random attribute ordering
gdsjaar May 14, 2024
59a29b4
EXODUS: Test - more robust when nc4 changes attribute ordering
gdsjaar May 14, 2024
fa03d28
EXODUS: get_X_metadata functions have count argument added so call-to…
gdsjaar May 14, 2024
66d6a3a
EXODUS: Check for a null pointer
gdsjaar May 14, 2024
1d9e701
EXODUS: Provide internal strsep and strlcat
gdsjaar May 14, 2024
f8178bd
EXODUS: Improve portability
gdsjaar May 15, 2024
74f2fe4
EXODUS: A better way to get strdup
gdsjaar May 15, 2024
6f47e72
EXODUS: Fix some compiler warnings; see if that makes test run...
gdsjaar May 15, 2024
5902737
EXODUS: Fix memory leak in test code
gdsjaar May 15, 2024
28616bf
Merge branch 'master' into discontinuous-galerkin
gdsjaar May 15, 2024
5ad8c7c
EXODUS: Deallocat struct in correct place
gdsjaar May 15, 2024
bff2adc
EXODUS: Reorder unit test and update output
gdsjaar May 15, 2024
3245629
IOSS: Add type and type_string to variable types
gdsjaar May 20, 2024
d19c73a
IOSS: Refactor detailed field output
gdsjaar May 20, 2024
b3bdc85
IOSS: Allow detailed field output
gdsjaar May 20, 2024
0a20b38
IOSS: Minor cleanup/refactor
gdsjaar May 20, 2024
bb93b9c
NEM_SLICE: Minor fix
gdsjaar May 20, 2024
4775e7c
IOSS: Clean up fmt includes/use
gdsjaar May 21, 2024
954856b
Merge branch 'master' into discontinuous-galerkin
gdsjaar May 21, 2024
5a1e480
IOSS: Rewrite how catylyst deals with field names
gdsjaar May 21, 2024
2fdbeef
IOSS: Fix up some changes for catalyst for this branch
gdsjaar May 22, 2024
7494b3c
IOSS: Fix default separator setting; do not recognize fields if prope…
gdsjaar May 22, 2024
f98cad3
EXODUS: Refactor get/put basis and quad metadata
gdsjaar May 23, 2024
440c473
IOSS: Minor tweak to field printing
gdsjaar May 23, 2024
89305b2
IOSS: Refactor variable type determination
gdsjaar May 23, 2024
a7b4e63
EXODUS: Update nesting define; fix test dump file
gdsjaar May 23, 2024
9cf7ee5
IOSS: Simplify datapool - remove seldom used capabilty
gdsjaar May 28, 2024
6f4d788
IOSS: Refactor some names; add print
gdsjaar May 28, 2024
fff80de
EXODUS: Eliminate memory leak
gdsjaar May 28, 2024
2f768c7
EXODUS: Fix spelling error
gdsjaar May 28, 2024
3cdd25f
EXODUS: Fix compiler warning
gdsjaar May 28, 2024
7b9969d
EXODUS: Clean up some function name/doc
gdsjaar May 28, 2024
3df70aa
Spelling fixes [ci skip]
gdsjaar May 28, 2024
dfd5177
IOSS: Add backward compatible interfaces back
gdsjaar May 30, 2024
5cc1062
Merge branch 'master' into discontinuous-galerkin
gsjaardema May 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SET(Seacas_ENABLE_Zoltan_DEFAULT ON)
SET(TRIBITS_HIDE_DEPRECATED_INCLUDE_DIRECTORIES_OVERRIDE TRUE)

# Define the TriBITS minimum required CMake version
SET(TRIBITS_CMAKE_MINIMUM_REQUIRED 3.17.0)
SET(TRIBITS_CMAKE_MINIMUM_REQUIRED 3.22.0)

# CMake requires this be in the top file and not in an include file :-(
CMAKE_MINIMUM_REQUIRED(VERSION ${TRIBITS_CMAKE_MINIMUM_REQUIRED} FATAL_ERROR)
Expand Down
1 change: 1 addition & 0 deletions TPL/netcdf/runcmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ cmake .. -DCMAKE_C_COMPILER:FILEPATH=${CC} \
-DENABLE_MMAP:BOOL=ON \
-DENABLE_DAP:BOOL=OFF \
-DENABLE_BYTERANGE:BOOL=OFF \
-DENABLE_NCZARR:BOOL=OFF \
-DENABLE_V2_API:BOOL=OFF \
-DENABLE_FILTER_TESTING:BOOL=OFF \
-DENABLE_TESTS:BOOL=OFF \
Expand Down
1 change: 1 addition & 0 deletions packages/seacas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ TRIBITS_ADD_OPTION_AND_DEFINE(
set(${PROJECT_NAME}_C_Standard_DEFAULT c99)

SET(${PROJECT_NAME}_CMAKE_CXX_STANDARD_DEFAULT 17)
SET(CMAKE_CXX_STANDARD 17)
SET(${PROJECT_NAME}_CMAKE_CXX_STANDARDS_ALLOWED "(14|17|20)")
ADVANCED_SET(CMAKE_CXX_STANDARD ${${PROJECT_NAME}_CMAKE_CXX_STANDARD_DEFAULT}
CACHE STRING
Expand Down
1 change: 0 additions & 1 deletion packages/seacas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ Sandia National Laboratories,
We appreciate feedback from users of this package. Please send
comments, suggestions, and bug reports to Greg Sjaardema
<[email protected]>, <[email protected]>

6 changes: 3 additions & 3 deletions packages/seacas/applications/blot/bl_version.f
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
C Copyright(C) 1999-2020, 2024 National Technology & Engineering Solutions
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
C NTESS, the U.S. Government retains certain rights in this software.
C
Expand All @@ -11,8 +11,8 @@ SUBROUTINE VERSION(QAINFO)
CHARACTER*(MXQARC) QAINFO(6)

QAINFO(1) = 'blot '
QAINFO(2) = '2021/03/31 '
QAINFO(3) = ' 3.141 '
QAINFO(2) = '2024/03/25 '
QAINFO(3) = ' 3.1415 '
QAINFO(4) = ' '

RETURN
Expand Down
6 changes: 3 additions & 3 deletions packages/seacas/applications/blot/matfac.f
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
C Copyright(C) 1999-2020, 2024 National Technology & Engineering Solutions
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
C NTESS, the U.S. Government retains certain rights in this software.
C
Expand Down Expand Up @@ -101,6 +101,6 @@ INTEGER FUNCTION MATFAC (LINKF1, MAXNPF, NPFS, iel, numnp, IERR)

160 CONTINUE
RETURN
10000 FORMAT (' Poss. Contiguity Prob. at Hex ', I7,
* ', Nodes ', 4(I7,1X), 10(I7,1X))
10000 FORMAT (' Poss. Contiguity Prob. at Hex ', I11,
* ', Nodes ', 4(I11,1X), 10(I11,1X))
END
4 changes: 2 additions & 2 deletions packages/seacas/applications/blot/scaprt.f
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
C Copyright(C) 1999-2020, 2024 National Technology & Engineering Solutions
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
C NTESS, the U.S. Government retains certain rights in this software.
C
Expand Down Expand Up @@ -94,7 +94,7 @@ SUBROUTINE SCAPRT (NAMECO, NAME, IVAR, TIMES,
& STIM(2)(:LTIM), NUMMAX, ISTMAX
10000 FORMAT (4X, A7, 1X, A, 3X, 2 (1X, A),
& 4X, A, 3X, A4, 3X, A4)
10010 FORMAT (4X, A7, 1X, A, 3X, 2 (1X, A), 4X, A, I7, I7)
10010 FORMAT (4X, A7, 1X, A, 3X, 2 (1X, A), 4X, A, I11, I11)
ELSE
WRITE (*, 10020) 'Range: ', SVAL(0)(:LVAL),
& SXYZ0(1)(:LX), SXYZ0(2)(:LY), SXYZ0(3)(:LZ),
Expand Down
1 change: 1 addition & 0 deletions packages/seacas/applications/grepos/gp_mapvar.f
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ subroutine mapvar(nold, nnew, nvar, map, vars, scr)

do 30 ivar = 1, nvar
do 10 i = 1, nnew
write (*,*) i, map(i)
scr(i) = vars(map(i) + nold * (ivar-1) )
10 continue

Expand Down
2 changes: 1 addition & 1 deletion packages/seacas/applications/nem_slice/elb.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ template <typename INT> struct Graph_Description
std::vector<INT> adj{};
std::vector<INT> start{};
std::vector<std::vector<INT>> sur_elem;
Graph_Description<INT>() = default;
Graph_Description() = default;
};

/* Various constants */
Expand Down
22 changes: 20 additions & 2 deletions packages/seacas/applications/slice/SL_Decompose.C
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,24 @@ extern double seacas_timer();
extern void progress(const std::string &output);

namespace {
char **get_name_array(size_t count, int size)
{
auto *names = new char *[count];
for (size_t i = 0; i < count; i++) {
names[i] = new char[size + 1];
std::memset(names[i], '\0', size + 1);
}
return names;
}

void delete_name_array(char **names, int count)
{
for (int i = 0; i < count; i++) {
delete[] names[i];
}
delete[] names;
}

template <typename INT>
void create_adjacency_list(const Ioss::Region &region, std::vector<idx_t> &pointer,
std::vector<idx_t> &adjacency, INT)
Expand Down Expand Up @@ -684,7 +702,7 @@ std::vector<int> decompose_elements(const Ioss::Region &region, SystemInterface
if (map_count > 0) {
int max_name_length = ex_inquire_int(exoid, EX_INQ_DB_MAX_USED_NAME_LENGTH);
max_name_length = max_name_length < 32 ? 32 : max_name_length;
char **names = Ioss::Utils::get_name_array(map_count, max_name_length);
char **names = get_name_array(map_count, max_name_length);
int error = ex_get_names(exoid, EX_ELEM_MAP, names);
if (error < 0) {
exodus_error(__LINE__);
Expand All @@ -701,7 +719,7 @@ std::vector<int> decompose_elements(const Ioss::Region &region, SystemInterface
break;
}
}
Ioss::Utils::delete_name_array(names, map_count);
delete_name_array(names, map_count);
}

if (!map_read) {
Expand Down
2 changes: 1 addition & 1 deletion packages/seacas/cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TRIBITS_PACKAGE_DEFINE_DEPENDENCIES(
Exodus_for libraries/exodus_for PT OPTIONAL
ExoIIv2for32 libraries/exoIIv2for32 PT OPTIONAL
Nemesis libraries/nemesis PT OPTIONAL
Ioss libraries/ioss PT REQUIRED
Ioss libraries/ioss PT OPTIONAL
Chaco libraries/chaco PT OPTIONAL
Aprepro_lib libraries/aprepro_lib PT OPTIONAL
Supes libraries/supes PT OPTIONAL
Expand Down
1 change: 1 addition & 0 deletions packages/seacas/libraries/exodus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ TRIBITS_ADD_LIBRARY(
)

set_property(TARGET exodus PROPERTY C_STANDARD 99)
set_property(TARGET exodus PROPERTY C_EXTENSIONS ON)

if (SEACASExodus_ENABLE_SHARED)
if (NOT BUILD_SHARED_LIBS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ library, the IOSS library, nem_slice, and nem_spread.
| | 64 | X | X | | |

Only the base topology name is required for the element type. For example, all
elements of a `hex` toplogy can be referred to by the name `hex` no
elements of a `hex` topology can be referred to by the name `hex` no
matter how many nodes there are. However, it is also correct to
append the node count to the topology type for the element name. For
example, a 20-node hex could be named `hex20`.
Expand Down
129 changes: 123 additions & 6 deletions packages/seacas/libraries/exodus/include/exodusII.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
#include <stdint.h>
#include <stdlib.h>

/** Maximum length of name permitted by NetCDF */
#define EX_MAX_NAME NC_MAX_NAME

#ifndef NC_INT64
#error "NetCDF version 4.1.2 or later is required."
#endif
Expand Down Expand Up @@ -282,6 +285,98 @@ enum ex_entity_type {
};
typedef enum ex_entity_type ex_entity_type;

enum ex_field_type {
EX_FIELD_TYPE_INVALID = 0,
EX_FIELD_TYPE_USER_DEFINED,
EX_FIELD_TYPE_SEQUENCE,
EX_BASIS,
EX_QUADRATURE,
EX_SCALAR,
EX_VECTOR_1D,
EX_VECTOR_2D,
EX_VECTOR_3D,
EX_QUATERNION_2D,
EX_QUATERNION_3D,
EX_FULL_TENSOR_36,
EX_FULL_TENSOR_32,
EX_FULL_TENSOR_22,
EX_FULL_TENSOR_16,
EX_FULL_TENSOR_12,
EX_SYM_TENSOR_33,
EX_SYM_TENSOR_31,
EX_SYM_TENSOR_21,
EX_SYM_TENSOR_13,
EX_SYM_TENSOR_11,
EX_SYM_TENSOR_10,
EX_ASYM_TENSOR_03,
EX_ASYM_TENSOR_02,
EX_ASYM_TENSOR_01,
EX_MATRIX_2X2,
EX_MATRIX_3X3
};
typedef enum ex_field_type ex_field_type;

#define EX_MAX_FIELD_NESTING 2
typedef struct ex_field
{
ex_entity_type entity_type;
int64_t entity_id;
char name[EX_MAX_NAME + 1]; /* Name of the field */
/*
* For basis, user, quadrature -- what is name of the subtype. This
* is a comma-separated list of `nesting` names Use two consecutive
* commas for an empty type_name. Leave empty if no type_names
*/
int nesting; /* Number of composite fields (vector at each quadrature point = 2) */
char type_name[EX_MAX_NAME + 1];
ex_field_type type[EX_MAX_FIELD_NESTING]; /* ex_field_type of each nested field */
int cardinality[EX_MAX_FIELD_NESTING]; /* 0 to calculate based on type */
char component_separator[EX_MAX_FIELD_NESTING]; /* empty defaults to '_'; */
char suffices[EX_MAX_NAME + 1]; /* Optional comma-separated list of suffices if type is
EX_FIELD_TYPE_USER_DEFINED */
} ex_field;

typedef struct ex_basis
{
/*
clang-format off
*
* subc_dim: dimension of the subcell associated with the specified DoF ordinal
* -- 0 node, 1 edge, 2 face, 3 volume [Range: 0..3]
* subc_ordinal: ordinal of the subcell relative to its parent cell
* -- 0..n for each ordinal with the same subc dim [Range: <= DoF ordinal]
* subc_dof_ordinal: ordinal of the DoF relative to the subcell
* subc_num_dof: cardinality of the DoF set associated with this subcell.
* xi, eta, mu (ξ, η, ζ): Parametric coordinate location of the DoF
* -- (Only first ndim values are valid)
*
clang-format on
*/

char name[EX_MAX_NAME + 1];
int cardinality; /* number of `basis` points == dimension of non-null subc_*, xi, eta, mu */
int *subc_dim;
int *subc_ordinal;
int *subc_dof_ordinal;
int *subc_num_dof;
double *xi;
double *eta;
double *zeta;
} ex_basis;

typedef struct ex_quadrature
{
char name[EX_MAX_NAME + 1];
int cardinality; /* Number of quadrature points */
int dimension; /* 1,2,3 -- spatial dimension of points */
double *xi; /* xi (x) coordinate of points; dimension = cardinality or NULL */
double *
eta; /* eta (y) coordinate of points; dimension = cardinality if dimension = 2 or 3 or NULL */
double
*zeta; /* zeta (z) coordinate of points; dimension = cardinality if dimension == 3. or NULL */
double *weight; /* weights for each point; dimension = cardinality or NULL */
} ex_quadrature;

/*!
* ex_opts() function codes - codes are OR'ed into exopts
*/
Expand All @@ -305,9 +400,6 @@ typedef enum ex_options ex_options;
* @{
*/

/** Maximum length of name permitted by NetCDF */
#define EX_MAX_NAME NC_MAX_NAME

/** Maximum length of QA record, element type name */
#define MAX_STR_LENGTH 32L
/** Default maximum length of an entity name, attribute name, variable name.
Expand Down Expand Up @@ -368,10 +460,10 @@ typedef enum ex_type ex_type;
typedef struct ex_attribute
{
ex_entity_type entity_type;
ex_entity_id entity_id;
char name[NC_MAX_NAME + 1];
int64_t entity_id;
char name[EX_MAX_NAME + 1];
ex_type type; /* int, double, text */
size_t value_count;
int value_count;
void *values; /* not accessed if NULL */
} ex_attribute;

Expand Down Expand Up @@ -953,6 +1045,20 @@ EXODUS_EXPORT int ex_get_blob(int exoid, struct ex_blob *blob);
EXODUS_EXPORT int ex_put_blobs(int exoid, size_t count, const struct ex_blob *blobs);
EXODUS_EXPORT int ex_get_blobs(int exoid, struct ex_blob *blobs);

EXODUS_EXPORT int ex_put_field_metadata(int exoid, const ex_field field);
EXODUS_EXPORT int ex_put_field_suffices(int exoid, const ex_field field, const char *suffices);
EXODUS_EXPORT int ex_get_field_metadata(int exoid, ex_field *field);
EXODUS_EXPORT int ex_get_field_metadata_count(int exoid, ex_entity_type obj_type, ex_entity_id id);
EXODUS_EXPORT int ex_get_field_suffices(int exoid, const ex_field field, char *suffices);

EXODUS_EXPORT int ex_get_basis_count(int exoid);
EXODUS_EXPORT int ex_get_basis(int exoid, ex_basis **pbasis, int *num_basis);
EXODUS_EXPORT int ex_put_basis(int exoid, const ex_basis basis);

EXODUS_EXPORT int ex_get_quadrature_count(int exoid);
EXODUS_EXPORT int ex_get_quadrature(int exoid, ex_quadrature **pquad, int *num_quad);
EXODUS_EXPORT int ex_put_quadrature(int exoid, const ex_quadrature quad);

/* Write arbitrary integer, double, or text attributes on an entity */
EXODUS_EXPORT int ex_put_attribute(int exoid, const ex_attribute attributes);
EXODUS_EXPORT int ex_put_attributes(int exoid, size_t attr_count, const ex_attribute *attributes);
Expand Down Expand Up @@ -1202,6 +1308,17 @@ EXODUS_EXPORT int ex_put_elem_cmap(int exoid, /**< NetCDF/Exodus
int processor /**< This processor ID */
);

EXODUS_EXPORT int ex_initialize_basis_struct(ex_basis *basis, size_t num_basis, int mode);
EXODUS_EXPORT int ex_initialize_quadrature_struct(ex_quadrature *quad, size_t num_quad, int mode);

EXODUS_EXPORT const char *ex_component_field_name(ex_field *field,
int component[EX_MAX_FIELD_NESTING]);
EXODUS_EXPORT const char *ex_field_component_suffix(ex_field *field, int nest_level, int component);
EXODUS_EXPORT int ex_field_cardinality(const ex_field_type field_type);
EXODUS_EXPORT const char *ex_field_type_name(const ex_field_type field_type);
EXODUS_EXPORT ex_field_type ex_string_to_field_type_enum(const char *field_name);
EXODUS_EXPORT const char *ex_field_type_enum_to_string(const ex_field_type field_type);

/*! @} */

/* Deprecated Code Handling Options:
Expand Down
5 changes: 4 additions & 1 deletion packages/seacas/libraries/exodus/include/exodusII_int.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(C) 1999-2020, 2022, 2023 National Technology & Engineering Solutions
* Copyright(C) 1999-2020, 2022, 2023, 2024 National Technology & Engineering Solutions
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
* NTESS, the U.S. Government retains certain rights in this software.
*
Expand Down Expand Up @@ -88,6 +88,9 @@ extern "C" {
#define EX_FILE_ID_MASK (0xffff0000) /**< Must match FILE_ID_MASK in NetCDF nc4internal.h */
#define EX_GRP_ID_MASK (0x0000ffff) /**< Must match GRP_ID_MASK in NetCDF nc4internal.h */

/* Utility function to find variable to store entity attribute on */
int exi_get_varid(int exoid, ex_entity_type obj_type, ex_entity_id id);

void exi_reset_error_status(void);

#if defined(EXODUS_THREADSAFE)
Expand Down
Loading
Loading