Skip to content

Commit

Permalink
Minor DTIO update to return correct values for stateCount
Browse files Browse the repository at this point in the history
  • Loading branch information
tokusanya committed Dec 19, 2024
1 parent 1471fa7 commit ed62070
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/seacas/libraries/ioss/src/Ioss_Region.C
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ed62070

Please sign in to comment.