mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Renaming longer find parent search method
This commit is contained in:
parent
c148683d82
commit
c8a1505635
2 changed files with 4 additions and 4 deletions
|
|
@ -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<ParentCell> find_parent_cells_exhaustive(
|
||||
vector<ParentCell> exhaustive_find_parent_cells(
|
||||
int32_t instance) const;
|
||||
|
||||
//! Inner function for retrieving contained cells
|
||||
|
|
|
|||
|
|
@ -1364,11 +1364,11 @@ vector<ParentCell> 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<ParentCell> Cell::find_parent_cells_exhaustive(
|
||||
vector<ParentCell> Cell::exhaustive_find_parent_cells(
|
||||
int32_t instance) const
|
||||
{
|
||||
ParentCellStack stack;
|
||||
|
|
@ -1472,7 +1472,7 @@ std::unordered_map<int32_t, vector<int32_t>> 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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue