From 32b6159d367040ddfedcf2a50d88ed3fbba3c5e6 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 7 Sep 2015 13:29:35 +0200 Subject: [PATCH] Optimising use of Dynamic lists in GGI --- .../GGIInterpolation/GGIInterpolationWeights.C | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/foam/interpolations/GGIInterpolation/GGIInterpolationWeights.C b/src/foam/interpolations/GGIInterpolation/GGIInterpolationWeights.C index 796cb304b..3a39d0223 100644 --- a/src/foam/interpolations/GGIInterpolation/GGIInterpolationWeights.C +++ b/src/foam/interpolations/GGIInterpolation/GGIInterpolationWeights.C @@ -270,11 +270,6 @@ void GGIInterpolation::calcAddressing() const << "This is strange..." << endl; } - // The master face neighbours polygons projected in the plane UV - // We will only keep the ones with some area overlap - DynamicList > masterNeighFace2DPolygonInUV; - DynamicList masterNeighFace2DPolygonInUVErrorProjection; - // Next, project the candidate master neighbours faces points // onto the same plane using the new orthonormal basis const labelList& curCMN = candidateMasterNeighbors[faceMi]; @@ -614,7 +609,7 @@ GGIInterpolation::findNonOverlappingFaces tmp tpatchFaceNonOverlapAddr(new labelField()); labelField& patchFaceNonOverlapAddr = tpatchFaceNonOverlapAddr(); - DynamicList