From e5c36daef853d1752f7613ef500f0d7f9893e0b7 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 17 Jul 2009 18:06:33 +0100 Subject: [PATCH] using fieldname as label for point field data instead of volPointInterpolate(X) --- .../PV3FoamReader/vtkPV3Foam/vtkPV3FoamPointFields.H | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3FoamPointFields.H b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3FoamPointFields.H index 63b5c0c3a6..fc421ff4a2 100644 --- a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3FoamPointFields.H +++ b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3FoamPointFields.H @@ -132,7 +132,6 @@ void Foam::vtkPV3Foam::convertPointFields } - template void Foam::vtkPV3Foam::convertPointFieldBlock ( @@ -162,7 +161,6 @@ void Foam::vtkPV3Foam::convertPointFieldBlock } - template void Foam::vtkPV3Foam::convertPointField ( @@ -193,7 +191,7 @@ void Foam::vtkPV3Foam::convertPointField pointData->SetNumberOfTuples(nPoints + addPointCellLabels.size()); pointData->SetNumberOfComponents(nComp); pointData->Allocate(nComp*(nPoints + addPointCellLabels.size())); - pointData->SetName(ptf.name().c_str()); + pointData->SetName(tf.name().c_str()); if (debug) { @@ -269,6 +267,7 @@ void Foam::vtkPV3Foam::convertPointField pointData->Delete(); } + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #endif