diff --git a/src/dynamicMesh/dynamicMesh/Make/files b/src/dynamicMesh/dynamicMesh/Make/files index 3305c6e7e..557e38147 100644 --- a/src/dynamicMesh/dynamicMesh/Make/files +++ b/src/dynamicMesh/dynamicMesh/Make/files @@ -37,6 +37,9 @@ $(slidingInterface)/decoupleSlidingInterface.C repatchCoverage = $(polyMeshModifiers)/repatchCoverage $(repatchCoverage)/repatchCoverage.C +polyhedralRefinement = $(polyMeshModifiers)/polyhedralRefinement +$(polyhedralRefinement)/polyhedralRefinement.C + polyTopoChange/polyTopoChange/polyTopoChange.C polyTopoChange/polyTopoChange/actions/topoAction/topoActions.C diff --git a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/polyhedralRefinement/polyhedralRefinement.C b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/polyhedralRefinement/polyhedralRefinement.C index b12f33d8e..41464f4bf 100644 --- a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/polyhedralRefinement/polyhedralRefinement.C +++ b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/polyhedralRefinement/polyhedralRefinement.C @@ -36,6 +36,12 @@ Notes #include "foamTime.H" #include "primitiveMesh.H" #include "polyTopoChange.H" +#include "syncTools.H" +#include "meshTools.H" +#include "cellSet.H" +#include "faceSet.H" +#include "pointSet.H" +#include "mapPolyMesh.H" #include "addToRunTimeSelectionTable.H" // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // @@ -91,7 +97,7 @@ Foam::label Foam::polyhedralRefinement::getAnchorLevel if (f.size() <= 3) { - return pointLevel_[f[findMinMaxLevel(f, maxOp