mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: cvMesh: Reset the initial value of keepSurfacePoint within the loop
This commit is contained in:
@ -2212,13 +2212,13 @@ void Foam::conformalVoronoiMesh::addSurfaceAndEdgeHits
|
|||||||
DynamicList<Foam::point>& existingSurfacePtLocations
|
DynamicList<Foam::point>& existingSurfacePtLocations
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
bool keepSurfacePoint = true;
|
|
||||||
|
|
||||||
const scalar cellSize = targetCellSize(vert);
|
const scalar cellSize = targetCellSize(vert);
|
||||||
const scalar cellSizeSqr = sqr(cellSize);
|
const scalar cellSizeSqr = sqr(cellSize);
|
||||||
|
|
||||||
forAll(surfHit, sI)
|
forAll(surfHit, sI)
|
||||||
{
|
{
|
||||||
|
bool keepSurfacePoint = true;
|
||||||
|
|
||||||
pointIndexHit surfHitI = surfHit[sI];
|
pointIndexHit surfHitI = surfHit[sI];
|
||||||
label hitSurfaceI = hitSurface[sI];
|
label hitSurfaceI = hitSurface[sI];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user