From cc07d34db645e90b66e63938fbfa7a2257ce9be4 Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Thu, 8 Dec 2022 15:31:28 +0100
Subject: [PATCH] STYLE: remove unneeded <omp.h> includes

---
 .../tetMesh/tetMeshExtractorOctree/tetMeshExtractorOctree.C   | 4 ----
 .../utilities/boundaryLayers/boundaryLayers/boundaryLayers.C  | 4 ----
 .../detectBoundaryLayers/detectBoundaryLayersFunctions.C      | 4 ----
 .../utilities/boundaryLayers/extrudeLayer/extrudeLayer.C      | 4 ----
 .../triangulateNonPlanarBaseFacesFunctions.C                  | 4 ----
 meshLibrary/utilities/faceDecomposition/decomposeFaces.C      | 4 ----
 .../findCellsIntersectingSurface.C                            | 4 ----
 .../meshes/polyMeshGen2DEngine/polyMeshGen2DEngine.C          | 4 ----
 .../polyMeshGenAddressingUpdateGeometry.C                     | 4 ----
 .../utilities/meshes/polyMeshGenChecks/polyMeshGenChecks.C    | 4 ----
 .../meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C      | 4 ----
 .../meshes/polyMeshGenChecks/polyMeshGenChecksTopology.C      | 4 ----
 .../polyMeshGenModifierAddProcessorFaces.C                    | 4 +---
 .../polyMeshGenModifier/polyMeshGenModifierRemoveCells.C      | 4 ----
 .../polyMeshGenModifier/polyMeshGenModifierRemoveFaces.C      | 4 ----
 .../meshOctreeAddressingParallelAddressing.C                  | 4 ----
 .../meshOctreeAutomaticRefinementRef.C                        | 4 ----
 .../octrees/meshOctree/meshOctreeCube/meshOctreeCubeRefine.C  | 4 ----
 .../meshOctreeModifierEnsureCorrectRegularity.C               | 4 ----
 .../boundaryLayerOptimisationNormals.C                        | 4 ----
 .../boundaryLayerOptimisationThickness.C                      | 4 ----
 .../geometry/meshOptimizer/meshOptimizerOptimizePoint.C       | 4 ----
 .../checkBoundaryFacesSharingTwoEdges.C                       | 4 ----
 .../checkCellConnectionsOverFaces.C                           | 4 ----
 .../checkIrregularSurfaceConnectionsFunctions.C               | 4 ----
 .../checkNonMappableCellConnections.C                         | 4 ----
 .../correctEdgesBetweenPatchesDistributeFaces.C               | 4 ----
 .../surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C | 4 ----
 .../edgeExtraction/edgeExtractor/edgeExtractorCorners.C       | 4 ----
 .../meshSurfaceCheckInvertedVertices.C                        | 4 ----
 .../meshSurfaceEdgeExtractor2DDistributeFaces.C               | 4 ----
 .../meshSurfaceEdgeExtractorFUNDistributeFaces.C              | 4 ----
 .../surfaceTools/meshSurfaceEngine/meshSurfaceEngine.C        | 4 ----
 .../meshSurfaceMapper/meshSurfaceMapperCornersAndEdges.C      | 4 ----
 .../meshSurfaceMapper/meshSurfaceMapperPremapVertices.C       | 4 ----
 .../meshSurfaceMapper2D/meshSurfaceMapper2DPremapVertices.C   | 4 ----
 .../triSurfaceTools/triSurfaceChecks/triSurfaceChecks.C       | 4 ----
 .../triSurfaceClassifyEdgesFunctions.C                        | 4 ----
 .../triSurfaceCleanupDuplicatesFunctions.C                    | 3 ---
 .../triSurfaceCurvatureEstimatorCalculate.C                   | 4 ----
 .../triSurfaceDetectFeatureEdgesFunctions.C                   | 4 ----
 .../triSurfacePartitionerCreateAddressing.C                   | 4 ----
 .../triSurfacePatchManipulatorFunctions.C                     | 4 ----
 .../voronoiMeshExtractor/voronoiMeshExtractorAddressing.C     | 4 ----
 .../voronoiMeshExtractor/voronoiMeshExtractorCreateMesh.C     | 4 ----
 45 files changed, 1 insertion(+), 178 deletions(-)

diff --git a/meshLibrary/tetMesh/tetMeshExtractorOctree/tetMeshExtractorOctree.C b/meshLibrary/tetMesh/tetMeshExtractorOctree/tetMeshExtractorOctree.C
index bf2547da..1956b79f 100644
--- a/meshLibrary/tetMesh/tetMeshExtractorOctree/tetMeshExtractorOctree.C
+++ b/meshLibrary/tetMesh/tetMeshExtractorOctree/tetMeshExtractorOctree.C
@@ -34,10 +34,6 @@ License
 #include "polyMeshGenModifierAddCellByCell.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // #define DEBUGTets
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/boundaryLayers/boundaryLayers/boundaryLayers.C b/meshLibrary/utilities/boundaryLayers/boundaryLayers/boundaryLayers.C
index 7948de36..6f07d23e 100644
--- a/meshLibrary/utilities/boundaryLayers/boundaryLayers/boundaryLayers.C
+++ b/meshLibrary/utilities/boundaryLayers/boundaryLayers/boundaryLayers.C
@@ -41,10 +41,6 @@ License
 #include <map>
 #include <set>
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGLayer
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/boundaryLayers/detectBoundaryLayers/detectBoundaryLayersFunctions.C b/meshLibrary/utilities/boundaryLayers/detectBoundaryLayers/detectBoundaryLayersFunctions.C
index 89bfc924..17254aa7 100644
--- a/meshLibrary/utilities/boundaryLayers/detectBoundaryLayers/detectBoundaryLayersFunctions.C
+++ b/meshLibrary/utilities/boundaryLayers/detectBoundaryLayers/detectBoundaryLayersFunctions.C
@@ -38,10 +38,6 @@ License
 #include "labelledPair.H"
 #include "labelledScalar.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGLayer
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.C b/meshLibrary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.C
index 408eed37..8ea9b9f5 100644
--- a/meshLibrary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.C
+++ b/meshLibrary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.C
@@ -35,10 +35,6 @@ License
 #include "meshSurfacePartitioner.H"
 #include "labelledPointScalar.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 #ifdef DEBUGExtrudeLayer
 #include "polyMeshGenChecks.H"
 #endif
diff --git a/meshLibrary/utilities/boundaryLayers/triangulateNonPlanarBaseFaces/triangulateNonPlanarBaseFacesFunctions.C b/meshLibrary/utilities/boundaryLayers/triangulateNonPlanarBaseFaces/triangulateNonPlanarBaseFacesFunctions.C
index eb0b6b9f..526184d0 100644
--- a/meshLibrary/utilities/boundaryLayers/triangulateNonPlanarBaseFaces/triangulateNonPlanarBaseFacesFunctions.C
+++ b/meshLibrary/utilities/boundaryLayers/triangulateNonPlanarBaseFaces/triangulateNonPlanarBaseFacesFunctions.C
@@ -35,10 +35,6 @@ License
 #include "meshSurfacePartitioner.H"
 #include "triangle.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGLayer
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/faceDecomposition/decomposeFaces.C b/meshLibrary/utilities/faceDecomposition/decomposeFaces.C
index fd42302c..8f016a29 100644
--- a/meshLibrary/utilities/faceDecomposition/decomposeFaces.C
+++ b/meshLibrary/utilities/faceDecomposition/decomposeFaces.C
@@ -31,10 +31,6 @@ License
 #include "decomposeFaces.H"
 #include "boolList.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGDec
 
 # ifdef DEBUGDec
diff --git a/meshLibrary/utilities/intersectionTools/findCellsIntersectingSurface/findCellsIntersectingSurface.C b/meshLibrary/utilities/intersectionTools/findCellsIntersectingSurface/findCellsIntersectingSurface.C
index 0ed1d5f9..759311c7 100644
--- a/meshLibrary/utilities/intersectionTools/findCellsIntersectingSurface/findCellsIntersectingSurface.C
+++ b/meshLibrary/utilities/intersectionTools/findCellsIntersectingSurface/findCellsIntersectingSurface.C
@@ -39,10 +39,6 @@ License
 #include "HashSet.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::findCellsIntersectingSurface::generateOctree
diff --git a/meshLibrary/utilities/meshes/polyMeshGen2DEngine/polyMeshGen2DEngine.C b/meshLibrary/utilities/meshes/polyMeshGen2DEngine/polyMeshGen2DEngine.C
index 94493aac..585fe0b8 100644
--- a/meshLibrary/utilities/meshes/polyMeshGen2DEngine/polyMeshGen2DEngine.C
+++ b/meshLibrary/utilities/meshes/polyMeshGen2DEngine/polyMeshGen2DEngine.C
@@ -32,10 +32,6 @@ License
 #include "polyMeshGenAddressing.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::polyMeshGen2DEngine::findActiveFaces() const
diff --git a/meshLibrary/utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingUpdateGeometry.C b/meshLibrary/utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingUpdateGeometry.C
index bb6515f3..815c496a 100644
--- a/meshLibrary/utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingUpdateGeometry.C
+++ b/meshLibrary/utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingUpdateGeometry.C
@@ -31,10 +31,6 @@ License
 #include "polyMeshGenAddressing.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-#endif
-
 // * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
 
 void Foam::Module::polyMeshGenAddressing::updateGeometry
diff --git a/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecks.C b/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecks.C
index b8cad27a..e45428bc 100644
--- a/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecks.C
+++ b/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecks.C
@@ -37,10 +37,6 @@ License
 #include "ListOps.H"
 #include "Map.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 bool Foam::Module::polyMeshGenChecks::checkGeometry
diff --git a/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C b/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C
index 62294cee..ef27bdae 100644
--- a/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C
+++ b/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C
@@ -30,10 +30,6 @@ License
 #include "tetrahedron.H"
 #include "syncTools.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 bool Foam::Module::polyMeshGenChecks::checkClosedBoundary
diff --git a/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksTopology.C b/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksTopology.C
index 215d013f..055d74b6 100644
--- a/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksTopology.C
+++ b/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksTopology.C
@@ -33,10 +33,6 @@ License
 #include "cell.H"
 #include "Map.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 bool Foam::Module::polyMeshGenChecks::checkPoints
diff --git a/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddProcessorFaces.C b/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddProcessorFaces.C
index 8a715b91..daa3bbd8 100644
--- a/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddProcessorFaces.C
+++ b/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddProcessorFaces.C
@@ -31,9 +31,7 @@ License
 #include "polyMeshGenModifier.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::polyMeshGenModifier::addProcessorFaces
 (
diff --git a/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveCells.C b/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveCells.C
index c0f5fab3..63f01d19 100644
--- a/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveCells.C
+++ b/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveCells.C
@@ -31,10 +31,6 @@ License
 #include "polyMeshGenModifier.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::polyMeshGenModifier::removeCells
diff --git a/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveFaces.C b/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveFaces.C
index 15f6d617..1a5c5d14 100644
--- a/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveFaces.C
+++ b/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveFaces.C
@@ -31,10 +31,6 @@ License
 #include "polyMeshGenModifier.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::polyMeshGenModifier::removeFaces(const boolList& removeFace)
diff --git a/meshLibrary/utilities/octrees/meshOctree/meshOctreeAddressing/meshOctreeAddressingParallelAddressing.C b/meshLibrary/utilities/octrees/meshOctree/meshOctreeAddressing/meshOctreeAddressingParallelAddressing.C
index 2fd6ff87..478ca8f1 100644
--- a/meshLibrary/utilities/octrees/meshOctree/meshOctreeAddressing/meshOctreeAddressingParallelAddressing.C
+++ b/meshLibrary/utilities/octrees/meshOctree/meshOctreeAddressing/meshOctreeAddressingParallelAddressing.C
@@ -35,10 +35,6 @@ License
 
 #include <map>
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGAddressing
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/octrees/meshOctree/meshOctreeAutomaticRefinement/meshOctreeAutomaticRefinementRef.C b/meshLibrary/utilities/octrees/meshOctree/meshOctreeAutomaticRefinement/meshOctreeAutomaticRefinementRef.C
index b60aaa05..2f61dc7a 100644
--- a/meshLibrary/utilities/octrees/meshOctree/meshOctreeAutomaticRefinement/meshOctreeAutomaticRefinementRef.C
+++ b/meshLibrary/utilities/octrees/meshOctree/meshOctreeAutomaticRefinement/meshOctreeAutomaticRefinementRef.C
@@ -40,10 +40,6 @@ License
 
 #include "Map.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGAutoRef
 
 # ifdef DEBUGAutoRef
diff --git a/meshLibrary/utilities/octrees/meshOctree/meshOctreeCube/meshOctreeCubeRefine.C b/meshLibrary/utilities/octrees/meshOctree/meshOctreeCube/meshOctreeCubeRefine.C
index a23c83dc..9ccbd5cf 100644
--- a/meshLibrary/utilities/octrees/meshOctree/meshOctreeCube/meshOctreeCubeRefine.C
+++ b/meshLibrary/utilities/octrees/meshOctree/meshOctreeCube/meshOctreeCubeRefine.C
@@ -32,10 +32,6 @@ License
 #include "VRWGraph.H"
 #include "triSurf.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGSearch
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/octrees/meshOctree/meshOctreeModifier/meshOctreeModifierEnsureCorrectRegularity.C b/meshLibrary/utilities/octrees/meshOctree/meshOctreeModifier/meshOctreeModifierEnsureCorrectRegularity.C
index 34067740..c6d9de6e 100644
--- a/meshLibrary/utilities/octrees/meshOctree/meshOctreeModifier/meshOctreeModifierEnsureCorrectRegularity.C
+++ b/meshLibrary/utilities/octrees/meshOctree/meshOctreeModifier/meshOctreeModifierEnsureCorrectRegularity.C
@@ -31,10 +31,6 @@ License
 #include "meshOctreeModifier.H"
 #include "HashSet.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGSearch
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/smoothers/geometry/meshOptimizer/boundaryLayerOptimisation/boundaryLayerOptimisationNormals.C b/meshLibrary/utilities/smoothers/geometry/meshOptimizer/boundaryLayerOptimisation/boundaryLayerOptimisationNormals.C
index 95e915ed..753c808d 100644
--- a/meshLibrary/utilities/smoothers/geometry/meshOptimizer/boundaryLayerOptimisation/boundaryLayerOptimisationNormals.C
+++ b/meshLibrary/utilities/smoothers/geometry/meshOptimizer/boundaryLayerOptimisation/boundaryLayerOptimisationNormals.C
@@ -43,10 +43,6 @@ License
 
 //#define DEBUGLayer
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::boundaryLayerOptimisation::calculateNormalVectors
diff --git a/meshLibrary/utilities/smoothers/geometry/meshOptimizer/boundaryLayerOptimisation/boundaryLayerOptimisationThickness.C b/meshLibrary/utilities/smoothers/geometry/meshOptimizer/boundaryLayerOptimisation/boundaryLayerOptimisationThickness.C
index 85c7aa70..7021e279 100644
--- a/meshLibrary/utilities/smoothers/geometry/meshOptimizer/boundaryLayerOptimisation/boundaryLayerOptimisationThickness.C
+++ b/meshLibrary/utilities/smoothers/geometry/meshOptimizer/boundaryLayerOptimisation/boundaryLayerOptimisationThickness.C
@@ -35,10 +35,6 @@ License
 #include "labelledScalar.H"
 #include "polyMeshGenAddressing.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::boundaryLayerOptimisation::hairEdgesAtBndFace
diff --git a/meshLibrary/utilities/smoothers/geometry/meshOptimizer/meshOptimizerOptimizePoint.C b/meshLibrary/utilities/smoothers/geometry/meshOptimizer/meshOptimizerOptimizePoint.C
index 8b66b718..27dbbddb 100644
--- a/meshLibrary/utilities/smoothers/geometry/meshOptimizer/meshOptimizerOptimizePoint.C
+++ b/meshLibrary/utilities/smoothers/geometry/meshOptimizer/meshOptimizerOptimizePoint.C
@@ -33,10 +33,6 @@ License
 #include "polyMeshGenAddressing.H"
 #include "meshSurfaceEngine.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::meshOptimizer::laplaceSmoother::laplacian
diff --git a/meshLibrary/utilities/smoothers/topology/checkBoundaryFacesSharingTwoEdges/checkBoundaryFacesSharingTwoEdges.C b/meshLibrary/utilities/smoothers/topology/checkBoundaryFacesSharingTwoEdges/checkBoundaryFacesSharingTwoEdges.C
index 4818f438..7cd3ed06 100644
--- a/meshLibrary/utilities/smoothers/topology/checkBoundaryFacesSharingTwoEdges/checkBoundaryFacesSharingTwoEdges.C
+++ b/meshLibrary/utilities/smoothers/topology/checkBoundaryFacesSharingTwoEdges/checkBoundaryFacesSharingTwoEdges.C
@@ -35,10 +35,6 @@ License
 #include "decomposeFaces.H"
 #include "decomposeCells.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGCheck
 
 // * * * * * * * * * * Private member functions * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/smoothers/topology/checkCellConnectionsOverFaces/checkCellConnectionsOverFaces.C b/meshLibrary/utilities/smoothers/topology/checkCellConnectionsOverFaces/checkCellConnectionsOverFaces.C
index 0eb669c6..a888298f 100644
--- a/meshLibrary/utilities/smoothers/topology/checkCellConnectionsOverFaces/checkCellConnectionsOverFaces.C
+++ b/meshLibrary/utilities/smoothers/topology/checkCellConnectionsOverFaces/checkCellConnectionsOverFaces.C
@@ -32,10 +32,6 @@ License
 #include "labelLongList.H"
 #include "labelledPair.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 #include <set>
 #include <map>
 
diff --git a/meshLibrary/utilities/smoothers/topology/checkIrregularSurfaceConnections/checkIrregularSurfaceConnectionsFunctions.C b/meshLibrary/utilities/smoothers/topology/checkIrregularSurfaceConnections/checkIrregularSurfaceConnectionsFunctions.C
index df198499..df14f8d3 100644
--- a/meshLibrary/utilities/smoothers/topology/checkIrregularSurfaceConnections/checkIrregularSurfaceConnectionsFunctions.C
+++ b/meshLibrary/utilities/smoothers/topology/checkIrregularSurfaceConnections/checkIrregularSurfaceConnectionsFunctions.C
@@ -33,10 +33,6 @@ License
 #include "helperFunctionsPar.H"
 #include "sortEdgesIntoChains.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGCheck
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/smoothers/topology/checkNonMappableCellConnections/checkNonMappableCellConnections.C b/meshLibrary/utilities/smoothers/topology/checkNonMappableCellConnections/checkNonMappableCellConnections.C
index 3a4ba45a..d612bf8a 100644
--- a/meshLibrary/utilities/smoothers/topology/checkNonMappableCellConnections/checkNonMappableCellConnections.C
+++ b/meshLibrary/utilities/smoothers/topology/checkNonMappableCellConnections/checkNonMappableCellConnections.C
@@ -33,10 +33,6 @@ License
 #include "helperFunctions.H"
 #include "meshSurfaceEngine.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * Private member functions * * * * * * * * * * * * * * * //
 
 void Foam::Module::checkNonMappableCellConnections::findCellTypes()
diff --git a/meshLibrary/utilities/surfaceTools/correctEdgesBetweenPatches/correctEdgesBetweenPatchesDistributeFaces.C b/meshLibrary/utilities/surfaceTools/correctEdgesBetweenPatches/correctEdgesBetweenPatchesDistributeFaces.C
index e434b376..4d72b59a 100644
--- a/meshLibrary/utilities/surfaceTools/correctEdgesBetweenPatches/correctEdgesBetweenPatchesDistributeFaces.C
+++ b/meshLibrary/utilities/surfaceTools/correctEdgesBetweenPatches/correctEdgesBetweenPatchesDistributeFaces.C
@@ -40,10 +40,6 @@ License
 
 #include <map>
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::correctEdgesBetweenPatches::decomposeProblematicFaces()
diff --git a/meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C b/meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C
index 0f5cf21f..08999b19 100644
--- a/meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C
+++ b/meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C
@@ -51,10 +51,6 @@ License
 #include "meshSurfaceCheckEdgeTypes.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGEdgeExtractor
 
 // * * * * * * * * * * * * * Private Member Functions  * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractorCorners.C b/meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractorCorners.C
index 55ece685..9b82abe6 100644
--- a/meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractorCorners.C
+++ b/meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractorCorners.C
@@ -48,10 +48,6 @@ License
 #include "triSurfaceClassifyEdges.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGEdgeExtractor
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *//
diff --git a/meshLibrary/utilities/surfaceTools/meshSurfaceCheckInvertedVertices/meshSurfaceCheckInvertedVertices.C b/meshLibrary/utilities/surfaceTools/meshSurfaceCheckInvertedVertices/meshSurfaceCheckInvertedVertices.C
index 291c0ba0..00831b5e 100644
--- a/meshLibrary/utilities/surfaceTools/meshSurfaceCheckInvertedVertices/meshSurfaceCheckInvertedVertices.C
+++ b/meshLibrary/utilities/surfaceTools/meshSurfaceCheckInvertedVertices/meshSurfaceCheckInvertedVertices.C
@@ -37,10 +37,6 @@ License
 
 #include <map>
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::meshSurfaceCheckInvertedVertices::checkVertices()
diff --git a/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractor2D/meshSurfaceEdgeExtractor2DDistributeFaces.C b/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractor2D/meshSurfaceEdgeExtractor2DDistributeFaces.C
index ee6368d6..01be03d3 100644
--- a/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractor2D/meshSurfaceEdgeExtractor2DDistributeFaces.C
+++ b/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractor2D/meshSurfaceEdgeExtractor2DDistributeFaces.C
@@ -37,10 +37,6 @@ License
 #include "polyMeshGen2DEngine.H"
 #include "helperFunctions.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::meshSurfaceEdgeExtractor2D::distributeBoundaryFaces()
diff --git a/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractorFUN/meshSurfaceEdgeExtractorFUNDistributeFaces.C b/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractorFUN/meshSurfaceEdgeExtractorFUNDistributeFaces.C
index 6ce8bd46..563f7f3c 100644
--- a/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractorFUN/meshSurfaceEdgeExtractorFUNDistributeFaces.C
+++ b/meshLibrary/utilities/surfaceTools/meshSurfaceEdgeExtractorFUN/meshSurfaceEdgeExtractorFUNDistributeFaces.C
@@ -40,10 +40,6 @@ License
 #include "meshSurfaceCheckEdgeTypes.H"
 #include "meshSurfaceEngine.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::meshSurfaceEdgeExtractorFUN::distributeBoundaryFaces()
diff --git a/meshLibrary/utilities/surfaceTools/meshSurfaceEngine/meshSurfaceEngine.C b/meshLibrary/utilities/surfaceTools/meshSurfaceEngine/meshSurfaceEngine.C
index 3403ef23..4b15681f 100644
--- a/meshLibrary/utilities/surfaceTools/meshSurfaceEngine/meshSurfaceEngine.C
+++ b/meshLibrary/utilities/surfaceTools/meshSurfaceEngine/meshSurfaceEngine.C
@@ -31,10 +31,6 @@ License
 #include "meshSurfaceEngine.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
 
 Foam::Module::meshSurfaceEngine::meshSurfaceEngine(polyMeshGen& mesh)
diff --git a/meshLibrary/utilities/surfaceTools/meshSurfaceMapper/meshSurfaceMapperCornersAndEdges.C b/meshLibrary/utilities/surfaceTools/meshSurfaceMapper/meshSurfaceMapperCornersAndEdges.C
index 12a39559..dc17fcd9 100644
--- a/meshLibrary/utilities/surfaceTools/meshSurfaceMapper/meshSurfaceMapperCornersAndEdges.C
+++ b/meshLibrary/utilities/surfaceTools/meshSurfaceMapper/meshSurfaceMapperCornersAndEdges.C
@@ -39,10 +39,6 @@ License
 
 #include "helperFunctions.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::meshSurfaceMapper::findMappingDistance
diff --git a/meshLibrary/utilities/surfaceTools/meshSurfaceMapper/meshSurfaceMapperPremapVertices.C b/meshLibrary/utilities/surfaceTools/meshSurfaceMapper/meshSurfaceMapperPremapVertices.C
index 0a26cf19..84f59a90 100644
--- a/meshLibrary/utilities/surfaceTools/meshSurfaceMapper/meshSurfaceMapperPremapVertices.C
+++ b/meshLibrary/utilities/surfaceTools/meshSurfaceMapper/meshSurfaceMapperPremapVertices.C
@@ -38,10 +38,6 @@ License
 #include "helperFunctions.H"
 #include "meshSurfaceOptimizer.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::meshSurfaceMapper::preMapVertices(const label nIterations)
diff --git a/meshLibrary/utilities/surfaceTools/meshSurfaceMapper2D/meshSurfaceMapper2DPremapVertices.C b/meshLibrary/utilities/surfaceTools/meshSurfaceMapper2D/meshSurfaceMapper2DPremapVertices.C
index e5470bc2..2660f69d 100644
--- a/meshLibrary/utilities/surfaceTools/meshSurfaceMapper2D/meshSurfaceMapper2DPremapVertices.C
+++ b/meshLibrary/utilities/surfaceTools/meshSurfaceMapper2D/meshSurfaceMapper2DPremapVertices.C
@@ -36,10 +36,6 @@ License
 #include "refLabelledPoint.H"
 #include "helperFunctionsPar.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::meshSurfaceMapper2D::preMapVertices(const label nIterations)
diff --git a/meshLibrary/utilities/triSurfaceTools/triSurfaceChecks/triSurfaceChecks.C b/meshLibrary/utilities/triSurfaceTools/triSurfaceChecks/triSurfaceChecks.C
index fef64f37..d797dfc3 100644
--- a/meshLibrary/utilities/triSurfaceTools/triSurfaceChecks/triSurfaceChecks.C
+++ b/meshLibrary/utilities/triSurfaceTools/triSurfaceChecks/triSurfaceChecks.C
@@ -35,10 +35,6 @@ License
 #include "meshOctreeCreator.H"
 #include "helperFunctions.H"
 
-#ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGSurfaceChecks
 
 # ifdef DEBUGSurfaceChecks
diff --git a/meshLibrary/utilities/triSurfaceTools/triSurfaceClassifyEdges/triSurfaceClassifyEdgesFunctions.C b/meshLibrary/utilities/triSurfaceTools/triSurfaceClassifyEdges/triSurfaceClassifyEdgesFunctions.C
index ef78c96f..2667038a 100644
--- a/meshLibrary/utilities/triSurfaceTools/triSurfaceClassifyEdges/triSurfaceClassifyEdgesFunctions.C
+++ b/meshLibrary/utilities/triSurfaceTools/triSurfaceClassifyEdges/triSurfaceClassifyEdgesFunctions.C
@@ -35,10 +35,6 @@ License
 #include "meshOctree.H"
 #include "labelPair.H"
 
-#ifdef USE_OMP
-#include <omp.h>
-#endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::triSurfaceClassifyEdges::checkOrientation()
diff --git a/meshLibrary/utilities/triSurfaceTools/triSurfaceCleanupDuplicates/triSurfaceCleanupDuplicatesFunctions.C b/meshLibrary/utilities/triSurfaceTools/triSurfaceCleanupDuplicates/triSurfaceCleanupDuplicatesFunctions.C
index ead54336..345362cc 100644
--- a/meshLibrary/utilities/triSurfaceTools/triSurfaceCleanupDuplicates/triSurfaceCleanupDuplicatesFunctions.C
+++ b/meshLibrary/utilities/triSurfaceTools/triSurfaceCleanupDuplicates/triSurfaceCleanupDuplicatesFunctions.C
@@ -33,9 +33,6 @@ License
 #include "meshOctree.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
 #include <set>
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/triSurfaceTools/triSurfaceCurvatureEstimator/triSurfaceCurvatureEstimatorCalculate.C b/meshLibrary/utilities/triSurfaceTools/triSurfaceCurvatureEstimator/triSurfaceCurvatureEstimatorCalculate.C
index 29f09a3d..3dff4287 100644
--- a/meshLibrary/utilities/triSurfaceTools/triSurfaceCurvatureEstimator/triSurfaceCurvatureEstimatorCalculate.C
+++ b/meshLibrary/utilities/triSurfaceTools/triSurfaceCurvatureEstimator/triSurfaceCurvatureEstimatorCalculate.C
@@ -41,10 +41,6 @@ License
 
 #include <map>
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGCurvatureEstimator
 
 // * * * * * * * * * * * * * * * Local Functions * * * * * * * * * * * * * * //
diff --git a/meshLibrary/utilities/triSurfaceTools/triSurfaceDetectFeatureEdges/triSurfaceDetectFeatureEdgesFunctions.C b/meshLibrary/utilities/triSurfaceTools/triSurfaceDetectFeatureEdges/triSurfaceDetectFeatureEdgesFunctions.C
index 33a61cec..d2b4b782 100644
--- a/meshLibrary/utilities/triSurfaceTools/triSurfaceDetectFeatureEdges/triSurfaceDetectFeatureEdgesFunctions.C
+++ b/meshLibrary/utilities/triSurfaceTools/triSurfaceDetectFeatureEdges/triSurfaceDetectFeatureEdgesFunctions.C
@@ -33,10 +33,6 @@ License
 #include "demandDrivenData.H"
 #include "labelPair.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void
diff --git a/meshLibrary/utilities/triSurfaceTools/triSurfacePartitioner/triSurfacePartitionerCreateAddressing.C b/meshLibrary/utilities/triSurfaceTools/triSurfacePartitioner/triSurfacePartitionerCreateAddressing.C
index c7d83a5e..f79d7c3f 100644
--- a/meshLibrary/utilities/triSurfaceTools/triSurfacePartitioner/triSurfacePartitionerCreateAddressing.C
+++ b/meshLibrary/utilities/triSurfaceTools/triSurfacePartitioner/triSurfacePartitionerCreateAddressing.C
@@ -33,10 +33,6 @@ License
 #include "labelLongList.H"
 #include "boolList.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::triSurfacePartitioner::calculatePatchAddressing()
diff --git a/meshLibrary/utilities/triSurfaceTools/triSurfacePatchManipulator/triSurfacePatchManipulatorFunctions.C b/meshLibrary/utilities/triSurfaceTools/triSurfacePatchManipulator/triSurfacePatchManipulatorFunctions.C
index 834df845..9f44c962 100644
--- a/meshLibrary/utilities/triSurfaceTools/triSurfacePatchManipulator/triSurfacePatchManipulatorFunctions.C
+++ b/meshLibrary/utilities/triSurfaceTools/triSurfacePatchManipulator/triSurfacePatchManipulatorFunctions.C
@@ -32,10 +32,6 @@ License
 #include "helperFunctions.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
 void Foam::Module::triSurfacePatchManipulator::allocateFeatureEdges()
diff --git a/meshLibrary/voronoiMesh/voronoiMeshExtractor/voronoiMeshExtractorAddressing.C b/meshLibrary/voronoiMesh/voronoiMeshExtractor/voronoiMeshExtractorAddressing.C
index 354a77e5..73eb9b47 100644
--- a/meshLibrary/voronoiMesh/voronoiMeshExtractor/voronoiMeshExtractorAddressing.C
+++ b/meshLibrary/voronoiMesh/voronoiMeshExtractor/voronoiMeshExtractorAddressing.C
@@ -31,10 +31,6 @@ License
 #include "voronoiMeshExtractor.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGVoronoi
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/meshLibrary/voronoiMesh/voronoiMeshExtractor/voronoiMeshExtractorCreateMesh.C b/meshLibrary/voronoiMesh/voronoiMeshExtractor/voronoiMeshExtractorCreateMesh.C
index 41848edc..6b2646ef 100644
--- a/meshLibrary/voronoiMesh/voronoiMeshExtractor/voronoiMeshExtractorCreateMesh.C
+++ b/meshLibrary/voronoiMesh/voronoiMeshExtractor/voronoiMeshExtractorCreateMesh.C
@@ -33,10 +33,6 @@ Description
 #include "voronoiMeshExtractor.H"
 #include "demandDrivenData.H"
 
-# ifdef USE_OMP
-#include <omp.h>
-# endif
-
 //#define DEBUGVoronoi
 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-- 
GitLab