diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H index 398ced6b0de6d1ae6df02030fc0d0050b647619a..a5ffe331d5a21b6b83caf164e012906168ce8d21 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.H @@ -472,6 +472,15 @@ public: const labelList& cellZoneMap ); + //- Explicitly pre-size the dynamic storage for expected mesh + // size for if construct-without-mesh + void setCapacity + ( + const label nPoints, + const label nFaces, + const label nCells + ); + //- Move all points. Incompatible with other topology changes. void movePoints(const pointField& newPoints);