diff --git a/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C b/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C index 65d62f4b67..9b5c2cb8f7 100644 --- a/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C +++ b/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C @@ -56,6 +56,7 @@ Note #include "Time.H" #include "polyMesh.H" #include "triSurface.H" +#include "PackedBoolList.H" #include "MeshedSurfaces.H" #include "UnsortedMeshedSurfaces.H" @@ -115,7 +116,7 @@ int main(int argc, char *argv[]) if (args.options().found("orient")) { Info<< "Checking surface orientation" << endl; - surf.checkOrientation(true); + PatchTools::checkOrientation(surf, true); Info<< endl; } @@ -154,7 +155,7 @@ int main(int argc, char *argv[]) if (args.options().found("orient")) { Info<< "Checking surface orientation" << endl; - surf.checkOrientation(true); + PatchTools::checkOrientation(surf, true); Info<< endl; } @@ -192,7 +193,7 @@ int main(int argc, char *argv[]) if (args.options().found("orient")) { Info<< "Checking surface orientation" << endl; - surf.checkOrientation(true); + PatchTools::checkOrientation(surf, true); Info<< endl; } @@ -230,7 +231,7 @@ int main(int argc, char *argv[]) if (args.options().found("orient")) { Info<< "Checking surface orientation" << endl; - surf.checkOrientation(true); + PatchTools::checkOrientation(surf, true); Info<< endl; } diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H index 5b349a4a75..8bd2bff42f 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H @@ -60,8 +60,6 @@ SourceFiles namespace Foam { -class patchZones; - /*---------------------------------------------------------------------------*\ Class cyclicPolyPatch Declaration \*---------------------------------------------------------------------------*/ diff --git a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatch.C b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatch.C index 2b05c73ae8..6be9ef348b 100644 --- a/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatch.C +++ b/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatch.C @@ -26,11 +26,6 @@ License #include "Map.H" -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // Construct from components @@ -41,7 +36,9 @@ template class PointField, class PointType > -PrimitivePatch::PrimitivePatch + +Foam::PrimitivePatch:: +PrimitivePatch ( const FaceList& faces, const Field& points @@ -76,7 +73,9 @@ template class PointField, class PointType > -PrimitivePatch::PrimitivePatch + +Foam::PrimitivePatch:: +PrimitivePatch ( FaceList& faces, Field& points, @@ -112,7 +111,9 @@ template class PointField, class PointType > -PrimitivePatch::PrimitivePatch + +Foam::PrimitivePatch:: +PrimitivePatch ( const PrimitivePatch& pp ) @@ -148,7 +149,8 @@ template class PointField, class PointType > -PrimitivePatch::~PrimitivePatch() + +Foam::PrimitivePatch::~PrimitivePatch() { clearOut(); } @@ -164,7 +166,10 @@ template class PointField, class PointType > -void PrimitivePatch::movePoints + +void +Foam::PrimitivePatch:: +movePoints ( const Field& ) @@ -188,8 +193,10 @@ template class PointField, class PointType > -const edgeList& -PrimitivePatch::edges() const + +const Foam::edgeList& +Foam::PrimitivePatch:: +edges() const { if (!edgesPtr_) { @@ -207,8 +214,10 @@ template class PointField, class PointType > -label PrimitivePatch::nInternalEdges() - const + +Foam::label +Foam::PrimitivePatch:: +nInternalEdges() const { if (!edgesPtr_) { @@ -226,8 +235,10 @@ template class PointField, class PointType > -const labelList& -PrimitivePatch::boundaryPoints() const + +const Foam::labelList& +Foam::PrimitivePatch:: +boundaryPoints() const { if (!boundaryPointsPtr_) { @@ -245,8 +256,10 @@ template class PointField, class PointType > -const labelListList& -PrimitivePatch::faceFaces() const + +const Foam::labelListList& +Foam::PrimitivePatch:: +faceFaces() const { if (!faceFacesPtr_) { @@ -264,8 +277,10 @@ template class PointField, class PointType > -const labelListList& -PrimitivePatch::edgeFaces() const + +const Foam::labelListList& +Foam::PrimitivePatch:: +edgeFaces() const { if (!edgeFacesPtr_) { @@ -283,8 +298,10 @@ template class PointField, class PointType > -const labelListList& -PrimitivePatch::faceEdges() const + +const Foam::labelListList& +Foam::PrimitivePatch:: +faceEdges() const { if (!faceEdgesPtr_) { @@ -302,8 +319,10 @@ template class PointField, class PointType > -const labelListList& -PrimitivePatch::pointEdges() const + +const Foam::labelListList& +Foam::PrimitivePatch:: +pointEdges() const { if (!pointEdgesPtr_) { @@ -321,8 +340,10 @@ template class PointField, class PointType > -const labelListList& -PrimitivePatch::pointFaces() const + +const Foam::labelListList& +Foam::PrimitivePatch:: +pointFaces() const { if (!pointFacesPtr_) { @@ -340,8 +361,10 @@ template class PointField, class PointType > -const List& -PrimitivePatch::localFaces() const + +const Foam::List& +Foam::PrimitivePatch:: +localFaces() const { if (!localFacesPtr_) { @@ -359,8 +382,10 @@ template class PointField, class PointType > -const labelList& -PrimitivePatch::meshPoints() const + +const Foam::labelList& +Foam::PrimitivePatch:: +meshPoints() const { if (!meshPointsPtr_) { @@ -378,8 +403,10 @@ template class PointField, class PointType > -const Map