GIT: Initial state after latest Foundation merge

This commit is contained in:
Andrew Heather
2016-09-20 14:49:08 +01:00
4571 changed files with 115696 additions and 74609 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -73,13 +73,13 @@ int main(int argc, char *argv[])
label minIndex = -1;
scalar minDist = GREAT;
forAll(localPoints, pointI)
forAll(localPoints, pointi)
{
const scalar dist = mag(localPoints[pointI] - samplePt);
const scalar dist = mag(localPoints[pointi] - samplePt);
if (dist < minDist)
{
minDist = dist;
minIndex = pointI;
minIndex = pointi;
}
}
@ -99,15 +99,15 @@ int main(int argc, char *argv[])
minIndex = -1;
minDist = GREAT;
forAll(surf1, faceI)
forAll(surf1, facei)
{
const point centre = surf1[faceI].centre(points);
const point centre = surf1[facei].centre(points);
const scalar dist = mag(centre - samplePt);
if (dist < minDist)
{
minDist = dist;
minIndex = faceI;
minIndex = facei;
}
}