diff --git a/include/base/OpenMCProblemBase.h b/include/base/OpenMCProblemBase.h index f82eda86..77bfc361 100644 --- a/include/base/OpenMCProblemBase.h +++ b/include/base/OpenMCProblemBase.h @@ -438,9 +438,9 @@ protected: bool hasCellTransform() const; /** - * Whether the OpenMC geometry is being moved by a cell transform + * Whether the OpenMC geometry is being moved by a cell transform * or a geometry changing criticality search - */ + */ bool movesOpenMCGeometry() const; /// Ensure that the IDs of OpenMC objects in UserObjects don't clash diff --git a/src/base/OpenMCProblemBase.C b/src/base/OpenMCProblemBase.C index 4a45c4e8..2308f888 100644 --- a/src/base/OpenMCProblemBase.C +++ b/src/base/OpenMCProblemBase.C @@ -989,7 +989,7 @@ OpenMCProblemBase::hasCellTransform() const return !_cell_transform_uos.empty(); } -bool +bool OpenMCProblemBase::movesOpenMCGeometry() const { return hasCellTransform() || (_criticality_search && _criticality_search->changingGeometry());