diff --git a/README b/README index 329483abb77f6d042e8fb63e3ee280be9cea65ac..720af758ab28c76c8c9b2b5de7bb87f98fbc700f 100644 --- a/README +++ b/README @@ -2,8 +2,8 @@ # #+TITLE: *cfMesh README* #+AUTHOR: Franjo Juretic. -#+DATE: May 2015 -#+LINK: http://www.c-fields.com +#+DATE: October 2016 +#+LINK: http://www.cfmesh.com #+OPTIONS: cfMesh is a library for mesh generation built on OpenFOAM. diff --git a/executables/cartesian2DMesh/Make/options b/executables/cartesian2DMesh/Make/options index 5d57ec4d50a4f29e77445c8b7597b7a43ee2387d..cea018a7d2dfecf7f484eef74a70713884565033 100644 --- a/executables/cartesian2DMesh/Make/options +++ b/executables/cartesian2DMesh/Make/options @@ -1,10 +1,15 @@ ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT))) - CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION))) CFMESH_MACROS = -DNoSizeType else CFMESH_MACROS = endif + + ifeq (OpenFOAM-dev,$(findstring OpenFOAM-dev,$(WM_PROJECT_DIR))) + CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume + else + CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh + endif endif ifeq ($(WM_PROJECT), foam) diff --git a/executables/cartesianMesh/Make/options b/executables/cartesianMesh/Make/options index 5d57ec4d50a4f29e77445c8b7597b7a43ee2387d..cea018a7d2dfecf7f484eef74a70713884565033 100644 --- a/executables/cartesianMesh/Make/options +++ b/executables/cartesianMesh/Make/options @@ -1,10 +1,15 @@ ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT))) - CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION))) CFMESH_MACROS = -DNoSizeType else CFMESH_MACROS = endif + + ifeq (OpenFOAM-dev,$(findstring OpenFOAM-dev,$(WM_PROJECT_DIR))) + CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume + else + CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh + endif endif ifeq ($(WM_PROJECT), foam) diff --git a/executables/pMesh/Make/options b/executables/pMesh/Make/options index 5d57ec4d50a4f29e77445c8b7597b7a43ee2387d..cea018a7d2dfecf7f484eef74a70713884565033 100755 --- a/executables/pMesh/Make/options +++ b/executables/pMesh/Make/options @@ -1,10 +1,15 @@ ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT))) - CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION))) CFMESH_MACROS = -DNoSizeType else CFMESH_MACROS = endif + + ifeq (OpenFOAM-dev,$(findstring OpenFOAM-dev,$(WM_PROJECT_DIR))) + CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume + else + CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh + endif endif ifeq ($(WM_PROJECT), foam) diff --git a/executables/tetMesh/Make/options b/executables/tetMesh/Make/options index 5d57ec4d50a4f29e77445c8b7597b7a43ee2387d..cea018a7d2dfecf7f484eef74a70713884565033 100644 --- a/executables/tetMesh/Make/options +++ b/executables/tetMesh/Make/options @@ -1,10 +1,15 @@ ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT))) - CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION))) CFMESH_MACROS = -DNoSizeType else CFMESH_MACROS = endif + + ifeq (OpenFOAM-dev,$(findstring OpenFOAM-dev,$(WM_PROJECT_DIR))) + CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume + else + CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh + endif endif ifeq ($(WM_PROJECT), foam) diff --git a/meshLibrary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.C b/meshLibrary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.C index 86692a6bcf2d8a849917cc228cf8114aca8fc52b..9708b64bce8a2369f57ce89659df9f056ab57571 100644 --- a/meshLibrary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.C +++ b/meshLibrary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.C @@ -374,7 +374,7 @@ void extrudeLayer::createNewVertices() OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), globalLabels.byteSize() ); @@ -390,7 +390,7 @@ void extrudeLayer::createNewVertices() labelList receivedData; IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); diff --git a/meshLibrary/utilities/boundaryLayers/refineBoundaryLayers/refineBoundaryLayersFaces.C b/meshLibrary/utilities/boundaryLayers/refineBoundaryLayers/refineBoundaryLayersFaces.C index 40cf3a866411abc15e3dffe87ee6f4fcddf5631e..b855808025391e8cc05566466b6b101fb35fc246 100644 --- a/meshLibrary/utilities/boundaryLayers/refineBoundaryLayers/refineBoundaryLayersFaces.C +++ b/meshLibrary/utilities/boundaryLayers/refineBoundaryLayers/refineBoundaryLayersFaces.C @@ -1049,7 +1049,7 @@ void refineBoundaryLayers::generateNewFaces() OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), sendData.byteSize() ); @@ -1065,7 +1065,7 @@ void refineBoundaryLayers::generateNewFaces() IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); diff --git a/meshLibrary/utilities/decomposeCells/decomposeCellsDecomposition.C b/meshLibrary/utilities/decomposeCells/decomposeCellsDecomposition.C index df4ed32dc437c1346ac6b325e0b2500e793c61fb..8ba5fc0786fec5eb2c2d0232dc47d7a2fc94fbce 100644 --- a/meshLibrary/utilities/decomposeCells/decomposeCellsDecomposition.C +++ b/meshLibrary/utilities/decomposeCells/decomposeCellsDecomposition.C @@ -117,7 +117,7 @@ void decomposeCells::checkFaceConnections(const boolList& decomposeCell) OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), decFace.byteSize() ); @@ -132,7 +132,7 @@ void decomposeCells::checkFaceConnections(const boolList& decomposeCell) IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); diff --git a/meshLibrary/utilities/helperFunctions/helperFunctionsPar.C b/meshLibrary/utilities/helperFunctions/helperFunctionsPar.C index 5ba966482271e920719a313e247bdcffc1e2b5bd..6e0546597bc2b8bfb9c93137ccc6aa37a389043e 100644 --- a/meshLibrary/utilities/helperFunctions/helperFunctionsPar.C +++ b/meshLibrary/utilities/helperFunctions/helperFunctionsPar.C @@ -79,7 +79,7 @@ void whisperReduce(const ListType& neis, const scatterOp& sop, gatherOp& gop) { //- receive the data List receivedData; - IPstream fromOtherProc(Pstream::blocking, above[aboveI]); + IPstream fromOtherProc(UPstream::commsTypes::blocking, above[aboveI]); fromOtherProc >> receivedData; gop(receivedData); @@ -94,7 +94,7 @@ void whisperReduce(const ListType& neis, const scatterOp& sop, gatherOp& gop) sop(dts); //- send the data - OPstream toOtherProc(Pstream::blocking, neiProc, dts.byteSize()); + OPstream toOtherProc(UPstream::commsTypes::blocking, neiProc, dts.byteSize()); toOtherProc << dts; } @@ -104,7 +104,7 @@ void whisperReduce(const ListType& neis, const scatterOp& sop, gatherOp& gop) { //- receive the data List receivedData; - IPstream fromOtherProc(Pstream::blocking, below[belowI]); + IPstream fromOtherProc(UPstream::commsTypes::blocking, below[belowI]); fromOtherProc >> receivedData; gop(receivedData); @@ -119,7 +119,7 @@ void whisperReduce(const ListType& neis, const scatterOp& sop, gatherOp& gop) sop(dts); //- send the data - OPstream toOtherProc(Pstream::blocking, neiProc, dts.byteSize()); + OPstream toOtherProc(UPstream::commsTypes::blocking, neiProc, dts.byteSize()); toOtherProc << dts; } } @@ -143,14 +143,14 @@ void exchangeMap labelHashSet receiveData; for(iter=m.begin();iter!=m.end();++iter) { - OPstream toOtherProc(Pstream::blocking, iter->first, sizeof(label)); + OPstream toOtherProc(UPstream::commsTypes::blocking, iter->first, sizeof(label)); toOtherProc << iter->second.size(); } for(iter=m.begin();iter!=m.end();++iter) { - IPstream fromOtherProc(Pstream::blocking, iter->first, sizeof(label)); + IPstream fromOtherProc(UPstream::commsTypes::blocking, iter->first, sizeof(label)); label s; fromOtherProc >> s; @@ -159,7 +159,7 @@ void exchangeMap receiveData.insert(iter->first); } - if( commsType == Pstream::blocking ) + if( commsType == UPstream::commsTypes::blocking ) { //- start with blocking type of send and received operation @@ -173,7 +173,7 @@ void exchangeMap OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, iter->first, dts.byteSize() ); @@ -186,11 +186,11 @@ void exchangeMap if( !receiveData.found(iter->first) ) continue; - IPstream fromOtherProc(Pstream::blocking, iter->first); + IPstream fromOtherProc(UPstream::commsTypes::blocking, iter->first); data.appendFromStream(fromOtherProc); } } - else if( commsType == Pstream::scheduled ) + else if( commsType == UPstream::commsTypes::scheduled ) { //- start with scheduled data transfer //- this type of transfer is intended for long messages because @@ -205,7 +205,7 @@ void exchangeMap continue; //List receive; - IPstream fromOtherProc(Pstream::scheduled, iter->first); + IPstream fromOtherProc(UPstream::commsTypes::scheduled, iter->first); //fromOtherProc >> receive; data.appendFromStream(fromOtherProc); @@ -226,7 +226,7 @@ void exchangeMap OPstream toOtherProc ( - Pstream::scheduled, + UPstream::commsTypes::scheduled, iter->first, dts.byteSize() ); @@ -243,7 +243,7 @@ void exchangeMap if( !receiveData.found(riter->first) ) continue; - IPstream fromOtherProc(Pstream::scheduled, riter->first); + IPstream fromOtherProc(UPstream::commsTypes::scheduled, riter->first); //List receive; //fromOtherProc >> receive; data.appendFromStream(fromOtherProc); @@ -265,7 +265,7 @@ void exchangeMap OPstream toOtherProc ( - Pstream::scheduled, + UPstream::commsTypes::scheduled, riter->first, dts.byteSize() ); @@ -317,7 +317,7 @@ void exchangeMap OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, iter->first, dataToSend.byteSize() ); @@ -330,7 +330,7 @@ void exchangeMap mOut.insert(std::make_pair(iter->first, List())); List& dataToReceive = mOut[iter->first]; - IPstream fromOtherProc(Pstream::blocking, iter->first); + IPstream fromOtherProc(UPstream::commsTypes::blocking, iter->first); fromOtherProc >> dataToReceive; } } diff --git a/meshLibrary/utilities/helperFunctions/helperFunctionsPar.H b/meshLibrary/utilities/helperFunctions/helperFunctionsPar.H index e2b89119c16c2234f2c3a5fc6573d9a346126b51..4748c73e0c0dc2e6189c423428883fa5f4e89557 100644 --- a/meshLibrary/utilities/helperFunctions/helperFunctionsPar.H +++ b/meshLibrary/utilities/helperFunctions/helperFunctionsPar.H @@ -65,7 +65,7 @@ void exchangeMap ( const std::map&, LongList&, - const Pstream::commsTypes commsType = Pstream::blocking + const UPstream::commsTypes commsType = UPstream::commsTypes::blocking ); //- sends the data stored in a map to other processors and receives the data diff --git a/meshLibrary/utilities/meshes/partTetMesh/partTetMesh.C b/meshLibrary/utilities/meshes/partTetMesh/partTetMesh.C index c82d95f645d08b44775df3525333519c47c1a752..b36560e620fe3655fa587117aa72c2a9bde9d9e0 100644 --- a/meshLibrary/utilities/meshes/partTetMesh/partTetMesh.C +++ b/meshLibrary/utilities/meshes/partTetMesh/partTetMesh.C @@ -591,7 +591,7 @@ void partTetMesh::updateOrigMesh(boolList* changedFacePtr) OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, pBnd[patchI].neiProcNo(), sendData.byteSize() ); @@ -605,7 +605,7 @@ void partTetMesh::updateOrigMesh(boolList* changedFacePtr) IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, pBnd[patchI].neiProcNo() ); diff --git a/meshLibrary/utilities/meshes/partTetMesh/partTetMeshAddressing.C b/meshLibrary/utilities/meshes/partTetMesh/partTetMeshAddressing.C index 97c5e5a2ca09d91645892fd8fc5c2a2f1cc435b3..3c58b071f9ec64255e96b518bef5c89406878a93 100644 --- a/meshLibrary/utilities/meshes/partTetMesh/partTetMeshAddressing.C +++ b/meshLibrary/utilities/meshes/partTetMesh/partTetMeshAddressing.C @@ -88,7 +88,7 @@ void partTetMesh::createPointsAndTets OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), dataToSend.byteSize() ); @@ -103,7 +103,7 @@ void partTetMesh::createPointsAndTets IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); diff --git a/meshLibrary/utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingParallelAddressing.C b/meshLibrary/utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingParallelAddressing.C index 4618d55ed3f9c4f8d395fbe5c61eceea9f222df5..eec105dab5d6d26ca30af334a5504c5d2ca78c90 100644 --- a/meshLibrary/utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingParallelAddressing.C +++ b/meshLibrary/utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingParallelAddressing.C @@ -131,7 +131,7 @@ void polyMeshGenAddressing::calcGlobalPointLabels() const OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), dataToSend.byteSize() ); @@ -142,7 +142,7 @@ void polyMeshGenAddressing::calcGlobalPointLabels() const { IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); labelList receivedData; @@ -236,7 +236,7 @@ void polyMeshGenAddressing::calcGlobalPointLabels() const OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), dataToSend.byteSize() ); @@ -247,7 +247,7 @@ void polyMeshGenAddressing::calcGlobalPointLabels() const { IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); labelList receivedData; @@ -344,7 +344,7 @@ void polyMeshGenAddressing::calcGlobalFaceLabels() const OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), dataToSend.byteSize() ); @@ -358,7 +358,7 @@ void polyMeshGenAddressing::calcGlobalFaceLabels() const { IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); @@ -529,7 +529,7 @@ void polyMeshGenAddressing::calcGlobalEdgeLabels() const OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), dataToSend.byteSize() ); @@ -540,7 +540,7 @@ void polyMeshGenAddressing::calcGlobalEdgeLabels() const { IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); labelList receivedData; @@ -642,7 +642,7 @@ void polyMeshGenAddressing::calcGlobalEdgeLabels() const OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), dataToSend.byteSize() ); @@ -653,7 +653,7 @@ void polyMeshGenAddressing::calcGlobalEdgeLabels() const { IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); labelList receivedData; diff --git a/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C b/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C index d260baa3058eb9b7ecd4a396b8cfc7cd8b05af59..13b64ce45f266fe71d49b9b9e93c4491825a2601 100644 --- a/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C +++ b/meshLibrary/utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C @@ -1566,7 +1566,7 @@ bool checkCellPartTetrahedra OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBnd[patchI].neiProcNo(), sendData.byteSize() ); @@ -1580,7 +1580,7 @@ bool checkCellPartTetrahedra IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBnd[patchI].neiProcNo() ); @@ -1667,7 +1667,7 @@ void checkFaceDotProduct OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), cCentres.byteSize() ); @@ -1680,7 +1680,7 @@ void checkFaceDotProduct vectorField otherCentres; IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); @@ -2076,7 +2076,7 @@ bool checkFacePyramids OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), markedFaces.byteSize() ); @@ -2089,7 +2089,7 @@ bool checkFacePyramids labelList receivedData; IPstream fromOtheProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); fromOtheProc >> receivedData; @@ -2179,7 +2179,7 @@ void checkFaceSkewness OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), cCentres.byteSize() ); @@ -2194,7 +2194,7 @@ void checkFaceSkewness vectorField otherCentres; IPstream fromOtheProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); @@ -2421,7 +2421,7 @@ void checkFaceUniformity OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), dst.byteSize() ); @@ -2436,7 +2436,7 @@ void checkFaceUniformity scalarField otherDst; IPstream fromOtheProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); @@ -2885,7 +2885,7 @@ bool checkFaceFlatness { OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), sizeof(label) ); @@ -2898,7 +2898,7 @@ bool checkFaceFlatness { IPstream fromOtheProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), sizeof(label) ); @@ -2914,7 +2914,7 @@ bool checkFaceFlatness OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), markedFaces[patchI].byteSize() ); @@ -2930,7 +2930,7 @@ bool checkFaceFlatness labelList receivedData; IPstream fromOtheProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), nMarkedOnOtherProcs[patchI]*sizeof(label) ); diff --git a/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.C b/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.C index 13f28d50dbbdc6a91852f4e5ffeed27ac8c2f7c9..29659092e68a48ebcb60c37dcd400b760628fa16 100644 --- a/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.C +++ b/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.C @@ -87,7 +87,7 @@ void polyMeshGenModifier::addBufferCells() OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); @@ -100,7 +100,7 @@ void polyMeshGenModifier::addBufferCells() List receivedPoints; IPstream fromOtherProc ( - IPstream::blocking, + UIPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); @@ -154,7 +154,7 @@ void polyMeshGenModifier::addBufferCells() OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); @@ -171,7 +171,7 @@ void polyMeshGenModifier::addBufferCells() IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); diff --git a/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveFaces.C b/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveFaces.C index 89a5487ac6c1d0a6ac1ebda87f52c63a82328a78..91a12b1182254af6da52fd5eae84f60bb32e3c71 100644 --- a/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveFaces.C +++ b/meshLibrary/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierRemoveFaces.C @@ -126,7 +126,7 @@ void polyMeshGenModifier::removeFaces(const boolList& removeFace) OPstream toOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo(), removeProcFace.byteSize() ); @@ -142,7 +142,7 @@ void polyMeshGenModifier::removeFaces(const boolList& removeFace) boolList removeOtherProcFace; IPstream fromOtherProc ( - Pstream::blocking, + UPstream::commsTypes::blocking, procBoundaries[patchI].neiProcNo() ); fromOtherProc >> removeOtherProcFace; diff --git a/meshLibrary/utilities/meshes/primitives/meshSubsets/meshSubsetI.H b/meshLibrary/utilities/meshes/primitives/meshSubsets/meshSubsetI.H index 184ce372c24fab9a3efa0d4cece7fb9392d7bc98..d9df2890001ba1f25bed1146bc43add5f0d84315 100644 --- a/meshLibrary/utilities/meshes/primitives/meshSubsets/meshSubsetI.H +++ b/meshLibrary/utilities/meshes/primitives/meshSubsets/meshSubsetI.H @@ -170,7 +170,7 @@ inline bool meshSubset::operator==(const meshSubset& ms) const { if( ms.name_ != name_ ) return false; - if( ms.type_ != ms.type_ ) + if( ms.type_ != type_ ) return false; forAllConstIter(std::set