zones: General code clean-up and rationalisation to reduce duplication
This commit is contained in:
@ -450,7 +450,7 @@ void Foam::vtkPVFoam::convertMeshFaceZones
|
||||
<< zoneName << endl;
|
||||
}
|
||||
|
||||
vtkPolyData* vtkmesh = patchVTKMesh(zoneName, zMesh[zoneId]());
|
||||
vtkPolyData* vtkmesh = patchVTKMesh(zoneName, zMesh[zoneId].patch());
|
||||
|
||||
if (vtkmesh)
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -153,7 +153,7 @@ void Foam::vtkPVFoam::convertPointFields
|
||||
Field<Type> fld
|
||||
(
|
||||
ptf.primitiveField(),
|
||||
mesh.faceZones()[zoneId]().meshPoints()
|
||||
mesh.faceZones()[zoneId].patch().meshPoints()
|
||||
);
|
||||
|
||||
convertPatchPointField
|
||||
|
||||
Reference in New Issue
Block a user