faceZones: New class to replace the original typedef

The faceZone specific functionality from Zones moved to the faceZones class.
This commit is contained in:
Henry Weller
2024-03-26 22:42:36 +00:00
parent 5292cbdb5b
commit fa36bc75cc
20 changed files with 199 additions and 265 deletions

View File

@ -363,10 +363,10 @@ class vtkPVFoam
wordList getZoneNames(const word& zoneType) const;
//- Get non-empty zone names from mesh info
template<class ZoneType>
template<class ZoneType, class ZonesType>
wordList getZoneNames
(
const Zones<ZoneType, polyMesh>&
const Zones<ZoneType, ZonesType, polyMesh>&
) const;
//- Add objects of Type to paraview array selection

View File

@ -81,10 +81,10 @@ public:
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
template<class ZoneType>
template<class ZoneType, class ZonesType>
Foam::wordList Foam::vtkPVFoam::getZoneNames
(
const Zones<ZoneType, polyMesh>& zmesh
const Zones<ZoneType, ZonesType, polyMesh>& zmesh
) const
{
wordList names(zmesh.size());