mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
vector::zero -> Zero
This commit is contained in:
@ -1677,7 +1677,7 @@ Foam::pointIndexHit Foam::dynamicIndexedOctree<Type>::findLine
|
||||
if ((startBit & endBit) != 0)
|
||||
{
|
||||
// Both start and end outside domain and in same block.
|
||||
return pointIndexHit(false, vector::zero, -1);
|
||||
return pointIndexHit(false, Zero, -1);
|
||||
}
|
||||
|
||||
|
||||
@ -1691,7 +1691,7 @@ Foam::pointIndexHit Foam::dynamicIndexedOctree<Type>::findLine
|
||||
// Track start to inside domain.
|
||||
if (!treeBb.intersects(start, end, trackStart))
|
||||
{
|
||||
return pointIndexHit(false, vector::zero, -1);
|
||||
return pointIndexHit(false, Zero, -1);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1700,7 +1700,7 @@ Foam::pointIndexHit Foam::dynamicIndexedOctree<Type>::findLine
|
||||
// Track end to inside domain.
|
||||
if (!treeBb.intersects(end, trackStart, trackEnd))
|
||||
{
|
||||
return pointIndexHit(false, vector::zero, -1);
|
||||
return pointIndexHit(false, Zero, -1);
|
||||
}
|
||||
}
|
||||
|
||||
@ -2129,7 +2129,7 @@ Foam::pointIndexHit Foam::dynamicIndexedOctree<Type>::findNearest
|
||||
{
|
||||
scalar nearestDistSqr = startDistSqr;
|
||||
label nearestShapeI = -1;
|
||||
point nearestPoint = vector::zero;
|
||||
point nearestPoint = Zero;
|
||||
|
||||
if (nodes_.size())
|
||||
{
|
||||
@ -2174,7 +2174,7 @@ Foam::pointIndexHit Foam::dynamicIndexedOctree<Type>::findNearest
|
||||
}
|
||||
else
|
||||
{
|
||||
nearestPoint = vector::zero;
|
||||
nearestPoint = Zero;
|
||||
}
|
||||
|
||||
return pointIndexHit(nearestShapeI != -1, nearestPoint, nearestShapeI);
|
||||
|
||||
Reference in New Issue
Block a user