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

@ -58,12 +58,8 @@ void printMesh(const Time& runTime, const polyMesh& mesh)
}
template<class ZoneType>
void removeZone
(
Zones<ZoneType, polyMesh>& zones,
const word& setName
)
template<class ZonesType>
void removeZone(ZonesType& zones, const word& setName)
{
label zoneID = zones.findIndex(setName);