mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: cvMesh: fix line lengths
This commit is contained in:
@ -102,14 +102,14 @@ void Foam::conformalVoronoiMesh::calcDualMesh
|
|||||||
// )
|
// )
|
||||||
// {
|
// {
|
||||||
// // Allow filtering if any vertices are far points. Otherwise faces
|
// // Allow filtering if any vertices are far points. Otherwise faces
|
||||||
// // with boundary points attached to a cell with a far point will not
|
// // with boundary points attached to a cell with a far point will
|
||||||
// // be filtered.
|
// // not be filtered.
|
||||||
// if
|
// if
|
||||||
// (
|
// (
|
||||||
// ( !(*cit)->vertex(0)->real() && !(*cit)->vertex(0)->farPoint() )
|
// (!(*cit)->vertex(0)->real() && !(*cit)->vertex(0)->farPoint())
|
||||||
// || ( !(*cit)->vertex(1)->real() && !(*cit)->vertex(1)->farPoint() )
|
// || (!(*cit)->vertex(1)->real() && !(*cit)->vertex(1)->farPoint())
|
||||||
// || ( !(*cit)->vertex(2)->real() && !(*cit)->vertex(2)->farPoint() )
|
// || (!(*cit)->vertex(2)->real() && !(*cit)->vertex(2)->farPoint())
|
||||||
// || ( !(*cit)->vertex(3)->real() && !(*cit)->vertex(3)->farPoint() )
|
// || (!(*cit)->vertex(3)->real() && !(*cit)->vertex(3)->farPoint())
|
||||||
// )
|
// )
|
||||||
// {
|
// {
|
||||||
// hasProcPt = true;
|
// hasProcPt = true;
|
||||||
|
|||||||
@ -2048,7 +2048,8 @@ bool Foam::conformalVoronoiMesh::nearFeatureEdgeLocation
|
|||||||
//// {
|
//// {
|
||||||
//// if (toRemove[pI] == false)
|
//// if (toRemove[pI] == false)
|
||||||
//// {
|
//// {
|
||||||
//// newExistingEdgeLocations[count++] = existingEdgeLocations[pI];
|
//// newExistingEdgeLocations[count++] =
|
||||||
|
//// existingEdgeLocations[pI];
|
||||||
//// }
|
//// }
|
||||||
//// }
|
//// }
|
||||||
////
|
////
|
||||||
|
|||||||
@ -187,7 +187,8 @@ bool Foam::conformalVoronoiMesh::createSpecialisedFeaturePoint
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Todo,needed later but want to get rid of this.
|
// 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
|
// Finding the nearest point on the intersecting line to the edge
|
||||||
// point. Floating point errors often occur using planePlaneIntersect
|
// point. Floating point errors often occur using planePlaneIntersect
|
||||||
@ -377,9 +378,9 @@ bool Foam::conformalVoronoiMesh::createSpecialisedFeaturePoint
|
|||||||
// Add additional mitering points
|
// Add additional mitering points
|
||||||
//scalar angleSign = 1.0;
|
//scalar angleSign = 1.0;
|
||||||
|
|
||||||
Info<<convexEdgePlaneCNormal << " " <<convexEdgePlaneDNormal << endl;
|
|
||||||
|
|
||||||
vector convexEdgesPlaneNormal = 0.5*(convexEdgePlaneCNormal + convexEdgePlaneDNormal);
|
vector convexEdgesPlaneNormal =
|
||||||
|
0.5*(convexEdgePlaneCNormal + convexEdgePlaneDNormal);
|
||||||
plane planeM(featPt, convexEdgesPlaneNormal);
|
plane planeM(featPt, convexEdgesPlaneNormal);
|
||||||
|
|
||||||
// if
|
// if
|
||||||
|
|||||||
@ -773,8 +773,11 @@ void Foam::conformalVoronoiMesh::createMixedFeaturePoints
|
|||||||
//
|
//
|
||||||
// const scalar searchRadiusSqr = 5.0*targetCellSize(featPt);
|
// const scalar searchRadiusSqr = 5.0*targetCellSize(featPt);
|
||||||
//
|
//
|
||||||
// labelList indices =
|
// labelList indices = surfacePtLocationTreePtr_().findSphere
|
||||||
// surfacePtLocationTreePtr_().findSphere(featPt, searchRadiusSqr);
|
// (
|
||||||
|
// featPt,
|
||||||
|
// searchRadiusSqr
|
||||||
|
// );
|
||||||
//
|
//
|
||||||
// pointField nearestSurfacePoints(indices.size());
|
// pointField nearestSurfacePoints(indices.size());
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user