Skip to content
Snippets Groups Projects
Commit eada55af authored by Andrew Heather's avatar Andrew Heather
Browse files

using fieldname as label for point field data instead of volPointInterpolate(X)

parent a143601b
Branches
Tags
No related merge requests found
......@@ -132,7 +132,6 @@ void Foam::vtkPV3Foam::convertPointFields
}
template<class Type>
void Foam::vtkPV3Foam::convertPointFieldBlock
(
......@@ -162,7 +161,6 @@ void Foam::vtkPV3Foam::convertPointFieldBlock
}
template<class Type>
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment