From 65ec05c568d8222233e224572d13a0e8d1da8971 Mon Sep 17 00:00:00 2001 From: Alex Lindsay Date: Mon, 31 Jul 2023 12:04:00 -0700 Subject: [PATCH] Change subdomain IDs for non-active elements in SubdomainBoundingBoxGenerator Refs #25060 --- framework/src/meshgenerators/SubdomainBoundingBoxGenerator.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/meshgenerators/SubdomainBoundingBoxGenerator.C b/framework/src/meshgenerators/SubdomainBoundingBoxGenerator.C index cc25f5c7cc91..da382b60125b 100644 --- a/framework/src/meshgenerators/SubdomainBoundingBoxGenerator.C +++ b/framework/src/meshgenerators/SubdomainBoundingBoxGenerator.C @@ -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;