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:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user