BUG: sampledSet: extraneous clearout of pointMesh and volPointInterpolation: Mantis 698

This commit is contained in:
mattijs
2013-03-13 17:21:55 +00:00
parent 0f15520260
commit 5d7bff5156

View File

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