From 5d7bff51560699e57127815205f5bb3011de22d2 Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Wed, 13 Mar 2013 17:21:55 +0000
Subject: [PATCH] BUG: sampledSet: extraneous clearout of pointMesh and
 volPointInterpolation: Mantis 698

---
 src/sampling/sampledSet/sampledSets/sampledSets.C | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/sampling/sampledSet/sampledSets/sampledSets.C b/src/sampling/sampledSet/sampledSets/sampledSets.C
index 803190a4a19..44ea1691af4 100644
--- a/src/sampling/sampledSet/sampledSets/sampledSets.C
+++ b/src/sampling/sampledSet/sampledSets/sampledSets.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2011-2012 OpenFOAM Foundation
+    \\  /    A nd           | Copyright (C) 2011-2013 OpenFOAM Foundation
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
@@ -282,10 +282,6 @@ void Foam::sampledSets::correct()
     bool setsFound = dict_.found("sets");
     if (setsFound)
     {
-        // reset interpolation
-        pointMesh::Delete(mesh_);
-        volPointInterpolation::Delete(mesh_);
-
         searchEngine_.correct();
 
         PtrList<sampledSet> newList
-- 
GitLab