From ed62070a54ead73f851329a507d6613653626279 Mon Sep 17 00:00:00 2001 From: Tolu Okusanya Date: Thu, 19 Dec 2024 14:59:32 -0700 Subject: [PATCH 1/2] Minor DTIO update to return correct values for stateCount --- packages/seacas/libraries/ioss/src/Ioss_Region.C | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/seacas/libraries/ioss/src/Ioss_Region.C b/packages/seacas/libraries/ioss/src/Ioss_Region.C index c6327ecf98..645259d93c 100644 --- a/packages/seacas/libraries/ioss/src/Ioss_Region.C +++ b/packages/seacas/libraries/ioss/src/Ioss_Region.C @@ -909,6 +909,11 @@ namespace Ioss { } } + if(get_state() == STATE_TRANSIENT) { + // Makes sure we return proper stateCount in case of dynamic topology changes + update_dynamic_topology(); + } + if (get_database()->is_input() || get_database()->usage() == WRITE_RESULTS || get_database()->usage() == WRITE_RESTART) { stateTimes.push_back(time); From 80844611cb3ef8745f6542255eace01b2bda0f2c Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Dec 2024 22:08:34 +0000 Subject: [PATCH 2/2] Committing clang-format changes --- packages/seacas/libraries/ioss/src/Ioss_Region.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/seacas/libraries/ioss/src/Ioss_Region.C b/packages/seacas/libraries/ioss/src/Ioss_Region.C index 645259d93c..ef185f566b 100644 --- a/packages/seacas/libraries/ioss/src/Ioss_Region.C +++ b/packages/seacas/libraries/ioss/src/Ioss_Region.C @@ -909,7 +909,7 @@ namespace Ioss { } } - if(get_state() == STATE_TRANSIENT) { + if (get_state() == STATE_TRANSIENT) { // Makes sure we return proper stateCount in case of dynamic topology changes update_dynamic_topology(); }