diff --git a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshCalcDualMesh.C b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshCalcDualMesh.C index d2c23eef51c8c066db1cf1ac04ff4007489a1445..025d530db6610cbea221814a3020ac3dbeb6f9e5 100644 --- a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshCalcDualMesh.C +++ b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshCalcDualMesh.C @@ -102,14 +102,14 @@ void Foam::conformalVoronoiMesh::calcDualMesh // ) // { // // Allow filtering if any vertices are far points. Otherwise faces -// // with boundary points attached to a cell with a far point will not -// // be filtered. +// // with boundary points attached to a cell with a far point will +// // not be filtered. // if // ( -// ( !(*cit)->vertex(0)->real() && !(*cit)->vertex(0)->farPoint() ) -// || ( !(*cit)->vertex(1)->real() && !(*cit)->vertex(1)->farPoint() ) -// || ( !(*cit)->vertex(2)->real() && !(*cit)->vertex(2)->farPoint() ) -// || ( !(*cit)->vertex(3)->real() && !(*cit)->vertex(3)->farPoint() ) +// (!(*cit)->vertex(0)->real() && !(*cit)->vertex(0)->farPoint()) +// || (!(*cit)->vertex(1)->real() && !(*cit)->vertex(1)->farPoint()) +// || (!(*cit)->vertex(2)->real() && !(*cit)->vertex(2)->farPoint()) +// || (!(*cit)->vertex(3)->real() && !(*cit)->vertex(3)->farPoint()) // ) // { // hasProcPt = true; diff --git a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshConformToSurface.C b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshConformToSurface.C index 925a19c099c057fa710b77bca13264838251740f..cf77b5e14a57d7ce88cb99c876242b463f379981 100644 --- a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshConformToSurface.C +++ b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshConformToSurface.C @@ -2048,7 +2048,8 @@ bool Foam::conformalVoronoiMesh::nearFeatureEdgeLocation //// { //// if (toRemove[pI] == false) //// { -//// newExistingEdgeLocations[count++] = existingEdgeLocations[pI]; +//// newExistingEdgeLocations[count++] = +//// existingEdgeLocations[pI]; //// } //// } //// diff --git a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePointSpecialisations.C b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePointSpecialisations.C index 644d82c96130f880433b385389a4b3f3bfeba823..4fee4a36e5cf5a8588a898ffae0a46d298fae58d 100644 --- a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePointSpecialisations.C +++ b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePointSpecialisations.C @@ -187,7 +187,8 @@ bool Foam::conformalVoronoiMesh::createSpecialisedFeaturePoint ); // Todo,needed later but want to get rid of this. - const Foam::point concaveEdgeLocalFeatPt = featPt + ppDist*concaveEdgeDir; + const Foam::point concaveEdgeLocalFeatPt = + featPt + ppDist*concaveEdgeDir; // Finding the nearest point on the intersecting line to the edge // point. Floating point errors often occur using planePlaneIntersect @@ -377,9 +378,9 @@ bool Foam::conformalVoronoiMesh::createSpecialisedFeaturePoint // Add additional mitering points //scalar angleSign = 1.0; - Info<<convexEdgePlaneCNormal << " " <<convexEdgePlaneDNormal << endl; - vector convexEdgesPlaneNormal = 0.5*(convexEdgePlaneCNormal + convexEdgePlaneDNormal); + vector convexEdgesPlaneNormal = + 0.5*(convexEdgePlaneCNormal + convexEdgePlaneDNormal); plane planeM(featPt, convexEdgesPlaneNormal); // if diff --git a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePoints.C b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePoints.C index cb2a0c9340c3bd5c88c13c794c28f2c459400ff2..a9b2c6c1cde0824133fdb16433d1eabf0df67dc6 100644 --- a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePoints.C +++ b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePoints.C @@ -773,8 +773,11 @@ void Foam::conformalVoronoiMesh::createMixedFeaturePoints // // const scalar searchRadiusSqr = 5.0*targetCellSize(featPt); // -// labelList indices = -// surfacePtLocationTreePtr_().findSphere(featPt, searchRadiusSqr); +// labelList indices = surfacePtLocationTreePtr_().findSphere +// ( +// featPt, +// searchRadiusSqr +// ); // // pointField nearestSurfacePoints(indices.size()); //