diff --git a/applications/utilities/mesh/advanced/PDRMesh/PDRMesh.C b/applications/utilities/mesh/advanced/PDRMesh/PDRMesh.C index ad21d81632..455c8054c6 100644 --- a/applications/utilities/mesh/advanced/PDRMesh/PDRMesh.C +++ b/applications/utilities/mesh/advanced/PDRMesh/PDRMesh.C @@ -319,7 +319,7 @@ void createCoupledBaffles PackedBoolList& modifiedFace ) { - const faceZoneMesh& faceZones = mesh.faceZones(); + const meshFaceZones& faceZones = mesh.faceZones(); forAll(coupledWantedPatch, facei) { @@ -387,7 +387,7 @@ void createCyclicCoupledBaffles PackedBoolList& modifiedFace ) { - const faceZoneMesh& faceZones = mesh.faceZones(); + const meshFaceZones& faceZones = mesh.faceZones(); forAll(cyclicMasterPatch, facei) { @@ -460,7 +460,7 @@ void createBaffles polyTopoChange& meshMod ) { - const faceZoneMesh& faceZones = mesh.faceZones(); + const meshFaceZones& faceZones = mesh.faceZones(); Info << "faceZone:createBaffle " << faceZones << endl; forAll(wantedPatch, facei) { diff --git a/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt b/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt index 41dd9fbe62..7de0629fc0 100644 --- a/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt +++ b/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt @@ -19,7 +19,7 @@ Notes for fluentMeshToFoam with zone preservation - Zones are simple lists of label lists that can be accessed from polyMesh with the cellZones(), faceZones() and pointZones() member functions - - Example (Members from polyMesh.H and ZoneMesh.H): + - Example (Members from polyMesh.H and MeshZones.H): const labelList& thisCellZone = mesh.cellZones()["thisZoneName"]; - Zone integrity is preserved during mesh modification and decompomposition. diff --git a/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C b/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C index c184458357..b5e390ecdd 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C +++ b/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C @@ -1543,7 +1543,7 @@ int main(int argc, char *argv[]) if (hasZones) { - const faceZoneMesh& faceZones = mesh.faceZones(); + const meshFaceZones& faceZones = mesh.faceZones(); meshZoneID.setSize(zoneNames.size()); forAll(zoneNames, i) diff --git a/applications/utilities/mesh/manipulation/mergeBaffles/mergeBaffles.C b/applications/utilities/mesh/manipulation/mergeBaffles/mergeBaffles.C index b0867bdc80..e491bdf700 100644 --- a/applications/utilities/mesh/manipulation/mergeBaffles/mergeBaffles.C +++ b/applications/utilities/mesh/manipulation/mergeBaffles/mergeBaffles.C @@ -90,7 +90,7 @@ void mergeDuplicateBoundaryFaces const faceList& faces = mesh.faces(); const labelList& faceOwner = mesh.faceOwner(); - const faceZoneMesh& faceZones = mesh.faceZones(); + const meshFaceZones& faceZones = mesh.faceZones(); forAll(duplicates, bFacei) { diff --git a/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.C b/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.C index deb3dd51de..4643536cb5 100644 --- a/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.C +++ b/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -199,7 +199,7 @@ void Foam::mergePolyMesh::addMesh(const polyMesh& m) const pointField& p = m.points(); labelList renumberPoints(p.size()); - const pointZoneMesh& pz = m.pointZones(); + const meshPointZones& pz = m.pointZones(); labelList pointZoneIndices(pz.size()); forAll(pz, zoneI) @@ -236,7 +236,7 @@ void Foam::mergePolyMesh::addMesh(const polyMesh& m) const cellList& c = m.cells(); labelList renumberCells(c.size()); - const cellZoneMesh& cz = m.cellZones(); + const meshCellZones& cz = m.cellZones(); labelList cellZoneIndices(cz.size()); forAll(cz, zoneI) @@ -286,7 +286,7 @@ void Foam::mergePolyMesh::addMesh(const polyMesh& m) - const faceZoneMesh& fz = m.faceZones(); + const meshFaceZones& fz = m.faceZones(); labelList faceZoneIndices(fz.size()); forAll(fz, zoneI) diff --git a/applications/utilities/mesh/manipulation/polyDualMesh/polyDualMesh.C b/applications/utilities/mesh/manipulation/polyDualMesh/polyDualMesh.C index 309db36fce..b7a09e485f 100644 --- a/applications/utilities/mesh/manipulation/polyDualMesh/polyDualMesh.C +++ b/applications/utilities/mesh/manipulation/polyDualMesh/polyDualMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -242,7 +242,7 @@ void simpleMarkFeatures } // B. face zones. - const faceZoneMesh& faceZones = mesh.faceZones(); + const meshFaceZones& faceZones = mesh.faceZones(); if (doNotPreserveFaceZones) { diff --git a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C index 2db23de69a..98a1b23250 100644 --- a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C +++ b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C @@ -461,7 +461,7 @@ autoPtr reorderMesh // Re-do the faceZones { - faceZoneMesh& faceZones = mesh.faceZones(); + meshFaceZones& faceZones = mesh.faceZones(); faceZones.clearAddressing(); forAll(faceZones, zoneI) { @@ -492,7 +492,7 @@ autoPtr reorderMesh } // Re-do the cellZones { - cellZoneMesh& cellZones = mesh.cellZones(); + meshCellZones& cellZones = mesh.cellZones(); cellZones.clearAddressing(); forAll(cellZones, zoneI) { diff --git a/applications/utilities/mesh/manipulation/setSet/setSet.C b/applications/utilities/mesh/manipulation/setSet/setSet.C index 861e754e7b..f2f22bd8ac 100644 --- a/applications/utilities/mesh/manipulation/setSet/setSet.C +++ b/applications/utilities/mesh/manipulation/setSet/setSet.C @@ -296,7 +296,7 @@ void printAllSets(const polyMesh& mesh, Ostream& os) } } - const cellZoneMesh& cellZones = mesh.cellZones(); + const meshCellZones& cellZones = mesh.cellZones(); if (cellZones.size()) { os << "cellZones:" << endl; @@ -306,7 +306,7 @@ void printAllSets(const polyMesh& mesh, Ostream& os) os << '\t' << zone.name() << "\tsize:" << zone.size() << endl; } } - const faceZoneMesh& faceZones = mesh.faceZones(); + const meshFaceZones& faceZones = mesh.faceZones(); if (faceZones.size()) { os << "faceZones:" << endl; @@ -316,7 +316,7 @@ void printAllSets(const polyMesh& mesh, Ostream& os) os << '\t' << zone.name() << "\tsize:" << zone.size() << endl; } } - const pointZoneMesh& pointZones = mesh.pointZones(); + const meshPointZones& pointZones = mesh.pointZones(); if (pointZones.size()) { os << "pointZones:" << endl; @@ -334,7 +334,7 @@ void printAllSets(const polyMesh& mesh, Ostream& os) template void removeZone ( - ZoneMesh& zones, + MeshZones& zones, const word& setName ) { @@ -400,7 +400,7 @@ void removeSet { removeZone ( - const_cast(mesh.cellZones()), + const_cast(mesh.cellZones()), setName ); } @@ -408,7 +408,7 @@ void removeSet { removeZone ( - const_cast(mesh.faceZones()), + const_cast(mesh.faceZones()), setName ); } @@ -416,7 +416,7 @@ void removeSet { removeZone ( - const_cast(mesh.pointZones()), + const_cast(mesh.pointZones()), setName ); } diff --git a/applications/utilities/mesh/manipulation/setsToZones/setsToZones.C b/applications/utilities/mesh/manipulation/setsToZones/setsToZones.C index e185c52279..27cb300880 100644 --- a/applications/utilities/mesh/manipulation/setsToZones/setsToZones.C +++ b/applications/utilities/mesh/manipulation/setsToZones/setsToZones.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -127,7 +127,7 @@ int main(int argc, char *argv[]) set.name(), // name pointLabels, // addressing sz, // index - mesh.pointZones() // pointZoneMesh + mesh.pointZones() // meshPointZones ) ); mesh.pointZones().writeOpt() = IOobject::AUTO_WRITE; @@ -259,7 +259,7 @@ int main(int argc, char *argv[]) addressing.shrink(), // addressing flipMap.shrink(), // flipmap sz, // index - mesh.faceZones() // pointZoneMesh + mesh.faceZones() // meshFaceZones ) ); mesh.faceZones().writeOpt() = IOobject::AUTO_WRITE; @@ -307,7 +307,7 @@ int main(int argc, char *argv[]) set.name(), // name cellLabels, // addressing sz, // index - mesh.cellZones() // pointZoneMesh + mesh.cellZones() // meshCellZones ) ); mesh.cellZones().writeOpt() = IOobject::AUTO_WRITE; diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C index 57183aad8a..3b4c0772f1 100644 --- a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C +++ b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -1192,7 +1192,7 @@ label findCorrespondingRegion void getZoneID ( const polyMesh& mesh, - const cellZoneMesh& cellZones, + const meshCellZones& cellZones, labelList& zoneID, labelList& neiZoneID ) @@ -1251,7 +1251,7 @@ void matchRegions labelList& zoneToRegion ) { - const cellZoneMesh& cellZones = mesh.cellZones(); + const meshCellZones& cellZones = mesh.cellZones(); regionToZone.setSize(nCellRegions, -1); regionNames.setSize(nCellRegions); @@ -1586,7 +1586,7 @@ int main(int argc, char *argv[]) args.optionLookupOrDefault("defaultRegionName", standardRegionName) ); - const cellZoneMesh& cellZones = mesh.cellZones(); + const meshCellZones& cellZones = mesh.cellZones(); // Existing zoneID labelList zoneID(mesh.nCells(), -1); @@ -1645,7 +1645,7 @@ int main(int argc, char *argv[]) << "This requires all" << " cells to be in one and only one cellZone." << nl << endl; - cellZoneMesh newCellZones + meshCellZones newCellZones ( IOobject ( @@ -1939,7 +1939,7 @@ int main(int argc, char *argv[]) zoneName, // name regionCells, // addressing zoneI, // index - cellZones // cellZoneMesh + cellZones // meshCellZones ) ); } diff --git a/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C b/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C index 1e150a425d..0da5a72883 100644 --- a/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C +++ b/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -86,7 +86,7 @@ label addPointZone(const polyMesh& mesh, const word& name) } else { - pointZoneMesh& pointZones = const_cast(mesh).pointZones(); + meshPointZones& pointZones = const_cast(mesh).pointZones(); zoneID = pointZones.size(); Info<< "Adding pointZone " << name << " at index " << zoneID << endl; @@ -118,7 +118,7 @@ label addFaceZone(const polyMesh& mesh, const word& name) } else { - faceZoneMesh& faceZones = const_cast(mesh).faceZones(); + meshFaceZones& faceZones = const_cast(mesh).faceZones(); zoneID = faceZones.size(); Info<< "Adding faceZone " << name << " at index " << zoneID << endl; @@ -151,7 +151,7 @@ label addCellZone(const polyMesh& mesh, const word& name) } else { - cellZoneMesh& cellZones = const_cast(mesh).cellZones(); + meshCellZones& cellZones = const_cast(mesh).cellZones(); zoneID = cellZones.size(); Info<< "Adding cellZone " << name << " at index " << zoneID << endl; diff --git a/applications/utilities/mesh/manipulation/topoSet/topoSet.C b/applications/utilities/mesh/manipulation/topoSet/topoSet.C index 302f8dba89..d077a1a817 100644 --- a/applications/utilities/mesh/manipulation/topoSet/topoSet.C +++ b/applications/utilities/mesh/manipulation/topoSet/topoSet.C @@ -59,7 +59,7 @@ void printMesh(const Time& runTime, const polyMesh& mesh) template void removeZone ( - ZoneMesh& zones, + MeshZones& zones, const word& setName ) { @@ -124,7 +124,7 @@ void removeSet { removeZone ( - const_cast(mesh.cellZones()), + const_cast(mesh.cellZones()), setName ); } @@ -132,7 +132,7 @@ void removeSet { removeZone ( - const_cast(mesh.faceZones()), + const_cast(mesh.faceZones()), setName ); } @@ -140,7 +140,7 @@ void removeSet { removeZone ( - const_cast(mesh.pointZones()), + const_cast(mesh.pointZones()), setName ); } diff --git a/applications/utilities/miscellaneous/foamFormatConvert/foamFormatConvert.C b/applications/utilities/miscellaneous/foamFormatConvert/foamFormatConvert.C index 7c62e63b15..14f89c3fd0 100644 --- a/applications/utilities/miscellaneous/foamFormatConvert/foamFormatConvert.C +++ b/applications/utilities/miscellaneous/foamFormatConvert/foamFormatConvert.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -89,7 +89,7 @@ bool writeZones(const word& name, const fileName& meshDir, Time& runTime) bool writeOk = false; - if (io.typeHeaderOk(false)) + if (io.typeHeaderOk(false)) { Info<< " Reading " << io.headerClassName() << " : " << name << endl; diff --git a/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C b/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C index 1f838b026b..d5800c8faa 100644 --- a/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C +++ b/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -512,7 +512,7 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets) // Point zones { - const pointZoneMesh& pz = pointZones(); + const meshPointZones& pz = pointZones(); // Go through all the zoned points and find out if they // belong to a zone. If so, add it to the zone as @@ -578,7 +578,7 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets) // Face zones { - const faceZoneMesh& fz = faceZones(); + const meshFaceZones& fz = faceZones(); // Go through all the zoned face and find out if they // belong to a zone. If so, add it to the zone as @@ -672,7 +672,7 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets) // Cell zones { - const cellZoneMesh& cz = cellZones(); + const meshCellZones& cz = cellZones(); // Go through all the zoned cells and find out if they // belong to a zone. If so, add it to the zone as diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C index e176c4f12a..e84d0d15fc 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -1061,18 +1061,18 @@ int main(int argc, char *argv[]) // //--------------------------------------------------------------------- - const faceZoneMesh& zones = mesh.faceZones(); + const meshFaceZones& zones = mesh.faceZones(); if (doFaceZones && zones.size() > 0) { - mkDir(fvPath/"faceZoneMesh"); + mkDir(fvPath/"meshFaceZones"); fileName patchFileName; if (vMesh.useSubMesh()) { patchFileName = - fvPath/"faceZoneMesh"/cellSetName + fvPath/"meshFaceZones"/cellSetName + "_" + timeDesc + ".plt"; @@ -1080,7 +1080,7 @@ int main(int argc, char *argv[]) else { patchFileName = - fvPath/"faceZoneMesh"/"faceZoneMesh" + fvPath/"meshFaceZones"/"meshFaceZones" + "_" + timeDesc + ".plt"; diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C index 7381ddc221..7e547c2761 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C @@ -143,7 +143,7 @@ Note #include "sphericalTensorIOField.H" #include "symmTensorIOField.H" #include "tensorIOField.H" -#include "faceZoneMesh.H" +#include "meshFaceZones.H" #include "Cloud.H" #include "passiveParticle.H" #include "stringListOps.H" @@ -1067,7 +1067,7 @@ int main(int argc, char *argv[]) ); print(" surfVectorFields :", Info, svf); - const faceZoneMesh& zones = mesh.faceZones(); + const meshFaceZones& zones = mesh.faceZones(); forAll(zones, zoneI) { diff --git a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoam.H b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoam.H index be4cf2c201..e43b2cc853 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoam.H +++ b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoam.H @@ -295,10 +295,10 @@ class vtkPVFoam // TODO: regions List regionPolyDecomp_; - //- Decomposed cells information (cellZone meshes) + //- Decomposed cells information (cellZonas) List zonePolyDecomp_; - //- Decomposed cells information (cellSet meshes) + //- Decomposed cells information (cellSets) List csetPolyDecomp_; //- List of patch names for rendering to window @@ -369,7 +369,7 @@ class vtkPVFoam template wordList getZoneNames ( - const ZoneMesh& + const MeshZones& ) const; //- Add objects of Type to paraview array selection @@ -432,31 +432,31 @@ class vtkPVFoam //- Lagrangian mesh void convertMeshLagrangian(vtkMultiBlockDataSet*, int& blockNo); - //- Patch meshes + //- Patches void convertMeshPatches(vtkMultiBlockDataSet*, int& blockNo); - //- Cell zone meshes + //- Cell zones void convertMeshCellZones(vtkMultiBlockDataSet*, int& blockNo); - //- Face zone meshes + //- Face zones void convertMeshFaceZones(vtkMultiBlockDataSet*, int& blockNo); - //- Point zone meshes + //- Point zones void convertMeshPointZones(vtkMultiBlockDataSet*, int& blockNo); - //- Cell set meshes + //- Cell sets void convertMeshCellSets(vtkMultiBlockDataSet*, int& blockNo); - //- Face set meshes + //- Face sets void convertMeshFaceSets(vtkMultiBlockDataSet*, int& blockNo); - //- Point set meshes + //- Point sets void convertMeshPointSets(vtkMultiBlockDataSet*, int& blockNo); // Add mesh functions - //- Add internal mesh/cell set meshes + //- Add internal mesh/cell set vtkUnstructuredGrid* volumeVTKMesh(const fvMesh&, polyDecomp&); //- Add Lagrangian mesh @@ -477,7 +477,7 @@ class vtkPVFoam const labelList& pointLabels ); - //- Add face set mesh + //- Add face set vtkPolyData* faceSetVTKMesh ( const fvMesh&, diff --git a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamMesh.C b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamMesh.C index 9a4f9144b5..3ce245efde 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamMesh.C +++ b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -264,7 +264,7 @@ void Foam::vtkPVFoam::convertMeshCellZones printMemory(); } - const cellZoneMesh& zMesh = mesh.cellZones(); + const meshCellZones& zMesh = mesh.cellZones(); for (int partId = range.start(); partId < range.end(); ++partId) { const word zoneName = getPartName(partId); @@ -432,7 +432,7 @@ void Foam::vtkPVFoam::convertMeshFaceZones printMemory(); } - const faceZoneMesh& zMesh = mesh.faceZones(); + const meshFaceZones& zMesh = mesh.faceZones(); for (int partId = range.start(); partId < range.end(); ++partId) { const word zoneName = getPartName(partId); @@ -550,7 +550,7 @@ void Foam::vtkPVFoam::convertMeshPointZones if (range.size()) { - const pointZoneMesh& zMesh = mesh.pointZones(); + const meshPointZones& zMesh = mesh.pointZones(); for (int partId = range.start(); partId < range.end(); ++partId) { word zoneName = getPartName(partId); diff --git a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamSurfaceField.H b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamSurfaceField.H index d016ae22c1..b5fd9bbb99 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamSurfaceField.H +++ b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamSurfaceField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -260,7 +260,7 @@ void Foam::vtkPVFoam::convertSurfaceFields continue; } - const faceZoneMesh& zMesh = mesh.faceZones(); + const meshFaceZones& zMesh = mesh.faceZones(); const label zoneId = zMesh.findZoneID(zoneName); if (zoneId < 0) diff --git a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamUpdateInfo.C b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamUpdateInfo.C index c666359ad5..70891352a0 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamUpdateInfo.C +++ b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamUpdateInfo.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -84,7 +84,7 @@ public: template Foam::wordList Foam::vtkPVFoam::getZoneNames ( - const ZoneMesh& zmesh + const MeshZones& zmesh ) const { wordList names(zmesh.size()); @@ -124,7 +124,7 @@ Foam::wordList Foam::vtkPVFoam::getZoneNames(const word& zoneType) const false ); - if (ioObj.typeHeaderOk(false)) + if (ioObj.typeHeaderOk(false)) { zonesEntries zones(ioObj); diff --git a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamVolFields.H b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamVolFields.H index 1538c3c769..2da2baec49 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamVolFields.H +++ b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/vtkPVFoamVolFields.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -217,7 +217,7 @@ void Foam::vtkPVFoam::convertVolFields continue; } - const faceZoneMesh& zMesh = mesh.faceZones(); + const meshFaceZones& zMesh = mesh.faceZones(); const label zoneId = zMesh.findZoneID(zoneName); if (zoneId < 0) diff --git a/applications/utilities/surface/surfaceMeshTriangulate/surfaceMeshTriangulate.C b/applications/utilities/surface/surfaceMeshTriangulate/surfaceMeshTriangulate.C index 8f0058652e..fc8bca4d3f 100644 --- a/applications/utilities/surface/surfaceMeshTriangulate/surfaceMeshTriangulate.C +++ b/applications/utilities/surface/surfaceMeshTriangulate/surfaceMeshTriangulate.C @@ -142,13 +142,13 @@ int main(int argc, char *argv[]) - const faceZoneMesh& fzm = mesh.faceZones(); - labelHashSet includeFaceZones(fzm.size()); + const meshFaceZones& mfz = mesh.faceZones(); + labelHashSet includeFaceZones(mfz.size()); if (args.optionFound("faceZones")) { wordReList zoneNames(args.optionLookup("faceZones")()); - const wordList allZoneNames(fzm.names()); + const wordList allZoneNames(mfz.names()); forAll(zoneNames, i) { const wordRe& zoneName = zoneNames[i]; @@ -196,7 +196,7 @@ int main(int argc, char *argv[]) HashTable