mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Initial state after latest Foundation merge
This commit is contained in:
@ -211,8 +211,8 @@ vectorField calcVertexNormals(const triSurface& surf)
|
||||
|
||||
forAll(pFaces, fI)
|
||||
{
|
||||
const label faceI = pFaces[fI];
|
||||
const triFace& f = surf[faceI];
|
||||
const label facei = pFaces[fI];
|
||||
const triFace& f = surf[facei];
|
||||
|
||||
vector fN = f.normal(points);
|
||||
|
||||
@ -378,7 +378,7 @@ triSurfacePointScalarField calcCurvature
|
||||
);
|
||||
|
||||
// Calculate weight
|
||||
// @todo Voronoi area weighting
|
||||
// TODO: Voronoi area weighting
|
||||
scalar weight = calcVertexNormalWeight
|
||||
(
|
||||
f,
|
||||
@ -755,9 +755,9 @@ surfaceFeatures::edgeStatus checkFlatRegionEdge
|
||||
DynamicList<Foam::vector> normals(2);
|
||||
DynamicList<labelList> bins(2);
|
||||
|
||||
forAll(eFaces, eFaceI)
|
||||
forAll(eFaces, eFacei)
|
||||
{
|
||||
const Foam::vector& n = surf.faceNormals()[eFaces[eFaceI]];
|
||||
const Foam::vector& n = surf.faceNormals()[eFaces[eFacei]];
|
||||
|
||||
// Find the normal in normals
|
||||
label index = -1;
|
||||
@ -772,7 +772,7 @@ surfaceFeatures::edgeStatus checkFlatRegionEdge
|
||||
|
||||
if (index != -1)
|
||||
{
|
||||
bins[index].append(eFaceI);
|
||||
bins[index].append(eFacei);
|
||||
}
|
||||
else if (normals.size() >= 2)
|
||||
{
|
||||
@ -786,7 +786,7 @@ surfaceFeatures::edgeStatus checkFlatRegionEdge
|
||||
else
|
||||
{
|
||||
normals.append(n);
|
||||
bins.append(labelList(1, eFaceI));
|
||||
bins.append(labelList(1, eFacei));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user