diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.H
index 9d9ca904145cd05a53073ac13c4ba553d3645293..faccfdc27186e475f8cb8b94890711e90c963a85 100644
--- a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.H
+++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8.H
@@ -174,9 +174,12 @@ class hexRef8
         label findMaxLevel(const labelList& f) const;
         //- Count number of vertices <= anchorLevel
         label countAnchors(const labelList&, const label) const;
+        //- Debugging: dump cell as .obj file
+        void dumpCell(const label cellI) const;
         //- Find index of point with wantedLevel, starting from fp.
         label findLevel
         (
+            const label faceI,
             const face& f,
             const label startFp,
             const bool searchForward,