Skip to content

Commit

Permalink
IOSS: io_shell - fix extract change set
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed Nov 12, 2024
1 parent 15001fa commit 5d5be25
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/seacas/libraries/ioss/src/main/io_shell.C
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,14 @@ namespace {
dbi->set_block_omissions(interFace.omitted_blocks, inclusions);
}

// Change_set specified... We will read the specified changeSet from the input file
if (!interFace.changeSetName.empty()) {
bool success = open_change_set(interFace.changeSetName, dbi, rank);
if (!success) {
return;
}
}

// NOTE: 'region' owns 'db' pointer at this time...
Ioss::Region region(dbi, "region_1");

Expand Down Expand Up @@ -310,14 +318,6 @@ namespace {
interFace.ints_64_bit = true;
}

// Change_set specified... We will read the specified changeSet from the input file
if (!interFace.changeSetName.empty()) {
bool success = open_change_set(interFace.changeSetName, dbi, rank);
if (!success) {
return;
}
}

//========================================================================
// OUTPUT Database...
//========================================================================
Expand Down

0 comments on commit 5d5be25

Please sign in to comment.