From 08e4e5c556763d46d3809692dcf049a8f7f30296 Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 19 Nov 2009 09:09:57 +0000 Subject: [PATCH] Fixed error in the out-of-date use of pointMesh see: http://www.cfd-online.com/Forums/openfoam-bugs/70259-vtkfoam-c-calls-call-non-existing-volpointinterpolate-ct or.html --- .../graphics/PV2Readers/PVFoamReader/vtkFoam/vtkFoam.C | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/applications/utilities/postProcessing/graphics/PV2Readers/PVFoamReader/vtkFoam/vtkFoam.C b/applications/utilities/postProcessing/graphics/PV2Readers/PVFoamReader/vtkFoam/vtkFoam.C index 6a1830b5d1..0f596defaf 100644 --- a/applications/utilities/postProcessing/graphics/PV2Readers/PVFoamReader/vtkFoam/vtkFoam.C +++ b/applications/utilities/postProcessing/graphics/PV2Readers/PVFoamReader/vtkFoam/vtkFoam.C @@ -605,10 +605,7 @@ void Foam::vtkFoam::Update() const fvMesh& mesh = *meshPtr_; - // Construct interpolation on the raw mesh - Foam::pointMesh pMesh(mesh); - - Foam::volPointInterpolation pInterp(mesh, pMesh); + Foam::volPointInterpolation pInterp(mesh); // Search for list of objects for this time Foam::IOobjectList objects(mesh, dbPtr_().timeName());