vector::zero -> Zero

This commit is contained in:
Henry Weller
2016-04-16 18:34:41 +01:00
parent 69e877a53a
commit 8c6fa81eba
273 changed files with 704 additions and 696 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -169,7 +169,7 @@ Foam::point Foam::triSurfaceMeshPointSet::getRefPoint(const List<point>& pts)
}
else
{
return vector::zero;
return Zero;
}
}

View File

@ -470,7 +470,7 @@ void Foam::isoSurface::calcCutTypes
// Caculate centre of surface.
Foam::point Foam::isoSurface::calcCentre(const triSurface& s)
{
vector sum = vector::zero;
vector sum = Zero;
forAll(s, i)
{
@ -510,7 +510,7 @@ void Foam::isoSurface::calcSnappedCc
localTriPoints.clear();
label nOther = 0;
point otherPointSum = vector::zero;
point otherPointSum = Zero;
// Create points for all intersections close to cell centre
// (i.e. from pyramid edges)
@ -696,7 +696,7 @@ void Foam::isoSurface::calcSnappedPoint
localTriPoints.clear();
label nOther = 0;
point otherPointSum = vector::zero;
point otherPointSum = Zero;
forAll(pFaces, pFaceI)
{

View File

@ -250,7 +250,7 @@ Foam::labelPair Foam::isoSurfaceCell::findCommonPoints
Foam::point Foam::isoSurfaceCell::calcCentre(const triSurface& s)
{
vector sum = vector::zero;
vector sum = Zero;
forAll(s, i)
{
@ -267,7 +267,7 @@ Foam::pointIndexHit Foam::isoSurfaceCell::collapseSurface
DynamicList<labelledTri, 64>& localTris
) const
{
pointIndexHit info(false, vector::zero, localTris.size());
pointIndexHit info(false, Zero, localTris.size());
if (localTris.size() == 1)
{