diff --git a/include/openmc/cell.h b/include/openmc/cell.h index 4bf2954b7..afc9a33c5 100644 --- a/include/openmc/cell.h +++ b/include/openmc/cell.h @@ -193,7 +193,7 @@ protected: //! Determine the path to this cell instance in the geometry hierarchy //! \param[in] instance of the cell to find parent cells for //! \return parent cells - vector find_parent_cells_exhaustive( + vector exhaustive_find_parent_cells( int32_t instance) const; //! Inner function for retrieving contained cells diff --git a/src/cell.cpp b/src/cell.cpp index edb3b2937..0c0e749c4 100644 --- a/src/cell.cpp +++ b/src/cell.cpp @@ -1364,11 +1364,11 @@ vector Cell::find_parent_cells( } // fall back on an exhaustive search for the cell's parents - return find_parent_cells_exhaustive(instance); + return exhaustive_find_parent_cells(instance); } -vector Cell::find_parent_cells_exhaustive( +vector Cell::exhaustive_find_parent_cells( int32_t instance) const { ParentCellStack stack; @@ -1472,7 +1472,7 @@ std::unordered_map> Cell::get_contained_cells( if (hint) parent_cells = find_parent_cells(instance, *hint); else - parent_cells = find_parent_cells_exhaustive(instance); + parent_cells = exhaustive_find_parent_cells(instance); // if this cell is filled w/ a material, it contains no other cells if (type_ != Fill::MATERIAL) {