mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Initial state after latest Foundation merge
This commit is contained in:
@ -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
|
||||
@ -66,15 +66,15 @@ int main(int argc, char *argv[])
|
||||
|
||||
const geometricSurfacePatchList& patches = surf.patches();
|
||||
|
||||
forAll(patches, patchI)
|
||||
forAll(patches, patchi)
|
||||
{
|
||||
const geometricSurfacePatch& pp = patches[patchI];
|
||||
const geometricSurfacePatch& pp = patches[patchi];
|
||||
|
||||
word patchName = pp.name();
|
||||
|
||||
if (patchName.empty())
|
||||
{
|
||||
patchName = "patch" + Foam::name(patchI);
|
||||
patchName = "patch" + Foam::name(patchi);
|
||||
}
|
||||
|
||||
fileName outFile(surfBase + '_' + patchName + '.' + extension);
|
||||
@ -86,13 +86,13 @@ int main(int argc, char *argv[])
|
||||
// Collect faces of region
|
||||
boolList includeMap(surf.size(), false);
|
||||
|
||||
forAll(surf, faceI)
|
||||
forAll(surf, facei)
|
||||
{
|
||||
const labelledTri& f = surf[faceI];
|
||||
const labelledTri& f = surf[facei];
|
||||
|
||||
if (f.region() == patchI)
|
||||
if (f.region() == patchi)
|
||||
{
|
||||
includeMap[faceI] = true;
|
||||
includeMap[facei] = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user