Skip to content
Snippets Groups Projects
Commit 352ef55b authored by mattijs's avatar mattijs
Browse files

Added setCapacity function to presize storage

parent 5b151801
Branches
Tags
No related merge requests found
......@@ -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);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment