Skip to content

Commit

Permalink
EXODIFF: Set generatedName appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed Jan 9, 2024
1 parent 6d66384 commit 07166fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/seacas/applications/exodiff/exo_entity.C
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,13 @@ void Exo_Entity::internal_load_params()
if (name[0] != '\0') {
name_ = name.data();
to_lower(name_);
generatedName_ = false;
}
else {
name_ = short_label();
name_ += "_";
name_ += std::to_string(id_);
generatedName_ = true;
}
}
numVars = get_num_variables(fileId, exodus_type(), label());
Expand Down

0 comments on commit 07166fd

Please sign in to comment.