Skip to content

Commit

Permalink
Change subdomain IDs for non-active elements in SubdomainBoundingBoxG…
Browse files Browse the repository at this point in the history
…enerator

Refs #25060
  • Loading branch information
lindsayad committed Jul 31, 2023
1 parent 98c1215 commit 65ec05c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ SubdomainBoundingBoxGenerator::generate()
else
{
// Loop over the elements
for (const auto & elem : mesh->active_element_ptr_range())
for (const auto & elem : mesh->element_ptr_range())
{
if (_has_restriction && restricted_ids.count(elem->subdomain_id()) == 0)
continue;
Expand Down

0 comments on commit 65ec05c

Please sign in to comment.