Skip to content
Snippets Groups Projects
Commit 384a6372 authored by andy's avatar andy
Browse files

ENH: use static lists for tetOverlapVolume

parent 4749435e
No related merge requests found
......@@ -54,9 +54,9 @@ Foam::scalar Foam::tetOverlapVolume::tetTetOverlapVol
const tetPoints& tetB
) const
{
tetPointRef::tetIntersectionList insideTets;
static tetPointRef::tetIntersectionList insideTets;
label nInside = 0;
tetPointRef::tetIntersectionList cutInsideTets;
static tetPointRef::tetIntersectionList cutInsideTets;
label nCutInside = 0;
tetPointRef::storeOp inside(insideTets, nInside);
......
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